Upload
Browse files- .gitattributes +1 -0
- GoNotoCurrent.ttf +3 -0
- config.json +71 -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,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "ADJ",
|
16 |
+
"1": "ADP",
|
17 |
+
"2": "ADV",
|
18 |
+
"3": "AUX",
|
19 |
+
"4": "CCONJ",
|
20 |
+
"5": "DET",
|
21 |
+
"6": "INTJ",
|
22 |
+
"7": "NOUN",
|
23 |
+
"8": "NUM",
|
24 |
+
"9": "PART",
|
25 |
+
"10": "PRON",
|
26 |
+
"11": "PROPN",
|
27 |
+
"12": "PUNCT",
|
28 |
+
"13": "SCONJ",
|
29 |
+
"14": "SYM",
|
30 |
+
"15": "VERB",
|
31 |
+
"16": "X"
|
32 |
+
},
|
33 |
+
"image_size": [
|
34 |
+
16,
|
35 |
+
4096
|
36 |
+
],
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"interpolate_pos_encoding": false,
|
40 |
+
"label2id": {
|
41 |
+
"ADJ": 0,
|
42 |
+
"ADP": 1,
|
43 |
+
"ADV": 2,
|
44 |
+
"AUX": 3,
|
45 |
+
"CCONJ": 4,
|
46 |
+
"DET": 5,
|
47 |
+
"INTJ": 6,
|
48 |
+
"NOUN": 7,
|
49 |
+
"NUM": 8,
|
50 |
+
"PART": 9,
|
51 |
+
"PRON": 10,
|
52 |
+
"PROPN": 11,
|
53 |
+
"PUNCT": 12,
|
54 |
+
"SCONJ": 13,
|
55 |
+
"SYM": 14,
|
56 |
+
"VERB": 15,
|
57 |
+
"X": 16
|
58 |
+
},
|
59 |
+
"layer_norm_eps": 1e-12,
|
60 |
+
"mask_ratio": 0.25,
|
61 |
+
"model_type": "pixel",
|
62 |
+
"norm_pix_loss": true,
|
63 |
+
"num_attention_heads": 12,
|
64 |
+
"num_channels": 3,
|
65 |
+
"num_hidden_layers": 12,
|
66 |
+
"pad_token_id": -100,
|
67 |
+
"patch_size": 16,
|
68 |
+
"qkv_bias": true,
|
69 |
+
"torch_dtype": "float32",
|
70 |
+
"transformers_version": "4.17.0"
|
71 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba0f66b506ae4e3829fa060aa3357d5d064954c1a72366c6246ca5458ad1e5ff
|
3 |
+
size 343511281
|
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": 256,
|
125 |
+
"pad_size": 3,
|
126 |
+
"pixels_per_patch": 16,
|
127 |
+
"rgb": false,
|
128 |
+
"text_renderer_type": "PangoCairoTextRenderer"
|
129 |
+
}
|