alexbeta80 commited on
Commit
a2348f3
1 Parent(s): be7e59b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: naver-clova-ix/donut-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ model-index:
9
+ - name: donut-test
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
+ # donut-test
17
+
18
+ This model is a fine-tuned version of [naver-clova-ix/donut-base](https://huggingface.co/naver-clova-ix/donut-base) on the imagefolder 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: 2e-05
38
+ - train_batch_size: 2
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 1
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.34.0
52
+ - Pytorch 2.1.0+cu121
53
+ - Datasets 2.14.5
54
+ - Tokenizers 0.14.1
added_tokens.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s>": 2,
3
+ "</s_Consignee>": 57536,
4
+ "</s_Consignee_Country>": 57533,
5
+ "</s_Consignor>": 57549,
6
+ "</s_Consignor_Country>": 57535,
7
+ "</s_Goods_Description>": 57541,
8
+ "</s_Marks>": 57548,
9
+ "</s_Notify>": 57540,
10
+ "</s_Notify_Country>": 57529,
11
+ "</s_Second_Notify>": 57546,
12
+ "</s_Second_Notify_Country>": 57532,
13
+ "</s_Total_Packages>": 57550,
14
+ "</s_Total_Volume>": 57547,
15
+ "</s_Total_Weight>": 57544,
16
+ "<mask>": 57521,
17
+ "<pad>": 1,
18
+ "<s>": 0,
19
+ "<s_Consignee>": 57545,
20
+ "<s_Consignee_Country>": 57528,
21
+ "<s_Consignor>": 57530,
22
+ "<s_Consignor_Country>": 57527,
23
+ "<s_Goods_Description>": 57534,
24
+ "<s_Marks>": 57538,
25
+ "<s_Notify>": 57526,
26
+ "<s_Notify_Country>": 57531,
27
+ "<s_Second_Notify>": 57542,
28
+ "<s_Second_Notify_Country>": 57537,
29
+ "<s_Total_Packages>": 57525,
30
+ "<s_Total_Volume>": 57543,
31
+ "<s_Total_Weight>": 57539,
32
+ "<s_iitcdip>": 57523,
33
+ "<s_synthdog>": 57524,
34
+ "<sep/>": 57522,
35
+ "<unk>": 3
36
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "forced_eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.34.0"
8
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_align_long_axis": false,
3
+ "do_normalize": true,
4
+ "do_pad": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "do_thumbnail": true,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "DonutImageProcessor",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "DonutProcessor",
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": [
23
+ 720,
24
+ 960
25
+ ]
26
+ }
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb9e3dce4c326195d08fc3dd0f7e2eee1da8595c847bf4c1a9c78b7a82d47e2d
3
+ size 1296245
special_tokens_map.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s_iitcdip>",
4
+ "<s_synthdog>",
5
+ "<s_Total_Packages>",
6
+ "<s_Notify>",
7
+ "<s_Consignor_Country>",
8
+ "<s_Consignee_Country>",
9
+ "</s_Notify_Country>",
10
+ "<s_Consignor>",
11
+ "<s_Notify_Country>",
12
+ "</s_Second_Notify_Country>",
13
+ "</s_Consignee_Country>",
14
+ "<s_Goods_Description>",
15
+ "</s_Consignor_Country>",
16
+ "</s_Consignee>",
17
+ "<s_Second_Notify_Country>",
18
+ "<s_Marks>",
19
+ "<s>",
20
+ "<s_Total_Weight>",
21
+ "</s_Notify>",
22
+ "</s_Goods_Description>",
23
+ "<s_Second_Notify>",
24
+ "<s_Total_Volume>",
25
+ "</s_Total_Weight>",
26
+ "</s>",
27
+ "<s_Consignee>",
28
+ "</s_Second_Notify>",
29
+ "</s_Total_Volume>",
30
+ "</s_Marks>",
31
+ "</s_Consignor>",
32
+ "</s_Total_Packages>"
33
+ ],
34
+ "bos_token": "<s>",
35
+ "cls_token": "<s>",
36
+ "eos_token": "</s>",
37
+ "mask_token": "<mask>",
38
+ "pad_token": "<pad>",
39
+ "sep_token": "</s>",
40
+ "unk_token": "<unk>"
41
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": true,
22
+ "normalized": false,
23
+ "rstrip": true,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "57521": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "57522": {
44
+ "content": "<sep/>",
45
+ "lstrip": false,
46
+ "normalized": true,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": false
50
+ },
51
+ "57523": {
52
+ "content": "<s_iitcdip>",
53
+ "lstrip": true,
54
+ "normalized": false,
55
+ "rstrip": true,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "57524": {
60
+ "content": "<s_synthdog>",
61
+ "lstrip": true,
62
+ "normalized": false,
63
+ "rstrip": true,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "57525": {
68
+ "content": "<s_Total_Packages>",
69
+ "lstrip": true,
70
+ "normalized": false,
71
+ "rstrip": true,
72
+ "single_word": false,
73
+ "special": true
74
+ },
75
+ "57526": {
76
+ "content": "<s_Notify>",
77
+ "lstrip": true,
78
+ "normalized": false,
79
+ "rstrip": true,
80
+ "single_word": false,
81
+ "special": true
82
+ },
83
+ "57527": {
84
+ "content": "<s_Consignor_Country>",
85
+ "lstrip": true,
86
+ "normalized": false,
87
+ "rstrip": true,
88
+ "single_word": false,
89
+ "special": true
90
+ },
91
+ "57528": {
92
+ "content": "<s_Consignee_Country>",
93
+ "lstrip": true,
94
+ "normalized": false,
95
+ "rstrip": true,
96
+ "single_word": false,
97
+ "special": true
98
+ },
99
+ "57529": {
100
+ "content": "</s_Notify_Country>",
101
+ "lstrip": true,
102
+ "normalized": false,
103
+ "rstrip": true,
104
+ "single_word": false,
105
+ "special": true
106
+ },
107
+ "57530": {
108
+ "content": "<s_Consignor>",
109
+ "lstrip": true,
110
+ "normalized": false,
111
+ "rstrip": true,
112
+ "single_word": false,
113
+ "special": true
114
+ },
115
+ "57531": {
116
+ "content": "<s_Notify_Country>",
117
+ "lstrip": true,
118
+ "normalized": false,
119
+ "rstrip": true,
120
+ "single_word": false,
121
+ "special": true
122
+ },
123
+ "57532": {
124
+ "content": "</s_Second_Notify_Country>",
125
+ "lstrip": true,
126
+ "normalized": false,
127
+ "rstrip": true,
128
+ "single_word": false,
129
+ "special": true
130
+ },
131
+ "57533": {
132
+ "content": "</s_Consignee_Country>",
133
+ "lstrip": true,
134
+ "normalized": false,
135
+ "rstrip": true,
136
+ "single_word": false,
137
+ "special": true
138
+ },
139
+ "57534": {
140
+ "content": "<s_Goods_Description>",
141
+ "lstrip": true,
142
+ "normalized": false,
143
+ "rstrip": true,
144
+ "single_word": false,
145
+ "special": true
146
+ },
147
+ "57535": {
148
+ "content": "</s_Consignor_Country>",
149
+ "lstrip": true,
150
+ "normalized": false,
151
+ "rstrip": true,
152
+ "single_word": false,
153
+ "special": true
154
+ },
155
+ "57536": {
156
+ "content": "</s_Consignee>",
157
+ "lstrip": true,
158
+ "normalized": false,
159
+ "rstrip": true,
160
+ "single_word": false,
161
+ "special": true
162
+ },
163
+ "57537": {
164
+ "content": "<s_Second_Notify_Country>",
165
+ "lstrip": true,
166
+ "normalized": false,
167
+ "rstrip": true,
168
+ "single_word": false,
169
+ "special": true
170
+ },
171
+ "57538": {
172
+ "content": "<s_Marks>",
173
+ "lstrip": true,
174
+ "normalized": false,
175
+ "rstrip": true,
176
+ "single_word": false,
177
+ "special": true
178
+ },
179
+ "57539": {
180
+ "content": "<s_Total_Weight>",
181
+ "lstrip": true,
182
+ "normalized": false,
183
+ "rstrip": true,
184
+ "single_word": false,
185
+ "special": true
186
+ },
187
+ "57540": {
188
+ "content": "</s_Notify>",
189
+ "lstrip": true,
190
+ "normalized": false,
191
+ "rstrip": true,
192
+ "single_word": false,
193
+ "special": true
194
+ },
195
+ "57541": {
196
+ "content": "</s_Goods_Description>",
197
+ "lstrip": true,
198
+ "normalized": false,
199
+ "rstrip": true,
200
+ "single_word": false,
201
+ "special": true
202
+ },
203
+ "57542": {
204
+ "content": "<s_Second_Notify>",
205
+ "lstrip": true,
206
+ "normalized": false,
207
+ "rstrip": true,
208
+ "single_word": false,
209
+ "special": true
210
+ },
211
+ "57543": {
212
+ "content": "<s_Total_Volume>",
213
+ "lstrip": true,
214
+ "normalized": false,
215
+ "rstrip": true,
216
+ "single_word": false,
217
+ "special": true
218
+ },
219
+ "57544": {
220
+ "content": "</s_Total_Weight>",
221
+ "lstrip": true,
222
+ "normalized": false,
223
+ "rstrip": true,
224
+ "single_word": false,
225
+ "special": true
226
+ },
227
+ "57545": {
228
+ "content": "<s_Consignee>",
229
+ "lstrip": true,
230
+ "normalized": false,
231
+ "rstrip": true,
232
+ "single_word": false,
233
+ "special": true
234
+ },
235
+ "57546": {
236
+ "content": "</s_Second_Notify>",
237
+ "lstrip": true,
238
+ "normalized": false,
239
+ "rstrip": true,
240
+ "single_word": false,
241
+ "special": true
242
+ },
243
+ "57547": {
244
+ "content": "</s_Total_Volume>",
245
+ "lstrip": true,
246
+ "normalized": false,
247
+ "rstrip": true,
248
+ "single_word": false,
249
+ "special": true
250
+ },
251
+ "57548": {
252
+ "content": "</s_Marks>",
253
+ "lstrip": true,
254
+ "normalized": false,
255
+ "rstrip": true,
256
+ "single_word": false,
257
+ "special": true
258
+ },
259
+ "57549": {
260
+ "content": "</s_Consignor>",
261
+ "lstrip": true,
262
+ "normalized": false,
263
+ "rstrip": true,
264
+ "single_word": false,
265
+ "special": true
266
+ },
267
+ "57550": {
268
+ "content": "</s_Total_Packages>",
269
+ "lstrip": true,
270
+ "normalized": false,
271
+ "rstrip": true,
272
+ "single_word": false,
273
+ "special": true
274
+ }
275
+ },
276
+ "additional_special_tokens": [
277
+ "<s_iitcdip>",
278
+ "<s_synthdog>",
279
+ "<s_Total_Packages>",
280
+ "<s_Notify>",
281
+ "<s_Consignor_Country>",
282
+ "<s_Consignee_Country>",
283
+ "</s_Notify_Country>",
284
+ "<s_Consignor>",
285
+ "<s_Notify_Country>",
286
+ "</s_Second_Notify_Country>",
287
+ "</s_Consignee_Country>",
288
+ "<s_Goods_Description>",
289
+ "</s_Consignor_Country>",
290
+ "</s_Consignee>",
291
+ "<s_Second_Notify_Country>",
292
+ "<s_Marks>",
293
+ "<s>",
294
+ "<s_Total_Weight>",
295
+ "</s_Notify>",
296
+ "</s_Goods_Description>",
297
+ "<s_Second_Notify>",
298
+ "<s_Total_Volume>",
299
+ "</s_Total_Weight>",
300
+ "</s>",
301
+ "<s_Consignee>",
302
+ "</s_Second_Notify>",
303
+ "</s_Total_Volume>",
304
+ "</s_Marks>",
305
+ "</s_Consignor>",
306
+ "</s_Total_Packages>"
307
+ ],
308
+ "bos_token": "<s>",
309
+ "clean_up_tokenization_spaces": true,
310
+ "cls_token": "<s>",
311
+ "eos_token": "</s>",
312
+ "mask_token": "<mask>",
313
+ "model_max_length": 1000000000000000019884624838656,
314
+ "pad_token": "<pad>",
315
+ "processor_class": "DonutProcessor",
316
+ "sep_token": "</s>",
317
+ "sp_model_kwargs": {},
318
+ "tokenizer_class": "XLMRobertaTokenizer",
319
+ "unk_token": "<unk>"
320
+ }