Upload
Browse files- .gitattributes +1 -0
- GoNotoCurrent.ttf +3 -0
- config.json +55 -0
- pytorch_model.bin +3 -0
- text_renderer_config.json +129 -0
.gitattributes
CHANGED
@@ -25,3 +25,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.ttf filter=lfs diff=lfs merge=lfs -text
|
GoNotoCurrent.ttf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83ab5c39e2b1c34a955136275ce0db068cb20d9643ead033d6b8124a73ab4f64
|
3 |
+
size 15645492
|
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Team-PIXEL/pixel-base",
|
3 |
+
"architectures": [
|
4 |
+
"PIXELForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"decoder_hidden_size": 512,
|
8 |
+
"decoder_intermediate_size": 2048,
|
9 |
+
"decoder_num_attention_heads": 16,
|
10 |
+
"decoder_num_hidden_layers": 8,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "O",
|
16 |
+
"1": "B-DATE",
|
17 |
+
"2": "I-DATE",
|
18 |
+
"3": "B-PER",
|
19 |
+
"4": "I-PER",
|
20 |
+
"5": "B-ORG",
|
21 |
+
"6": "I-ORG",
|
22 |
+
"7": "B-LOC",
|
23 |
+
"8": "I-LOC"
|
24 |
+
},
|
25 |
+
"image_size": [
|
26 |
+
16,
|
27 |
+
3136
|
28 |
+
],
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 3072,
|
31 |
+
"interpolate_pos_encoding": false,
|
32 |
+
"label2id": {
|
33 |
+
"B-DATE": 1,
|
34 |
+
"B-LOC": 7,
|
35 |
+
"B-ORG": 5,
|
36 |
+
"B-PER": 3,
|
37 |
+
"I-DATE": 2,
|
38 |
+
"I-LOC": 8,
|
39 |
+
"I-ORG": 6,
|
40 |
+
"I-PER": 4,
|
41 |
+
"O": 0
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"mask_ratio": 0.25,
|
45 |
+
"model_type": "pixel",
|
46 |
+
"norm_pix_loss": true,
|
47 |
+
"num_attention_heads": 12,
|
48 |
+
"num_channels": 3,
|
49 |
+
"num_hidden_layers": 12,
|
50 |
+
"pad_token_id": -100,
|
51 |
+
"patch_size": 16,
|
52 |
+
"qkv_bias": true,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.17.0"
|
55 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c768447a0cd2b5a7b3aab2c36ce0780583fba31df233b1f21acd1798da188f79
|
3 |
+
size 343302321
|
text_renderer_config.json
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"background_color": "white",
|
3 |
+
"dpi": 120,
|
4 |
+
"font_color": "black",
|
5 |
+
"font_file": "GoNotoCurrent.ttf",
|
6 |
+
"font_size": 8,
|
7 |
+
"fonts_list": [
|
8 |
+
"Apple Color Emoji",
|
9 |
+
"C059",
|
10 |
+
"D050000L",
|
11 |
+
"DejaVu Sans",
|
12 |
+
"Go Noto Africa Middle East",
|
13 |
+
"Go Noto Ancient",
|
14 |
+
"Go Noto Asia Historical",
|
15 |
+
"Go Noto Current",
|
16 |
+
"Go Noto East Asia",
|
17 |
+
"Go Noto Europe Americas",
|
18 |
+
"Go Noto South Asia",
|
19 |
+
"Go Noto South East Asia",
|
20 |
+
"Inconsolata",
|
21 |
+
"Monospace",
|
22 |
+
"Nimbus Mono PS",
|
23 |
+
"Nimbus Roman",
|
24 |
+
"Nimbus Sans",
|
25 |
+
"Nimbus Sans Narrow",
|
26 |
+
"Noto Emoji",
|
27 |
+
"Noto Music",
|
28 |
+
"Noto Sans",
|
29 |
+
"Noto Sans Adlam",
|
30 |
+
"Noto Sans Arabic",
|
31 |
+
"Noto Sans Armenian",
|
32 |
+
"Noto Sans Balinese",
|
33 |
+
"Noto Sans Bamum",
|
34 |
+
"Noto Sans Bassa Vah",
|
35 |
+
"Noto Sans Batak",
|
36 |
+
"Noto Sans Bengali",
|
37 |
+
"Noto Sans Buginese",
|
38 |
+
"Noto Sans Buhid",
|
39 |
+
"Noto Sans CJK HK",
|
40 |
+
"Noto Sans CJK JP",
|
41 |
+
"Noto Sans CJK KR",
|
42 |
+
"Noto Sans CJK SC",
|
43 |
+
"Noto Sans CJK TC",
|
44 |
+
"Noto Sans Chakma",
|
45 |
+
"Noto Sans Cham",
|
46 |
+
"Noto Sans Cherokee",
|
47 |
+
"Noto Sans Coptic",
|
48 |
+
"Noto Sans Deseret",
|
49 |
+
"Noto Sans Devanagari",
|
50 |
+
"Noto Sans Ethiopic",
|
51 |
+
"Noto Sans Georgian",
|
52 |
+
"Noto Sans Gujarati",
|
53 |
+
"Noto Sans Gunjala Gondi",
|
54 |
+
"Noto Sans Gurmukhi",
|
55 |
+
"Noto Sans Hanifi Rohingya",
|
56 |
+
"Noto Sans Hanunoo",
|
57 |
+
"Noto Sans Hebrew",
|
58 |
+
"Noto Sans Javanese",
|
59 |
+
"Noto Sans Kannada",
|
60 |
+
"Noto Sans Kayah Li",
|
61 |
+
"Noto Sans Khmer",
|
62 |
+
"Noto Sans Lao",
|
63 |
+
"Noto Sans Lepcha",
|
64 |
+
"Noto Sans Limbu",
|
65 |
+
"Noto Sans Lisu",
|
66 |
+
"Noto Sans Malayalam",
|
67 |
+
"Noto Sans Mandaic",
|
68 |
+
"Noto Sans Masaram Gondi",
|
69 |
+
"Noto Sans Math",
|
70 |
+
"Noto Sans Medefaidrin",
|
71 |
+
"Noto Sans Meetei Mayek",
|
72 |
+
"Noto Sans Mende Kikakui",
|
73 |
+
"Noto Sans Miao",
|
74 |
+
"Noto Sans Mongolian",
|
75 |
+
"Noto Sans Mro",
|
76 |
+
"Noto Sans Myanmar",
|
77 |
+
"Noto Sans NKo",
|
78 |
+
"Noto Sans New Tai Lue",
|
79 |
+
"Noto Sans Newa",
|
80 |
+
"Noto Sans Nushu",
|
81 |
+
"Noto Sans Ol Chiki",
|
82 |
+
"Noto Sans Oriya",
|
83 |
+
"Noto Sans Osage",
|
84 |
+
"Noto Sans Osmanya",
|
85 |
+
"Noto Sans Pahawh Hmong",
|
86 |
+
"Noto Sans Pau Cin Hau",
|
87 |
+
"Noto Sans Rejang",
|
88 |
+
"Noto Sans Samaritan",
|
89 |
+
"Noto Sans Saurashtra",
|
90 |
+
"Noto Sans SignWriting",
|
91 |
+
"Noto Sans Sinhala",
|
92 |
+
"Noto Sans Sundanese",
|
93 |
+
"Noto Sans Syloti Nagri",
|
94 |
+
"Noto Sans Symbols",
|
95 |
+
"Noto Sans Symbols2",
|
96 |
+
"Noto Sans Syriac",
|
97 |
+
"Noto Sans Tagalog",
|
98 |
+
"Noto Sans Tagbanwa",
|
99 |
+
"Noto Sans Tai Le",
|
100 |
+
"Noto Sans Tai Tham",
|
101 |
+
"Noto Sans Tai Viet",
|
102 |
+
"Noto Sans Tamil",
|
103 |
+
"Noto Sans Tangsa",
|
104 |
+
"Noto Sans Telugu",
|
105 |
+
"Noto Sans Thaana",
|
106 |
+
"Noto Sans Thai",
|
107 |
+
"Noto Sans Tifinagh",
|
108 |
+
"Noto Sans Vai",
|
109 |
+
"Noto Sans Wancho",
|
110 |
+
"Noto Sans Warang Citi",
|
111 |
+
"Noto Sans Yi",
|
112 |
+
"P052",
|
113 |
+
"Sans",
|
114 |
+
"Serif",
|
115 |
+
"Source Code Pro",
|
116 |
+
"System-ui",
|
117 |
+
"URW Bookman",
|
118 |
+
"URW Gothic",
|
119 |
+
"Ubuntu",
|
120 |
+
"Ubuntu Condensed",
|
121 |
+
"Ubuntu Mono",
|
122 |
+
"Z003"
|
123 |
+
],
|
124 |
+
"max_seq_length": 196,
|
125 |
+
"pad_size": 3,
|
126 |
+
"pixels_per_patch": 16,
|
127 |
+
"rgb": false,
|
128 |
+
"text_renderer_type": "PangoCairoTextRenderer"
|
129 |
+
}
|