channudam commited on
Commit
9fba310
1 Parent(s): 15e5244

End of training

Browse files
Files changed (6) hide show
  1. README.md +41 -18
  2. config.json +0 -1
  3. model.safetensors +1 -1
  4. tokenizer_config.json +0 -8
  5. training_args.bin +2 -2
  6. vocab.json +266 -1
README.md CHANGED
@@ -2,20 +2,20 @@
2
  tags:
3
  - generated_from_trainer
4
  model-index:
5
- - name: khmer-trocr-base-printed-4045
6
  results: []
7
  ---
8
 
9
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
  should probably proofread and complete it, then remove this comment. -->
11
 
12
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/rayranger/huggingface/runs/r1r4z3dg)
13
- # khmer-trocr-base-printed-4045
14
 
15
- This model was trained from scratch on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Loss: 0.0435
18
- - Cer: 0.4368
19
 
20
  ## Model description
21
 
@@ -45,18 +45,41 @@ The following hyperparameters were used during training:
45
 
46
  ### Training results
47
 
48
- | Training Loss | Epoch | Step | Validation Loss | Cer |
49
- |:-------------:|:-----:|:-----:|:---------------:|:------:|
50
- | 0.0071 | 1.0 | 3075 | 0.0687 | 0.4311 |
51
- | 0.0033 | 2.0 | 6150 | 0.0656 | 0.4030 |
52
- | 0.0023 | 3.0 | 9225 | 0.0589 | 0.4732 |
53
- | 0.0021 | 4.0 | 12300 | 0.0575 | 0.4204 |
54
- | 0.0016 | 5.0 | 15375 | 0.0505 | 0.4047 |
55
- | 0.0038 | 6.0 | 18450 | 0.0542 | 0.4377 |
56
- | 0.0009 | 7.0 | 21525 | 0.0523 | 0.4561 |
57
- | 0.0003 | 8.0 | 24600 | 0.0467 | 0.4142 |
58
- | 0.0 | 9.0 | 27675 | 0.0458 | 0.4303 |
59
- | 0.0 | 10.0 | 30750 | 0.0435 | 0.4368 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
 
62
  ### Framework versions
 
2
  tags:
3
  - generated_from_trainer
4
  model-index:
5
+ - name: khmer-trocr-base-printed
6
  results: []
7
  ---
8
 
9
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
  should probably proofread and complete it, then remove this comment. -->
11
 
12
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/rayranger/huggingface/runs/dk8d67e4)
13
+ # khmer-trocr-base-printed
14
 
15
+ This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Loss: 0.0291
18
+ - Cer: 0.4055
19
 
20
  ## Model description
21
 
 
45
 
46
  ### Training results
47
 
