de-Rodrigo commited on
Commit
d258b0b
·
verified ·
1 Parent(s): 494b8e3

Training done

Browse files
added_tokens.json CHANGED
@@ -1,17 +1,59 @@
1
  {
2
- "</s_grade>": 32008,
3
- "</s_subject>": 32006,
4
- "</s_year_10>": 32010,
5
- "</s_year_11>": 32012,
6
- "</s_year_12>": 32014,
7
- "</s_year_9>": 32004,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  "<end_of_utterance>": 32002,
9
  "<fake_token_around_image>": 32000,
10
  "<image>": 32001,
11
- "<s_grade>": 32007,
12
- "<s_subject>": 32005,
13
- "<s_year_10>": 32009,
14
- "<s_year_11>": 32011,
15
- "<s_year_12>": 32013,
16
- "<s_year_9>": 32003
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
 
1
  {
2
+ "</s_cashprice>": 32028,
3
+ "</s_changeprice>": 32030,
4
+ "</s_cnt>": 32008,
5
+ "</s_creditcardprice>": 32042,
6
+ "</s_discount_price>": 32036,
7
+ "</s_discountprice>": 32046,
8
+ "</s_emoneyprice>": 32048,
9
+ "</s_etc>": 32020,
10
+ "</s_itemsubtotal>": 32056,
11
+ "</s_menu>": 32004,
12
+ "</s_menuqty_cnt>": 32034,
13
+ "</s_menutype_cnt>": 32032,
14
+ "</s_nm>": 32006,
15
+ "</s_num>": 32044,
16
+ "</s_othersvc_price>": 32052,
17
+ "</s_price>": 32010,
18
+ "</s_service_price>": 32016,
19
+ "</s_sub>": 32026,
20
+ "</s_sub_total>": 32012,
21
+ "</s_subtotal_price>": 32014,
22
+ "</s_tax_price>": 32018,
23
+ "</s_total>": 32022,
24
+ "</s_total_etc>": 32040,
25
+ "</s_total_price>": 32024,
26
+ "</s_unitprice>": 32038,
27
+ "</s_vatyn>": 32054,
28
+ "</s_void_menu>": 32050,
29
  "<end_of_utterance>": 32002,
30
  "<fake_token_around_image>": 32000,
31
  "<image>": 32001,
32
+ "<s_cashprice>": 32027,
33
+ "<s_changeprice>": 32029,
34
+ "<s_cnt>": 32007,
35
+ "<s_creditcardprice>": 32041,
36
+ "<s_discount_price>": 32035,
37
+ "<s_discountprice>": 32045,
38
+ "<s_emoneyprice>": 32047,
39
+ "<s_etc>": 32019,
40
+ "<s_itemsubtotal>": 32055,
41
+ "<s_menu>": 32003,
42
+ "<s_menuqty_cnt>": 32033,
43
+ "<s_menutype_cnt>": 32031,
44
+ "<s_nm>": 32005,
45
+ "<s_num>": 32043,
46
+ "<s_othersvc_price>": 32051,
47
+ "<s_price>": 32009,
48
+ "<s_service_price>": 32015,
49
+ "<s_sub>": 32025,
50
+ "<s_sub_total>": 32011,
51
+ "<s_subtotal_price>": 32013,
52
+ "<s_tax_price>": 32017,
53
+ "<s_total>": 32021,
54
+ "<s_total_etc>": 32039,
55
+ "<s_total_price>": 32023,
56
+ "<s_unitprice>": 32037,
57
+ "<s_vatyn>": 32053,
58
+ "<s_void_menu>": 32049
59
  }
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{% for message in messages %}{{message['role'].capitalize()}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}"
3
+ }
processor_config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "chat_template": "{% for message in messages %}{{message['role'].capitalize()}}{% if message['content'][0]['type'] == 'image' %}{{':'}}{% else %}{{': '}}{% endif %}{% for line in message['content'] %}{% if line['type'] == 'text' %}{{line['text']}}{% elif line['type'] == 'image' %}{{ '<image>' }}{% endif %}{% endfor %}<end_of_utterance>\n{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}",
3
  "image_seq_len": 64,
4
  "processor_class": "Idefics2Processor"
5
  }
 
1
  {
 
2
  "image_seq_len": 64,
3
  "processor_class": "Idefics2Processor"
4
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -52,7 +52,7 @@
52
  "special": true
53
  },
54
  "32003": {
55
- "content": "<s_year_9>",
56
  "lstrip": false,
57
  "normalized": true,
58
  "rstrip": false,
@@ -60,7 +60,7 @@
60
  "special": false
61
  },
