Upload
Browse files- .gitattributes +1 -0
- GoNotoCurrent.ttf +3 -0
- README.md +54 -0
- config.json +32 -0
- pytorch_model.bin +3 -0
- text_renderer_config.json +130 -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,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- squad_kor_v1
|
6 |
+
model-index:
|
7 |
+
- name: pixel-base-finetuned-korquadv1
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# pixel-base-finetuned-korquadv1
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [Team-PIXEL/pixel-base](https://huggingface.co/Team-PIXEL/pixel-base) on the squad_kor_v1 dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 7e-05
|
36 |
+
- train_batch_size: 32
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 45
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- lr_scheduler_warmup_steps: 100
|
42 |
+
- training_steps: 20000
|
43 |
+
- mixed_precision_training: Apex, opt level O1
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.17.0
|
52 |
+
- Pytorch 1.11.0
|
53 |
+
- Datasets 2.0.0
|
54 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Team-PIXEL/pixel-base",
|
3 |
+
"architectures": [
|
4 |
+
"PIXELForQuestionAnswering"
|
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 |
+
"image_size": [
|
15 |
+
16,
|
16 |
+
6400
|
17 |
+
],
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"interpolate_pos_encoding": false,
|
21 |
+
"layer_norm_eps": 1e-12,
|
22 |
+
"mask_ratio": 0.25,
|
23 |
+
"model_type": "pixel",
|
24 |
+
"norm_pix_loss": true,
|
25 |
+
"num_attention_heads": 12,
|
26 |
+
"num_channels": 3,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"patch_size": 16,
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.17.0"
|
32 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33a89805da6806b969883a24c682e3429ab7adc26fd584d6433d33d8a57f3c9c
|
3 |
+
size 343914285
|
text_renderer_config.json
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"DejaVu Sans Mono",
|
13 |
+
"Go Noto Africa Middle East",
|
14 |
+
"Go Noto Ancient",
|
15 |
+
"Go Noto Asia Historical",
|
16 |
+
"Go Noto Current",
|
17 |
+
"Go Noto East Asia",
|
18 |
+
"Go Noto Europe Americas",
|
19 |
+
"Go Noto South Asia",
|
20 |
+
"Go Noto South East Asia",
|
21 |
+
"Inconsolata",
|
22 |
+
"Monospace",
|
23 |
+
"Nimbus Mono PS",
|
24 |
+
"Nimbus Roman",
|
25 |
+
"Nimbus Sans",
|
26 |
+
"Nimbus Sans Narrow",
|
27 |
+
"Noto Emoji",
|
28 |
+
"Noto Music",
|
29 |
+
"Noto Sans",
|
30 |
+
"Noto Sans Adlam",
|
31 |
+
"Noto Sans Arabic",
|
32 |
+
"Noto Sans Armenian",
|
33 |
+
"Noto Sans Balinese",
|
34 |
+
"Noto Sans Bamum",
|
35 |
+
"Noto Sans Bassa Vah",
|
36 |
+
"Noto Sans Batak",
|
37 |
+
"Noto Sans Bengali",
|
38 |
+
"Noto Sans Buginese",
|
39 |
+
"Noto Sans Buhid",
|
40 |
+
"Noto Sans CJK HK",
|
41 |
+
"Noto Sans CJK JP",
|
42 |
+
"Noto Sans CJK KR",
|
43 |
+
"Noto Sans CJK SC",
|
44 |
+
"Noto Sans CJK TC",
|
45 |
+
"Noto Sans Chakma",
|
46 |
+
"Noto Sans Cham",
|
47 |
+
"Noto Sans Cherokee",
|
48 |
+
"Noto Sans Coptic",
|
49 |
+
"Noto Sans Deseret",
|
50 |
+
"Noto Sans Devanagari",
|
51 |
+
"Noto Sans Ethiopic",
|
52 |
+
"Noto Sans Georgian",
|
53 |
+
"Noto Sans Gujarati",
|
54 |
+
"Noto Sans Gunjala Gondi",
|
55 |
+
"Noto Sans Gurmukhi",
|
56 |
+
"Noto Sans Hanifi Rohingya",
|
57 |
+
"Noto Sans Hanunoo",
|
58 |
+
"Noto Sans Hebrew",
|
59 |
+
"Noto Sans Javanese",
|
60 |
+
"Noto Sans Kannada",
|
61 |
+
"Noto Sans Kayah Li",
|
62 |
+
"Noto Sans Khmer",
|
63 |
+
"Noto Sans Lao",
|
64 |
+
"Noto Sans Lepcha",
|
65 |
+
"Noto Sans Limbu",
|
66 |
+
"Noto Sans Lisu",
|
67 |
+
"Noto Sans Malayalam",
|
68 |
+
"Noto Sans Mandaic",
|
69 |
+
"Noto Sans Masaram Gondi",
|
70 |
+
"Noto Sans Math",
|
71 |
+
"Noto Sans Medefaidrin",
|
72 |
+
"Noto Sans Meetei Mayek",
|
73 |
+
"Noto Sans Mende Kikakui",
|
74 |
+
"Noto Sans Miao",
|
75 |
+
"Noto Sans Mongolian",
|
76 |
+
"Noto Sans Mro",
|
77 |
+
"Noto Sans Myanmar",
|
78 |
+
"Noto Sans NKo",
|
79 |
+
"Noto Sans New Tai Lue",
|
80 |
+
"Noto Sans Newa",
|
81 |
+
"Noto Sans Nushu",
|
82 |
+
"Noto Sans Ol Chiki",
|
83 |
+
"Noto Sans Oriya",
|
84 |
+
"Noto Sans Osage",
|
85 |
+
"Noto Sans Osmanya",
|
86 |
+
"Noto Sans Pahawh Hmong",
|
87 |
+
"Noto Sans Pau Cin Hau",
|
88 |
+
"Noto Sans Rejang",
|
89 |
+
"Noto Sans Samaritan",
|
90 |
+
"Noto Sans Saurashtra",
|
91 |
+
"Noto Sans SignWriting",
|
92 |
+
"Noto Sans Sinhala",
|
93 |
+
"Noto Sans Sundanese",
|
94 |
+
"Noto Sans Syloti Nagri",
|
95 |
+
"Noto Sans Symbols",
|
96 |
+
"Noto Sans Symbols2",
|
97 |
+
"Noto Sans Syriac",
|
98 |
+
"Noto Sans Tagalog",
|
99 |
+
"Noto Sans Tagbanwa",
|
100 |
+
"Noto Sans Tai Le",
|
101 |
+
"Noto Sans Tai Tham",
|
102 |
+
"Noto Sans Tai Viet",
|
103 |
+
"Noto Sans Tamil",
|
104 |
+
"Noto Sans Tangsa",
|
105 |
+
"Noto Sans Telugu",
|
106 |
+
"Noto Sans Thaana",
|
107 |
+
"Noto Sans Thai",
|
108 |
+
"Noto Sans Tifinagh",
|
109 |
+
"Noto Sans Vai",
|
110 |
+
"Noto Sans Wancho",
|
111 |
+
"Noto Sans Warang Citi",
|
112 |
+
"Noto Sans Yi",
|
113 |
+
"P052",
|
114 |
+
"Sans",
|
115 |
+
"Serif",
|
116 |
+
"Source Code Pro",
|
117 |
+
"System-ui",
|
118 |
+
"URW Bookman",
|
119 |
+
"URW Gothic",
|
120 |
+
"Ubuntu",
|
121 |
+
"Ubuntu Condensed",
|
122 |
+
"Ubuntu Mono",
|
123 |
+
"Z003"
|
124 |
+
],
|
125 |
+
"max_seq_length": 400,
|
126 |
+
"pad_size": 3,
|
127 |
+
"pixels_per_patch": 16,
|
128 |
+
"rgb": false,
|
129 |
+
"text_renderer_type": "PangoCairoTextRenderer"
|
130 |
+
}
|