48
+ | Training Loss | Epoch | Step | Validation Loss | Cer |
49
+ |:-------------:|:------:|:-----:|:---------------:|:------:|
50
+ | 1.1296 | 0.2963 | 1000 | 1.1008 | 0.8884 |
51
+ | 0.9715 | 0.5926 | 2000 | 0.9842 | 0.8538 |
52
+ | 0.5403 | 0.8889 | 3000 | 0.5563 | 0.6882 |
53
+ | 0.2775 | 1.1852 | 4000 | 0.2881 | 0.5585 |
54
+ | 0.1586 | 1.4815 | 5000 | 0.1591 | 0.4905 |
55
+ | 0.0869 | 1.7778 | 6000 | 0.1297 | 0.4840 |
56
+ | 0.0642 | 2.0741 | 7000 | 0.0945 | 0.4445 |
57
+ | 0.0495 | 2.3704 | 8000 | 0.0758 | 0.4350 |
58
+ | 0.0362 | 2.6667 | 9000 | 0.0697 | 0.4352 |
59
+ | 0.0292 | 2.9630 | 10000 | 0.0579 | 0.4161 |
60
+ | 0.0212 | 3.2593 | 11000 | 0.0547 | 0.4234 |
61
+ | 0.0151 | 3.5556 | 12000 | 0.0507 | 0.4303 |
62
+ | 0.0126 | 3.8519 | 13000 | 0.0501 | 0.4115 |
63
+ | 0.0107 | 4.1481 | 14000 | 0.0470 | 0.4164 |
64
+ | 0.0105 | 4.4444 | 15000 | 0.0480 | 0.4296 |
65
+ | 0.0122 | 4.7407 | 16000 | 0.0418 | 0.4027 |
66
+ | 0.0072 | 5.0370 | 17000 | 0.0423 | 0.4162 |
67
+ | 0.0058 | 5.3333 | 18000 | 0.0419 | 0.4165 |
68
+ | 0.0083 | 5.6296 | 19000 | 0.0409 | 0.4183 |
69
+ | 0.0033 | 5.9259 | 20000 | 0.0359 | 0.4095 |
70
+ | 0.0043 | 6.2222 | 21000 | 0.0379 | 0.4157 |
71
+ | 0.0034 | 6.5185 | 22000 | 0.0377 | 0.4468 |
72
+ | 0.0041 | 6.8148 | 23000 | 0.0371 | 0.4189 |
73
+ | 0.0025 | 7.1111 | 24000 | 0.0365 | 0.4146 |
74
+ | 0.0018 | 7.4074 | 25000 | 0.0359 | 0.4086 |
75
+ | 0.0011 | 7.7037 | 26000 | 0.0341 | 0.4024 |
76
+ | 0.0008 | 8.0 | 27000 | 0.0326 | 0.4131 |
77
+ | 0.0008 | 8.2963 | 28000 | 0.0330 | 0.4014 |
78
+ | 0.0013 | 8.5926 | 29000 | 0.0325 | 0.4053 |
79
+ | 0.0005 | 8.8889 | 30000 | 0.0306 | 0.4078 |
80
+ | 0.0004 | 9.1852 | 31000 | 0.0304 | 0.4071 |
81
+ | 0.0002 | 9.4815 | 32000 | 0.0300 | 0.4088 |
82
+ | 0.0002 | 9.7778 | 33000 | 0.0291 | 0.4055 |
83
 
84
 
85
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "/kaggle/input/khmerocr-trocr-fine-tune-v2/KhmerOCR_TrOCR",
3
  "architectures": [
4
  "VisionEncoderDecoderModel"
5
  ],
 
1
  {
 
2
  "architectures": [
3
  "VisionEncoderDecoderModel"
4
  ],
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:504e770d208f72aa05d73c72fe265eacc650c8bdbb462be5a9f3f2411aefadd4
3
  size 608335608
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dee7b5439b42c6f6cf1e1f987967c969134f97a3d2c64d1f34885792f9abfc91
3
  size 608335608
tokenizer_config.json CHANGED
@@ -49,18 +49,10 @@
49
  "errors": "replace",
50
  "mask_token": "<mask>",
51
  "max_len": 128,
52
- "max_length": 100,
53
  "model_max_length": 128,
54
- "pad_to_multiple_of": null,
55
  "pad_token": "<pad>",
56
- "pad_token_type_id": 0,
57
- "padding_side": "right",
58
- "processor_class": "TrOCRProcessor",
59
  "sep_token": "</s>",
60
- "stride": 0,
61
  "tokenizer_class": "RobertaTokenizer",
62
  "trim_offsets": true,
63
- "truncation_side": "right",
64
- "truncation_strategy": "longest_first",
65
  "unk_token": "<unk>"
66
  }
 
49
  "errors": "replace",
50
  "mask_token": "<mask>",
51
  "max_len": 128,
 
52
  "model_max_length": 128,
 
53
  "pad_token": "<pad>",
 
 
 
54
  "sep_token": "</s>",
 
55
  "tokenizer_class": "RobertaTokenizer",
56
  "trim_offsets": true,
 
 
57
  "unk_token": "<unk>"