62
  "32004": {
63
- "content": "</s_year_9>",
64
  "lstrip": false,
65
  "normalized": true,
66
  "rstrip": false,
@@ -68,7 +68,7 @@
68
  "special": false
69
  },
70
  "32005": {
71
- "content": "<s_subject>",
72
  "lstrip": false,
73
  "normalized": true,
74
  "rstrip": false,
@@ -76,7 +76,7 @@
76
  "special": false
77
  },
78
  "32006": {
79
- "content": "</s_subject>",
80
  "lstrip": false,
81
  "normalized": true,
82
  "rstrip": false,
@@ -84,7 +84,7 @@
84
  "special": false
85
  },
86
  "32007": {
87
- "content": "<s_grade>",
88
  "lstrip": false,
89
  "normalized": true,
90
  "rstrip": false,
@@ -92,7 +92,7 @@
92
  "special": false
93
  },
94
  "32008": {
95
- "content": "</s_grade>",
96
  "lstrip": false,
97
  "normalized": true,
98
  "rstrip": false,
@@ -100,7 +100,7 @@
100
  "special": false
101
  },
102
  "32009": {
103
- "content": "<s_year_10>",
104
  "lstrip": false,
105
  "normalized": true,
106
  "rstrip": false,
@@ -108,7 +108,7 @@
108
  "special": false
109
  },
110
  "32010": {
111
- "content": "</s_year_10>",
112
  "lstrip": false,
113
  "normalized": true,
114
  "rstrip": false,
@@ -116,7 +116,7 @@
116
  "special": false
117
  },
118
  "32011": {
119
- "content": "<s_year_11>",
120
  "lstrip": false,
121
  "normalized": true,
122
  "rstrip": false,
@@ -124,7 +124,7 @@
124
  "special": false
125
  },
126
  "32012": {
127
- "content": "</s_year_11>",
128
  "lstrip": false,
129
  "normalized": true,
130
  "rstrip": false,
@@ -132,7 +132,7 @@
132
  "special": false
133
  },
134
  "32013": {
135
- "content": "<s_year_12>",
136
  "lstrip": false,
137
  "normalized": true,
138
  "rstrip": false,
@@ -140,7 +140,343 @@
140
  "special": false
141
  },
142
  "32014": {
143
- "content": "</s_year_12>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  "lstrip": false,
145
  "normalized": true,
146
  "rstrip": false,
 
52
  "special": true
53
  },
54
  "32003": {
55
+ "content": "<s_menu>",
56
  "lstrip": false,
57
  "normalized": true,
58
  "rstrip": false,
 
60
  "special": false
61
  },
62
  "32004": {
63
+ "content": "</s_menu>",
64
  "lstrip": false,
65
  "normalized": true,
66
  "rstrip": false,
 
68
  "special": false
69
  },
70
  "32005": {
71
+ "content": "<s_nm>",
72
  "lstrip": false,
73
  "normalized": true,
74
  "rstrip": false,
 
76
  "special": false
77
  },
78
  "32006": {
79
+ "content": "</s_nm>",
80
  "lstrip": false,
81
  "normalized": true,
82
  "rstrip": false,
 
84
  "special": false
85
  },
86
  "32007": {
87
+ "content": "<s_cnt>",
88
  "lstrip": false,
89
  "normalized": true,
90
  "rstrip": false,
 
92
  "special": false
93
  },
94
  "32008": {
95
+ "content": "</s_cnt>",
96
  "lstrip": false,
97
  "normalized": true,
98
  "rstrip": false,
 
100
  "special": false
101
  },
102
  "32009": {
103
+ "content": "<s_price>",
104
  "lstrip": false,
105
  "normalized": true,
106
  "rstrip": false,
 
108
  "special": false
109
  },
110
  "32010": {
111
+ "content": "</s_price>",
112
  "lstrip": false,
113
  "normalized": true,
114
  "rstrip": false,
 
116
  "special": false
117
  },
118
  "32011": {
119
+ "content": "<s_sub_total>",
120
  "lstrip": false,
121
  "normalized": true,
122
  "rstrip": false,
 
124
  "special": false
125
  },
126
  "32012": {
127
+ "content": "</s_sub_total>",
128
  "lstrip": false,
129
  "normalized": true,
130
  "rstrip": false,
 
132
  "special": false
133
  },
134
  "32013": {
135
+ "content": "<s_subtotal_price>",
136
  "lstrip": false,
137
  "normalized": true,
138
  "rstrip": false,
 
140
  "special": false
141
  },
