End of training
Browse files- README.md +54 -0
- added_tokens.json +21 -0
- preprocessor_config.json +24 -0
- pytorch_model.bin +1 -1
- runs/Nov17_03-28-47_instance-gp-s/events.out.tfevents.1668655735.instance-gp-s.4502.0 +2 -2
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +35 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- imagefolder
|
7 |
+
model-index:
|
8 |
+
- name: dof-receipts-1
|
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 |
+
# dof-receipts-1
|
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: 3e-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: 20
|
43 |
+
- mixed_precision_training: Native AMP
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.24.0
|
52 |
+
- Pytorch 1.13.0
|
53 |
+
- Datasets 2.6.1
|
54 |
+
- Tokenizers 0.13.2
|
added_tokens.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_purchase_time>": 57538,
|
3 |
+
"</s_receipt_date>": 57536,
|
4 |
+
"</s_sub_total>": 57534,
|
5 |
+
"</s_supplier_address>": 57532,
|
6 |
+
"</s_supplier_name>": 57528,
|
7 |
+
"</s_tip_amount>": 57540,
|
8 |
+
"</s_total>": 57526,
|
9 |
+
"</s_total_tax_amount>": 57530,
|
10 |
+
"<s_iitcdip>": 57523,
|
11 |
+
"<s_purchase_time>": 57537,
|
12 |
+
"<s_receipt_date>": 57535,
|
13 |
+
"<s_sub_total>": 57533,
|
14 |
+
"<s_supplier_address>": 57531,
|
15 |
+
"<s_supplier_name>": 57527,
|
16 |
+
"<s_synthdog>": 57524,
|
17 |
+
"<s_tip_amount>": 57539,
|
18 |
+
"<s_total>": 57525,
|
19 |
+
"<s_total_tax_amount>": 57529,
|
20 |
+
"<sep/>": 57522
|
21 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_align_long_axis": false,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_pad": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"do_thumbnail": true,
|
7 |
+
"feature_extractor_type": "DonutFeatureExtractor",
|
8 |
+
"image_mean": [
|
9 |
+
0.5,
|
10 |
+
0.5,
|
11 |
+
0.5
|
12 |
+
],
|
13 |
+
"image_std": [
|
14 |
+
0.5,
|
15 |
+
0.5,
|
16 |
+
0.5
|
17 |
+
],
|
18 |
+
"processor_class": "DonutProcessor",
|
19 |
+
"resample": 2,
|
20 |
+
"size": [
|
21 |
+
960,
|
22 |
+
1280
|
23 |
+
]
|
24 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 809244441
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ede28f5ea6262c133626708e6f89fa088736e4671784db58a02a1d93b1e6258b
|
3 |
size 809244441
|
runs/Nov17_03-28-47_instance-gp-s/events.out.tfevents.1668655735.instance-gp-s.4502.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:5a983fea3aabbb28b5239e12f6adef9df5740604574e4951ceed3d14aa3cc401
|
3 |
+
size 22531
|
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,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s_total>",
|
4 |
+
"</s_total>",
|
5 |
+
"<s_supplier_name>",
|
6 |
+
"</s_supplier_name>",
|
7 |
+
"<s_total_tax_amount>",
|
8 |
+
"</s_total_tax_amount>",
|
9 |
+
"<s_supplier_address>",
|
10 |
+
"</s_supplier_address>",
|
11 |
+
"<s_sub_total>",
|
12 |
+
"</s_sub_total>",
|
13 |
+
"<s_receipt_date>",
|
14 |
+
"</s_receipt_date>",
|
15 |
+
"<s_purchase_time>",
|
16 |
+
"</s_purchase_time>",
|
17 |
+
"<s_tip_amount>",
|
18 |
+
"</s_tip_amount>",
|
19 |
+
"<s>",
|
20 |
+
"</s>"
|
21 |
+
],
|
22 |
+
"bos_token": "<s>",
|
23 |
+
"cls_token": "<s>",
|
24 |
+
"eos_token": "</s>",
|
25 |
+
"mask_token": {
|
26 |
+
"content": "<mask>",
|
27 |
+
"lstrip": true,
|
28 |
+
"normalized": true,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"pad_token": "<pad>",
|
33 |
+
"sep_token": "</s>",
|
34 |
+
"unk_token": "<unk>"
|
35 |
+
}
|
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 |
+
"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 |
+
"name_or_path": "naver-clova-ix/donut-base",
|
14 |
+
"pad_token": "<pad>",
|
15 |
+
"processor_class": "DonutProcessor",
|
16 |
+
"sep_token": "</s>",
|
17 |
+
"sp_model_kwargs": {},
|
18 |
+
"special_tokens_map_file": null,
|
19 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
20 |
+
"unk_token": "<unk>"
|
21 |
+
}
|