Sebabrata commited on
Commit
db342ce
·
1 Parent(s): 1a2578a

End of training

Browse files
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-invoice-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-invoice-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,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s_due_date>": 57540,
3
+ "</s_invoice_date>": 57538,
4
+ "</s_invoice_id>": 57536,
5
+ "</s_payment_terms>": 57546,
6
+ "</s_receiver_address>": 57534,
7
+ "</s_receiver_name>": 57532,
8
+ "</s_sub_total>": 57542,
9
+ "</s_supplier_address>": 57530,
10
+ "</s_supplier_name>": 57528,
11
+ "</s_tax_amount>": 57544,
12
+ "</s_total>": 57526,
13
+ "<s_due_date>": 57539,
14
+ "<s_iitcdip>": 57523,
15
+ "<s_invoice_date>": 57537,
16
+ "<s_invoice_id>": 57535,
17
+ "<s_payment_terms>": 57545,
18
+ "<s_receiver_address>": 57533,
19
+ "<s_receiver_name>": 57531,
20
+ "<s_sub_total>": 57541,
21
+ "<s_supplier_address>": 57529,
22
+ "<s_supplier_name>": 57527,
23
+ "<s_synthdog>": 57524,
24
+ "<s_tax_amount>": 57543,
25
+ "<s_total>": 57525,
26
+ "<sep/>": 57522
27
+ }
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:b8b085ac2c4c76176feb89becde020af2b894b257ab3c3e1c56b14ebb5760ee3
3
  size 809269017
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5a69cf3bc64ad976479a5639d5b1a24eb0a170d35ba420a4d879d93562d036a
3
  size 809269017
runs/Nov15_06-38-07_instance-gp-s/events.out.tfevents.1668494316.instance-gp-s.3147.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3fdde1bd25b2e39548f0e1b4b64e9580d70b766b1afc03fc0c183fca8574593
3
- size 8828
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f376adc7b8a39d1c80ddd069b603f43eb12568b434fffa9088b779a58376fcf9
3
+ size 22527
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_total>",
4
+ "</s_total>",
5
+ "<s_supplier_name>",
6
+ "</s_supplier_name>",
7
+ "<s_supplier_address>",
8
+ "</s_supplier_address>",
9
+ "<s_receiver_name>",
10
+ "</s_receiver_name>",
11
+ "<s_receiver_address>",
12
+ "</s_receiver_address>",
13
+ "<s_invoice_id>",
14
+ "</s_invoice_id>",
15
+ "<s_invoice_date>",
16
+ "</s_invoice_date>",
17
+ "<s_due_date>",
18
+ "</s_due_date>",
19
+ "<s_sub_total>",
20
+ "</s_sub_total>",
21
+ "<s_tax_amount>",
22
+ "</s_tax_amount>",
23
+ "<s_payment_terms>",
24
+ "</s_payment_terms>",
25
+ "<s>",
26
+ "</s>"
27
+ ],
28
+ "bos_token": "<s>",
29
+ "cls_token": "<s>",
30
+ "eos_token": "</s>",
31
+ "mask_token": {
32
+ "content": "<mask>",
33
+ "lstrip": true,
34
+ "normalized": true,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ },
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,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
+ }