142
  "32014": {
143
+ "content": "</s_subtotal_price>",
144
+ "lstrip": false,
145
+ "normalized": true,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "32015": {
151
+ "content": "<s_service_price>",
152
+ "lstrip": false,
153
+ "normalized": true,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "32016": {
159
+ "content": "</s_service_price>",
160
+ "lstrip": false,
161
+ "normalized": true,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "32017": {
167
+ "content": "<s_tax_price>",
168
+ "lstrip": false,
169
+ "normalized": true,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "32018": {
175
+ "content": "</s_tax_price>",
176
+ "lstrip": false,
177
+ "normalized": true,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "32019": {
183
+ "content": "<s_etc>",
184
+ "lstrip": false,
185
+ "normalized": true,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "32020": {
191
+ "content": "</s_etc>",
192
+ "lstrip": false,
193
+ "normalized": true,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "32021": {
199
+ "content": "<s_total>",
200
+ "lstrip": false,
201
+ "normalized": true,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": false
205
+ },
206
+ "32022": {
207
+ "content": "</s_total>",
208
+ "lstrip": false,
209
+ "normalized": true,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": false
213
+ },
214
+ "32023": {
215
+ "content": "<s_total_price>",
216
+ "lstrip": false,
217
+ "normalized": true,
218
+ "rstrip": false,
219
+ "single_word": false,
220
+ "special": false
221
+ },
222
+ "32024": {
223
+ "content": "</s_total_price>",
224
+ "lstrip": false,
225
+ "normalized": true,
226
+ "rstrip": false,
227
+ "single_word": false,
228
+ "special": false
229
+ },
230
+ "32025": {
231
+ "content": "<s_sub>",
232
+ "lstrip": false,
233
+ "normalized": true,
234
+ "rstrip": false,
235
+ "single_word": false,
236
+ "special": false
237
+ },
238
+ "32026": {
239
+ "content": "</s_sub>",
240
+ "lstrip": false,
241
+ "normalized": true,
242
+ "rstrip": false,
243
+ "single_word": false,
244
+ "special": false
245
+ },
246
+ "32027": {
247
+ "content": "<s_cashprice>",
248
+ "lstrip": false,
249
+ "normalized": true,
250
+ "rstrip": false,
251
+ "single_word": false,
252
+ "special": false
253
+ },
254
+ "32028": {
255
+ "content": "</s_cashprice>",
256
+ "lstrip": false,
257
+ "normalized": true,
258
+ "rstrip": false,
259
+ "single_word": false,
260
+ "special": false
261
+ },
262
+ "32029": {
263
+ "content": "<s_changeprice>",
264
+ "lstrip": false,
265
+ "normalized": true,
266
+ "rstrip": false,
267
+ "single_word": false,
268
+ "special": false
269
+ },
270
+ "32030": {
271
+ "content": "</s_changeprice>",
272
+ "lstrip": false,
273
+ "normalized": true,
274
+ "rstrip": false,
275
+ "single_word": false,
276
+ "special": false
277
+ },
278
+ "32031": {
279
+ "content": "<s_menutype_cnt>",
280
+ "lstrip": false,
281
+ "normalized": true,
282
+ "rstrip": false,
283
+ "single_word": false,
284
+ "special": false
285
+ },
286
+ "32032": {
287
+ "content": "</s_menutype_cnt>",
288
+ "lstrip": false,
289
+ "normalized": true,
290
+ "rstrip": false,
291
+ "single_word": false,
292
+ "special": false
293
+ },
294
+ "32033": {
295
+ "content": "<s_menuqty_cnt>",
296
+ "lstrip": false,
297
+ "normalized": true,
298
+ "rstrip": false,
299
+ "single_word": false,
300
+ "special": false
301
+ },
302
+ "32034": {
303
+ "content": "</s_menuqty_cnt>",
304
+ "lstrip": false,
305
+ "normalized": true,
306
+ "rstrip": false,
307
+ "single_word": false,
308
+ "special": false
309
+ },
310
+ "32035": {
311
+ "content": "<s_discount_price>",
312
+ "lstrip": false,
313
+ "normalized": true,
314
+ "rstrip": false,
315
+ "single_word": false,
316
+ "special": false
317
+ },
318
+ "32036": {
319
+ "content": "</s_discount_price>",
320
+ "lstrip": false,
321
+ "normalized": true,
322
+ "rstrip": false,
323
+ "single_word": false,
324
+ "special": false
325
+ },
326
+ "32037": {
327
+ "content": "<s_unitprice>",
328
+ "lstrip": false,
329
+ "normalized": true,
330
+ "rstrip": false,
331
+ "single_word": false,
332
+ "special": false
333
+ },
334
+ "32038": {
335
+ "content": "</s_unitprice>",
336
+ "lstrip": false,
337
+ "normalized": true,
338
+ "rstrip": false,
339
+ "single_word": false,
340
+ "special": false
341
+ },
342
+ "32039": {
343
+ "content": "<s_total_etc>",
344
+ "lstrip": false,
345
+ "normalized": true,
346
+ "rstrip": false,
347
+ "single_word": false,
348
+ "special": false
349
+ },
350
+ "32040": {
351
+ "content": "</s_total_etc>",
352
+ "lstrip": false,
353
+ "normalized": true,
354
+ "rstrip": false,
355
+ "single_word": false,
356
+ "special": false
357
+ },
358
+ "32041": {
359
+ "content": "<s_creditcardprice>",
360
+ "lstrip": false,
361
+ "normalized": true,
362
+ "rstrip": false,
363
+ "single_word": false,
364
+ "special": false
365
+ },
366
+ "32042": {
367
+ "content": "</s_creditcardprice>",
368
+ "lstrip": false,
369
+ "normalized": true,
370
+ "rstrip": false,
371
+ "single_word": false,
372
+ "special": false
373
+ },
374
+ "32043": {
375
+ "content": "<s_num>",
376
+ "lstrip": false,
377
+ "normalized": true,
378
+ "rstrip": false,
379
+ "single_word": false,
380
+ "special": false
381
+ },
382
+ "32044": {
383
+ "content": "</s_num>",
384
+ "lstrip": false,
385
+ "normalized": true,
386
+ "rstrip": false,
387
+ "single_word": false,
388
+ "special": false
389
+ },
390
+ "32045": {
391
+ "content": "<s_discountprice>",
392
+ "lstrip": false,
393
+ "normalized": true,
394
+ "rstrip": false,
395
+ "single_word": false,
396
+ "special": false
397
+ },
398
+ "32046": {
399
+ "content": "</s_discountprice>",
400
+ "lstrip": false,
401
+ "normalized": true,
402
+ "rstrip": false,
403
+ "single_word": false,
404
+ "special": false
405
+ },
406
+ "32047": {
407
+ "content": "<s_emoneyprice>",
408
+ "lstrip": false,
409
+ "normalized": true,
410
+ "rstrip": false,
411
+ "single_word": false,
412
+ "special": false
413
+ },
414
+ "32048": {
415
+ "content": "</s_emoneyprice>",
416
+ "lstrip": false,
417
+ "normalized": true,
418
+ "rstrip": false,
419
+ "single_word": false,
420
+ "special": false
421
+ },
422
+ "32049": {
423
+ "content": "<s_void_menu>",
424
+ "lstrip": false,
425
+ "normalized": true,
426
+ "rstrip": false,
427
+ "single_word": false,
428
+ "special": false
429
+ },
430
+ "32050": {
431
+ "content": "</s_void_menu>",
432
+ "lstrip": false,
433
+ "normalized": true,
434
+ "rstrip": false,
435
+ "single_word": false,
436
+ "special": false
437
+ },
438
+ "32051": {
439
+ "content": "<s_othersvc_price>",
440
+ "lstrip": false,
441
+ "normalized": true,
442
+ "rstrip": false,
443
+ "single_word": false,
444
+ "special": false
445
+ },
446
+ "32052": {
447
+ "content": "</s_othersvc_price>",
448
+ "lstrip": false,
449
+ "normalized": true,
450
+ "rstrip": false,
451
+ "single_word": false,
452
+ "special": false
453
+ },
454
+ "32053": {
455
+ "content": "<s_vatyn>",
456
+ "lstrip": false,
457
+ "normalized": true,
458
+ "rstrip": false,
459
+ "single_word": false,
460
+ "special": false
461
+ },
462
+ "32054": {
463
+ "content": "</s_vatyn>",
464
+ "lstrip": false,
465
+ "normalized": true,
466
+ "rstrip": false,
467
+ "single_word": false,
468
+ "special": false
469
+ },
470
+ "32055": {
471
+ "content": "<s_itemsubtotal>",
472
+ "lstrip": false,
473
+ "normalized": true,
474
+ "rstrip": false,
475
+ "single_word": false,
476
+ "special": false
477
+ },
478
+ "32056": {
479
+ "content": "</s_itemsubtotal>",
480
  "lstrip": false,
481
  "normalized": true,
482
  "rstrip": false,