End of training
Browse files- README.md +54 -0
- added_tokens.json +66 -0
- generation_config.json +8 -0
- preprocessor_config.json +26 -0
- runs/Jul24_06-12-34_946d29c4ad81/events.out.tfevents.1690179385.946d29c4ad81.1106.0 +2 -2
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +27 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: naver-clova-ix/donut-base-finetuned-cord-v2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: donut-base-cord-sroie
|
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-base-cord-sroie
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [naver-clova-ix/donut-base-finetuned-cord-v2](https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v2) 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: 3
|
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: 20
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.31.0
|
52 |
+
- Pytorch 2.0.1+cu118
|
53 |
+
- Datasets 2.13.1
|
54 |
+
- Tokenizers 0.13.3
|
added_tokens.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_address>": 57585,
|
3 |
+
"</s_cashprice>": 57549,
|
4 |
+
"</s_changeprice>": 57551,
|
5 |
+
"</s_cnt>": 57529,
|
6 |
+
"</s_company>": 57583,
|
7 |
+
"</s_creditcardprice>": 57563,
|
8 |
+
"</s_date>": 57581,
|
9 |
+
"</s_discount_price>": 57557,
|
10 |
+
"</s_discountprice>": 57567,
|
11 |
+
"</s_emoneyprice>": 57569,
|
12 |
+
"</s_etc>": 57541,
|
13 |
+
"</s_itemsubtotal>": 57577,
|
14 |
+
"</s_menu>": 57525,
|
15 |
+
"</s_menuqty_cnt>": 57555,
|
16 |
+
"</s_menutype_cnt>": 57553,
|
17 |
+
"</s_nm>": 57527,
|
18 |
+
"</s_num>": 57565,
|
19 |
+
"</s_othersvc_price>": 57573,
|
20 |
+
"</s_price>": 57531,
|
21 |
+
"</s_service_price>": 57537,
|
22 |
+
"</s_sub>": 57547,
|
23 |
+
"</s_sub_total>": 57533,
|
24 |
+
"</s_subtotal_price>": 57535,
|
25 |
+
"</s_tax_price>": 57539,
|
26 |
+
"</s_total>": 57543,
|
27 |
+
"</s_total_etc>": 57561,
|
28 |
+
"</s_total_price>": 57545,
|
29 |
+
"</s_unitprice>": 57559,
|
30 |
+
"</s_vatyn>": 57575,
|
31 |
+
"</s_void_menu>": 57571,
|
32 |
+
"<s_address>": 57584,
|
33 |
+
"<s_cashprice>": 57550,
|
34 |
+
"<s_changeprice>": 57552,
|
35 |
+
"<s_cnt>": 57530,
|
36 |
+
"<s_company>": 57582,
|
37 |
+
"<s_cord-v2>": 57579,
|
38 |
+
"<s_creditcardprice>": 57564,
|
39 |
+
"<s_date>": 57580,
|
40 |
+
"<s_discount_price>": 57558,
|
41 |
+
"<s_discountprice>": 57568,
|
42 |
+
"<s_emoneyprice>": 57570,
|
43 |
+
"<s_etc>": 57542,
|
44 |
+
"<s_iitcdip>": 57523,
|
45 |
+
"<s_itemsubtotal>": 57578,
|
46 |
+
"<s_menu>": 57526,
|
47 |
+
"<s_menuqty_cnt>": 57556,
|
48 |
+
"<s_menutype_cnt>": 57554,
|
49 |
+
"<s_nm>": 57528,
|
50 |
+
"<s_num>": 57566,
|
51 |
+
"<s_othersvc_price>": 57574,
|
52 |
+
"<s_price>": 57532,
|
53 |
+
"<s_service_price>": 57538,
|
54 |
+
"<s_sub>": 57548,
|
55 |
+
"<s_sub_total>": 57534,
|
56 |
+
"<s_subtotal_price>": 57536,
|
57 |
+
"<s_synthdog>": 57524,
|
58 |
+
"<s_tax_price>": 57540,
|
59 |
+
"<s_total>": 57544,
|
60 |
+
"<s_total_etc>": 57562,
|
61 |
+
"<s_total_price>": 57546,
|
62 |
+
"<s_unitprice>": 57560,
|
63 |
+
"<s_vatyn>": 57576,
|
64 |
+
"<s_void_menu>": 57572,
|
65 |
+
"<sep/>": 57522
|
66 |
+
}
|
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.31.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 |
+
}
|
runs/Jul24_06-12-34_946d29c4ad81/events.out.tfevents.1690179385.946d29c4ad81.1106.0
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:863e9457e8c52c7f29f0c2fd228589a40af3a7f1ec07cd8032ce14dc17a40a24
|
3 |
+
size 9124
|
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,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s_total>",
|
4 |
+
"</s_total>",
|
5 |
+
"<s_date>",
|
6 |
+
"</s_date>",
|
7 |
+
"<s_company>",
|
8 |
+
"</s_company>",
|
9 |
+
"<s_address>",
|
10 |
+
"</s_address>",
|
11 |
+
"<s>",
|
12 |
+
"</s>"
|
13 |
+
],
|
14 |
+
"bos_token": "<s>",
|
15 |
+
"cls_token": "<s>",
|
16 |
+
"eos_token": "</s>",
|
17 |
+
"mask_token": {
|
18 |
+
"content": "<mask>",
|
19 |
+
"lstrip": true,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
"pad_token": "<pad>",
|
25 |
+
"sep_token": "</s>",
|
26 |
+
"unk_token": "<unk>"
|
27 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"mask_token": {
|
7 |
+
"__type": "AddedToken",
|
8 |
+
"content": "<mask>",
|
9 |
+
"lstrip": true,
|
10 |
+
"normalized": true,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false
|
13 |
+
},
|
14 |
+
"model_max_length": 1000000000000000019884624838656,
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"processor_class": "DonutProcessor",
|
17 |
+
"sep_token": "</s>",
|
18 |
+
"sp_model_kwargs": {},
|
19 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
20 |
+
"unk_token": "<unk>"
|
21 |
+
}
|