Upload
Browse files- .gitattributes +1 -0
- GoNotoCurrent.ttf +3 -0
- README.md +52 -0
- config.json +44 -0
- pytorch_model.bin +3 -0
- text_renderer_config.json +153 -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
|
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- glue
|
8 |
+
model-index:
|
9 |
+
- name: pixel-base-finetuned-mnli
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# pixel-base-finetuned-mnli
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Team-PIXEL/pixel-base](https://huggingface.co/Team-PIXEL/pixel-base) on the GLUE MNLI dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 3e-05
|
38 |
+
- train_batch_size: 64
|
39 |
+
- eval_batch_size: 128
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 100
|
44 |
+
- training_steps: 15000
|
45 |
+
- mixed_precision_training: Apex, opt level O1
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.17.0
|
50 |
+
- Pytorch 1.11.0+cu113
|
51 |
+
- Datasets 2.0.0
|
52 |
+
- Tokenizers 0.11.6
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Team-PIXEL/pixel-base",
|
3 |
+
"architectures": [
|
4 |
+
"PIXELForSequenceClassification"
|
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 |
+
"finetuning_task": "mnli",
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.1,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"0": "entailment",
|
17 |
+
"1": "neutral",
|
18 |
+
"2": "contradiction"
|
19 |
+
},
|
20 |
+
"image_size": [
|
21 |
+
16,
|
22 |
+
4096
|
23 |
+
],
|
24 |
+
"initializer_range": 0.02,
|
25 |
+
"intermediate_size": 3072,
|
26 |
+
"interpolate_pos_encoding": false,
|
27 |
+
"label2id": {
|
28 |
+
"contradiction": 2,
|
29 |
+
"entailment": 0,
|
30 |
+
"neutral": 1
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"mask_ratio": 0.25,
|
34 |
+
"model_type": "pixel",
|
35 |
+
"norm_pix_loss": true,
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_channels": 3,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"patch_size": 16,
|
40 |
+
"problem_type": "single_label_classification",
|
41 |
+
"qkv_bias": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.17.0"
|
44 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bf98803a4df71565bdda509eadb52080ed95f0ad0efd725b58b9649c1c018f2
|
3 |
+
size 345838121
|
text_renderer_config.json
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"Abyssinica SIL",
|
9 |
+
"Ani",
|
10 |
+
"AnjaliOldLipi",
|
11 |
+
"C059",
|
12 |
+
"Chandas",
|
13 |
+
"Chilanka",
|
14 |
+
"D050000L",
|
15 |
+
"DejaVu Math TeX Gyre",
|
16 |
+
"DejaVu Sans",
|
17 |
+
"DejaVu Sans Mono",
|
18 |
+
"DejaVu Serif",
|
19 |
+
"Droid Sans Fallback",
|
20 |
+
"Dyuthi",
|
21 |
+
"FreeMono",
|
22 |
+
"FreeSans",
|
23 |
+
"FreeSerif",
|
24 |
+
"Gargi",
|
25 |
+
"Garuda",
|
26 |
+
"Gayathri",
|
27 |
+
"Go Noto Current",
|
28 |
+
"Gubbi",
|
29 |
+
"Jamrul",
|
30 |
+
"KacstArt",
|
31 |
+
"KacstBook",
|
32 |
+
"KacstDecorative",
|
33 |
+
"KacstDigital",
|
34 |
+
"KacstFarsi",
|
35 |
+
"KacstLetter",
|
36 |
+
"KacstNaskh",
|
37 |
+
"KacstOffice",
|
38 |
+
"KacstOne",
|
39 |
+
"KacstPen",
|
40 |
+
"KacstPoster",
|
41 |
+
"KacstQurn",
|
42 |
+
"KacstScreen",
|
43 |
+
"KacstTitle",
|
44 |
+
"KacstTitleL",
|
45 |
+
"Kalapi",
|
46 |
+
"Kalimati",
|
47 |
+
"Karumbi",
|
48 |
+
"Keraleeyam",
|
49 |
+
"Khmer OS",
|
50 |
+
"Khmer OS System",
|
51 |
+
"Kinnari",
|
52 |
+
"LKLUG",
|
53 |
+
"Laksaman",
|
54 |
+
"Liberation Mono",
|
55 |
+
"Liberation Sans",
|
56 |
+
"Liberation Sans Narrow",
|
57 |
+
"Liberation Serif",
|
58 |
+
"Likhan",
|
59 |
+
"Lohit Assamese",
|
60 |
+
"Lohit Bengali",
|
61 |
+
"Lohit Devanagari",
|
62 |
+
"Lohit Gujarati",
|
63 |
+
"Lohit Gurmukhi",
|
64 |
+
"Lohit Kannada",
|
65 |
+
"Lohit Malayalam",
|
66 |
+
"Lohit Odia",
|
67 |
+
"Lohit Tamil",
|
68 |
+
"Lohit Tamil Classical",
|
69 |
+
"Lohit Telugu",
|
70 |
+
"Loma",
|
71 |
+
"Manjari",
|
72 |
+
"Meera",
|
73 |
+
"Mitra Mono",
|
74 |
+
"Monospace",
|
75 |
+
"Mukti Narrow",
|
76 |
+
"Nakula",
|
77 |
+
"Navilu",
|
78 |
+
"Nimbus Mono PS",
|
79 |
+
"Nimbus Roman",
|
80 |
+
"Nimbus Sans",
|
81 |
+
"Nimbus Sans Narrow",
|
82 |
+
"Norasi",
|
83 |
+
"Noto Color Emoji",
|
84 |
+
"Noto Mono",
|
85 |
+
"Noto Sans CJK HK",
|
86 |
+
"Noto Sans CJK JP",
|
87 |
+
"Noto Sans CJK KR",
|
88 |
+
"Noto Sans CJK SC",
|
89 |
+
"Noto Sans CJK TC",
|
90 |
+
"Noto Sans Mono CJK HK",
|
91 |
+
"Noto Sans Mono CJK JP",
|
92 |
+
"Noto Sans Mono CJK KR",
|
93 |
+
"Noto Sans Mono CJK SC",
|
94 |
+
"Noto Sans Mono CJK TC",
|
95 |
+
"Noto Serif CJK JP",
|
96 |
+
"Noto Serif CJK KR",
|
97 |
+
"Noto Serif CJK SC",
|
98 |
+
"Noto Serif CJK TC",
|
99 |
+
"OpenSymbol",
|
100 |
+
"P052",
|
101 |
+
"Padauk",
|
102 |
+
"Padauk Book",
|
103 |
+
"Pagul",
|
104 |
+
"Phetsarath OT",
|
105 |
+
"Pothana2000",
|
106 |
+
"PowerlineSymbols",
|
107 |
+
"Purisa",
|
108 |
+
"Rachana",
|
109 |
+
"RaghuMalayalamSans",
|
110 |
+
"Rasa",
|
111 |
+
"Rekha",
|
112 |
+
"Saab",
|
113 |
+
"Sahadeva",
|
114 |
+
"Samanata",
|
115 |
+
"Samyak Devanagari",
|
116 |
+
"Samyak Gujarati",
|
117 |
+
"Samyak Malayalam",
|
118 |
+
"Samyak Tamil",
|
119 |
+
"Sans",
|
120 |
+
"Sarai",
|
121 |
+
"Sawasdee",
|
122 |
+
"Serif",
|
123 |
+
"Standard Symbols PS",
|
124 |
+
"Suruma",
|
125 |
+
"System-ui",
|
126 |
+
"Tibetan Machine Uni",
|
127 |
+
"Tlwg Mono",
|
128 |
+
"Tlwg Typewriter",
|
129 |
+
"Tlwg Typist",
|
130 |
+
"Tlwg Typo",
|
131 |
+
"URW Bookman",
|
132 |
+
"URW Gothic",
|
133 |
+
"Ubuntu",
|
134 |
+
"Ubuntu Condensed",
|
135 |
+
"Ubuntu Mono",
|
136 |
+
"Umpush",
|
137 |
+
"Uroob",
|
138 |
+
"Vemana2000",
|
139 |
+
"Waree",
|
140 |
+
"Yrsa",
|
141 |
+
"Z003",
|
142 |
+
"aakar",
|
143 |
+
"mry_KacstQurn",
|
144 |
+
"ori1Uni",
|
145 |
+
"padmaa",
|
146 |
+
"padmaa-Bold.1.1"
|
147 |
+
],
|
148 |
+
"max_seq_length": 256,
|
149 |
+
"pad_size": 3,
|
150 |
+
"pixels_per_patch": 16,
|
151 |
+
"rgb": false,
|
152 |
+
"text_renderer_type": "PangoCairoTextRenderer"
|
153 |
+
}
|