58
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6155f690152498f242002d61bcbbc6f48074c93400169630803171b2bf03913f
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30aef5d8d7ea25135e70fa02117cefa327abc6804c7c3ea1cc85c2fc9655d0a5
3
+ size 5240
vocab.json CHANGED
@@ -1 +1,266 @@
1
- {"<s>":0,"<pad>":1,"<e>":2,"<unk>":3,"<mask>":4,"!":5,"\"":6,"#":7,"$":8,"%":9,"&":10,"'":11,"(":12,")":13,"*":14,"+":15,",":16,"-":17,".":18,"/":19,"0":20,"1":21,"2":22,"3":23,"4":24,"5":25,"6":26,"7":27,"8":28,"9":29,":":30,";":31,"<":32,"=":33,">":34,"?":35,"@":36,"A":37,"B":38,"C":39,"D":40,"E":41,"F":42,"G":43,"H":44,"I":45,"J":46,"K":47,"L":48,"M":49,"N":50,"O":51,"P":52,"Q":53,"R":54,"S":55,"T":56,"U":57,"V":58,"W":59,"X":60,"Y":61,"Z":62,"[":63,"\\":64,"]":65,"^":66,"_":67,"`":68,"a":69,"b":70,"c":71,"d":72,"e":73,"f":74,"g":75,"h":76,"i":77,"j":78,"k":79,"l":80,"m":81,"n":82,"o":83,"p":84,"q":85,"r":86,"s":87,"t":88,"u":89,"v":90,"w":91,"x":92,"y":93,"z":94,"{":95,"|":96,"}":97,"~":98,"¡":99,"¢":100,"£":101,"¤":102,"¥":103,"¦":104,"§":105,"¨":106,"©":107,"ª":108,"«":109,"¬":110,"®":111,"¯":112,"°":113,"±":114,"²":115,"³":116,"´":117,"µ":118,"¶":119,"·":120,"¸":121,"¹":122,"º":123,"»":124,"¼":125,"½":126,"¾":127,"¿":128,"À":129,"Á":130,"Â":131,"Ã":132,"Ä":133,"Å":134,"Æ":135,"Ç":136,"È":137,"É":138,"Ê":139,"Ë":140,"Ì":141,"Í":142,"Î":143,"Ï":144,"Ð":145,"Ñ":146,"Ò":147,"Ó":148,"Ô":149,"Õ":150,"Ö":151,"×":152,"Ø":153,"Ù":154,"Ú":155,"Û":156,"Ü":157,"Ý":158,"Þ":159,"ß":160,"à":161,"á":162,"â":163,"ã":164,"ä":165,"å":166,"æ":167,"ç":168,"è":169,"é":170,"ê":171,"ë":172,"ì":173,"í":174,"î":175,"ï":176,"ð":177,"ñ":178,"ò":179,"ó":180,"ô":181,"õ":182,"ö":183,"÷":184,"ø":185,"ù":186,"ú":187,"û":188,"ü":189,"ý":190,"þ":191,"ÿ":192,"Ā":193,"ā":194,"Ă":195,"ă":196,"Ą":197,"ą":198,"Ć":199,"ć":200,"Ĉ":201,"ĉ":202,"Ċ":203,"ċ":204,"Č":205,"č":206,"Ď":207,"ď":208,"Đ":209,"đ":210,"Ē":211,"ē":212,"Ĕ":213,"ĕ":214,"Ė":215,"ė":216,"Ę":217,"ę":218,"Ě":219,"ě":220,"Ĝ":221,"ĝ":222,"Ğ":223,"ğ":224,"Ġ":225,"ġ":226,"Ģ":227,"ģ":228,"Ĥ":229,"ĥ":230,"Ħ":231,"ħ":232,"Ĩ":233,"ĩ":234,"Ī":235,"ī":236,"Ĭ":237,"ĭ":238,"Į":239,"į":240,"İ":241,"ı":242,"IJ":243,"ij":244,"Ĵ":245,"ĵ":246,"Ķ":247,"ķ":248,"ĸ":249,"Ĺ":250,"ĺ":251,"Ļ":252,"ļ":253,"Ľ":254,"ľ":255,"Ŀ":256,"ŀ":257,"Ł":258,"ł":259,"Ń":260,"áŀ":261,"áŁ":262,"âĢ":263}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "!": 5,
3
+ "\"": 6,
4
+ "#": 7,
5
+ "$": 8,
6
+ "%": 9,
7
+ "&": 10,
8
+ "'": 11,
9
+ "(": 12,
10
+ ")": 13,
11
+ "*": 14,
12
+ "+": 15,
13
+ ",": 16,
14
+ "-": 17,
15
+ ".": 18,
16
+ "/": 19,
17
+ "0": 20,
18
+ "1": 21,
19
+ "2": 22,
20
+ "3": 23,
21
+ "4": 24,
22
+ "5": 25,
23
+ "6": 26,
24
+ "7": 27,
25
+ "8": 28,
26
+ "9": 29,
27
+ ":": 30,
28
+ ";": 31,
29
+ "<": 32,
30
+ "<e>": 2,
31
+ "<mask>": 4,
32
+ "<pad>": 1,
33
+ "<s>": 0,
34
+ "<unk>": 3,
35
+ "=": 33,
36
+ ">": 34,
37
+ "?": 35,
38
+ "@": 36,
39
+ "A": 37,
40
+ "B": 38,
41
+ "C": 39,
42
+ "D": 40,
43
+ "E": 41,
44
+ "F": 42,
45
+ "G": 43,
46
+ "H": 44,
47
+ "I": 45,
48
+ "J": 46,
49
+ "K": 47,
50
+ "L": 48,
51
+ "M": 49,
52
+ "N": 50,
53
+ "O": 51,
54
+ "P": 52,
55
+ "Q": 53,
56
+ "R": 54,
57
+ "S": 55,
58
+ "T": 56,
59
+ "U": 57,
60
+ "V": 58,
61
+ "W": 59,
62
+ "X": 60,
63
+ "Y": 61,
64
+ "Z": 62,
65
+ "[": 63,
66
+ "\\": 64,
67
+ "]": 65,
68
+ "^": 66,
69
+ "_": 67,
70
+ "`": 68,
71
+ "a": 69,
72
+ "b": 70,
73
+ "c": 71,
74
+ "d": 72,
75
+ "e": 73,
76
+ "f": 74,
77
+ "g": 75,
78
+ "h": 76,
79
+ "i": 77,
80
+ "j": 78,
81
+ "k": 79,
82
+ "l": 80,
83
+ "m": 81,
84
+ "n": 82,
85
+ "o": 83,
86
+ "p": 84,
87
+ "q": 85,
88
+ "r": 86,
89
+ "s": 87,
90
+ "t": 88,
91
+ "u": 89,
92
+ "v": 90,
93
+ "w": 91,
94
+ "x": 92,
95
+ "y": 93,
96
+ "z": 94,
97
+ "{": 95,
98
+ "|": 96,
99
+ "}": 97,
100
+ "~": 98,
101
+ "¡": 99,
102
+ "¢": 100,
103
+ "£": 101,
104
+ "¤": 102,
105
+ "¥": 103,
106
+ "¦": 104,
107
+ "§": 105,
108
+ "¨": 106,
109
+ "©": 107,
110
+ "ª": 108,
111
+ "«": 109,
112
+ "¬": 110,
113
+ "®": 111,
114
+ "¯": 112,
115
+ "°": 113,
116
+ "±": 114,
117
+ "²": 115,
118
+ "³": 116,
119
+ "´": 117,
120
+ "µ": 118,
121
+ "¶": 119,
122
+ "·": 120,
123
+ "¸": 121,
124
+ "¹": 122,
125
+ "º": 123,
126
+ "»": 124,
127
+ "¼": 125,
128
+ "½": 126,
129
+ "¾": 127,
130
+ "¿": 128,
131
+ "À": 129,
132
+ "Á": 130,
133
+ "Â": 131,
134
+ "Ã": 132,
135
+ "Ä": 133,
136
+ "Å": 134,
137
+ "Æ": 135,
138
+ "Ç": 136,
139
+ "È": 137,
140
+ "É": 138,
141
+ "Ê": 139,
142
+ "Ë": 140,
143
+ "Ì": 141,
144
+ "Í": 142,
145
+ "Î": 143,
146
+ "Ï": 144,
147
+ "Ð": 145,
148
+ "Ñ": 146,
149
+ "Ò": 147,
150
+ "Ó": 148,
151
+ "Ô": 149,
152
+ "Õ": 150,
153
+ "Ö": 151,
154
+ "×": 152,
155
+ "Ø": 153,
156
+ "Ù": 154,
157
+ "Ú": 155,
158
+ "Û": 156,
159
+ "Ü": 157,
160
+ "Ý": 158,
161
+ "Þ": 159,
162
+ "ß": 160,
163
+ "à": 161,
164
+ "á": 162,
165
+ "áŀ": 261,
166
+ "áŁ": 262,
167
+ "â": 163,
168
+ "âĢ": 263,
169
+ "ã": 164,
170
+ "ä": 165,
171
+ "å": 166,
172
+ "æ": 167,
173
+ "ç": 168,
174
+ "è": 169,
175
+ "é": 170,
176
+ "ê": 171,
177
+ "ë": 172,
178
+ "ì": 173,
179
+ "í": 174,
180
+ "î": 175,
181
+ "ï": 176,
182
+ "ð": 177,
183
+ "ñ": 178,
184
+ "ò": 179,
185
+ "ó": 180,
186
+ "ô": 181,
187
+ "õ": 182,
188
+ "ö": 183,
189
+ "÷": 184,
190
+ "ø": 185,
191
+ "ù": 186,
192
+ "ú": 187,
193
+ "û": 188,
194
+ "ü": 189,
195
+ "ý": 190,
196
+ "þ": 191,
197
+ "ÿ": 192,
198
+ "Ā": 193,
199
+ "ā": 194,
200
+ "Ă": 195,
201
+ "ă": 196,
202
+ "Ą": 197,
203
+ "ą": 198,
204
+ "Ć": 199,
205
+ "ć": 200,
206
+ "Ĉ": 201,
207
+ "ĉ": 202,
208
+ "Ċ": 203,
209
+ "ċ": 204,
210
+ "Č": 205,
211
+ "č": 206,
212
+ "Ď": 207,
213
+ "ď": 208,
214
+ "Đ": 209,
215
+ "đ": 210,
216
+ "Ē": 211,
217
+ "ē": 212,
218
+ "Ĕ": 213,
219
+ "ĕ": 214,
220
+ "Ė": 215,
221
+ "ė": 216,
222
+ "Ę": 217,
223
+ "ę": 218,
224
+ "Ě": 219,
225
+ "ě": 220,
226
+ "Ĝ": 221,
227
+ "ĝ": 222,
228
+ "Ğ": 223,
229
+ "ğ": 224,
230
+ "Ġ": 225,
231
+ "ġ": 226,
232
+ "Ģ": 227,
233
+ "ģ": 228,
234
+ "Ĥ": 229,
235
+ "ĥ": 230,
236
+ "Ħ": 231,
237
+ "ħ": 232,
238
+ "Ĩ": 233,
239
+ "ĩ": 234,
240
+ "Ī": 235,
241
+ "ī": 236,
242
+ "Ĭ": 237,
243
+ "ĭ": 238,
244
+ "Į": 239,
245
+ "į": 240,
246
+ "İ": 241,
247
+ "ı": 242,
248
+ "IJ": 243,
249
+ "ij": 244,
250
+ "Ĵ": 245,
251
+ "ĵ": 246,
252
+ "Ķ": 247,
253
+ "ķ": 248,
254
+ "ĸ": 249,
255
+ "Ĺ": 250,
256
+ "ĺ": 251,
257
+ "Ļ": 252,
258
+ "ļ": 253,
259
+ "Ľ": 254,
260
+ "ľ": 255,
261
+ "Ŀ": 256,
262
+ "ŀ": 257,
263
+ "Ł": 258,
264
+ "ł": 259,
265
+ "Ń": 260
266
+ }