End of training
Browse files- README.md +53 -0
- added_tokens.json +47 -0
- preprocessor_config.json +26 -0
- pytorch_model.bin +1 -1
- runs/Apr21_18-27-11_Sebastians-MBP/events.out.tfevents.1682094435.Sebastians-MBP +2 -2
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +61 -0
- tokenizer.json +0 -0
- tokenizer_config.json +22 -0
README.md
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
model-index:
|
8 |
+
- name: donut-commoncrawl
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# donut-commoncrawl
|
16 |
+
|
17 |
+
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.
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 2e-05
|
37 |
+
- train_batch_size: 2
|
38 |
+
- eval_batch_size: 8
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- num_epochs: 3
|
43 |
+
|
44 |
+
### Training results
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
### Framework versions
|
49 |
+
|
50 |
+
- Transformers 4.25.1
|
51 |
+
- Pytorch 1.13.0
|
52 |
+
- Datasets 2.11.0
|
53 |
+
- Tokenizers 0.13.2
|
added_tokens.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_Abstract>\n": 57554,
|
3 |
+
"</s_Address>\n": 57550,
|
4 |
+
"</s_Advertisement>\n": 57564,
|
5 |
+
"</s_Author>\n": 57540,
|
6 |
+
"</s_Caption>\n": 57544,
|
7 |
+
"</s_Field-Name>\n": 57560,
|
8 |
+
"</s_Footer>\n": 57548,
|
9 |
+
"</s_Form>\n": 57566,
|
10 |
+
"</s_Header>\n": 57542,
|
11 |
+
"</s_Headline>\n": 57538,
|
12 |
+
"</s_Link>\n": 57562,
|
13 |
+
"</s_List-item>\n": 57534,
|
14 |
+
"</s_List>\n": 57536,
|
15 |
+
"</s_Metadata>\n": 57558,
|
16 |
+
"</s_Misc>\n": 57532,
|
17 |
+
"</s_Picture>\n": 57530,
|
18 |
+
"</s_Subheadline>\n": 57528,
|
19 |
+
"</s_Table>\n": 57546,
|
20 |
+
"</s_Text>\n": 57526,
|
21 |
+
"</s_Title>\n": 57552,
|
22 |
+
"</s_Value>\n": 57556,
|
23 |
+
"<s_Abstract>\n": 57553,
|
24 |
+
"<s_Address>\n": 57549,
|
25 |
+
"<s_Advertisement>\n": 57563,
|
26 |
+
"<s_Author>\n": 57539,
|
27 |
+
"<s_Caption>\n": 57543,
|
28 |
+
"<s_Field-Name>\n": 57559,
|
29 |
+
"<s_Footer>\n": 57547,
|
30 |
+
"<s_Form>\n": 57565,
|
31 |
+
"<s_Header>\n": 57541,
|
32 |
+
"<s_Headline>\n": 57537,
|
33 |
+
"<s_Link>\n": 57561,
|
34 |
+
"<s_List-item>\n": 57533,
|
35 |
+
"<s_List>\n": 57535,
|
36 |
+
"<s_Metadata>\n": 57557,
|
37 |
+
"<s_Misc>\n": 57531,
|
38 |
+
"<s_Picture>\n": 57529,
|
39 |
+
"<s_Subheadline>\n": 57527,
|
40 |
+
"<s_Table>\n": 57545,
|
41 |
+
"<s_Text>\n": 57525,
|
42 |
+
"<s_Title>\n": 57551,
|
43 |
+
"<s_Value>\n": 57555,
|
44 |
+
"<s_iitcdip>": 57523,
|
45 |
+
"<s_synthdog>": 57524,
|
46 |
+
"<sep/>": 57522
|
47 |
+
}
|
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 |
+
1280,
|
24 |
+
1280
|
25 |
+
]
|
26 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 809344217
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e12874ad06d04125ca3c64212869817bffd693dc253ffc428895c57e342edf9
|
3 |
size 809344217
|
runs/Apr21_18-27-11_Sebastians-MBP/events.out.tfevents.1682094435.Sebastians-MBP
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9230da15267fce6086c4c8b36eb05ce0858d7b96011123beb62cedac0c72bcec
|
3 |
+
size 9202
|
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,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s_Text>\n",
|
4 |
+
"</s_Text>\n",
|
5 |
+
"<s_Subheadline>\n",
|
6 |
+
"</s_Subheadline>\n",
|
7 |
+
"<s_Picture>\n",
|
8 |
+
"</s_Picture>\n",
|
9 |
+
"<s_Misc>\n",
|
10 |
+
"</s_Misc>\n",
|
11 |
+
"<s_List-item>\n",
|
12 |
+
"</s_List-item>\n",
|
13 |
+
"<s_List>\n",
|
14 |
+
"</s_List>\n",
|
15 |
+
"<s_Headline>\n",
|
16 |
+
"</s_Headline>\n",
|
17 |
+
"<s_Author>\n",
|
18 |
+
"</s_Author>\n",
|
19 |
+
"<s_Header>\n",
|
20 |
+
"</s_Header>\n",
|
21 |
+
"<s_Caption>\n",
|
22 |
+
"</s_Caption>\n",
|
23 |
+
"<s_Table>\n",
|
24 |
+
"</s_Table>\n",
|
25 |
+
"<s_Footer>\n",
|
26 |
+
"</s_Footer>\n",
|
27 |
+
"<s_Address>\n",
|
28 |
+
"</s_Address>\n",
|
29 |
+
"<s_Title>\n",
|
30 |
+
"</s_Title>\n",
|
31 |
+
"<s_Abstract>\n",
|
32 |
+
"</s_Abstract>\n",
|
33 |
+
"<s_Value>\n",
|
34 |
+
"</s_Value>\n",
|
35 |
+
"<s_Metadata>\n",
|
36 |
+
"</s_Metadata>\n",
|
37 |
+
"<s_Field-Name>\n",
|
38 |
+
"</s_Field-Name>\n",
|
39 |
+
"<s_Link>\n",
|
40 |
+
"</s_Link>\n",
|
41 |
+
"<s_Advertisement>\n",
|
42 |
+
"</s_Advertisement>\n",
|
43 |
+
"<s_Form>\n",
|
44 |
+
"</s_Form>\n",
|
45 |
+
"<s>",
|
46 |
+
"</s>"
|
47 |
+
],
|
48 |
+
"bos_token": "<s>",
|
49 |
+
"cls_token": "<s>",
|
50 |
+
"eos_token": "</s>",
|
51 |
+
"mask_token": {
|
52 |
+
"content": "<mask>",
|
53 |
+
"lstrip": true,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false
|
57 |
+
},
|
58 |
+
"pad_token": "<pad>",
|
59 |
+
"sep_token": "</s>",
|
60 |
+
"unk_token": "<unk>"
|
61 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"__type": "AddedToken",
|
7 |
+
"content": "<mask>",
|
8 |
+
"lstrip": true,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"model_max_length": 1000000000000000019884624838656,
|
14 |
+
"name_or_path": "naver-clova-ix/donut-base",
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"processor_class": "DonutProcessor",
|
17 |
+
"sep_token": "</s>",
|
18 |
+
"sp_model_kwargs": {},
|
19 |
+
"special_tokens_map_file": null,
|
20 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
21 |
+
"unk_token": "<unk>"
|
22 |
+
}
|