Manab commited on
Commit
bcd72f0
1 Parent(s): 269f951

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-base-my_model_rapido_2_new_check_2
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-my_model_rapido_2_new_check_2
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
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.2679
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 1
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 3
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 8.7535 | 0.69 | 50 | 5.1985 |
52
+ | 4.1804 | 1.39 | 100 | 2.1736 |
53
+ | 2.1261 | 2.08 | 150 | 1.3892 |
54
+ | 1.6998 | 2.78 | 200 | 1.2679 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.31.0.dev0
60
+ - Pytorch 2.0.1+cu118
61
+ - Datasets 2.13.1
62
+ - Tokenizers 0.13.3
added_tokens.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s_Buyer Address>": 57538,
3
+ "</s_Buyer Name>": 57536,
4
+ "</s_Company Address>": 57534,
5
+ "</s_Company Name>": 57550,
6
+ "</s_Description_1>": 57548,
7
+ "</s_Description_1_price>": 57546,
8
+ "</s_Description_2>": 57544,
9
+ "</s_Description_2_price>": 57542,
10
+ "</s_Invoice Date>": 57532,
11
+ "</s_Invoice Number>": 57530,
12
+ "</s_Payment_details>": 57528,
13
+ "</s_Time of Buying>": 57540,
14
+ "</s_Total_price>": 57526,
15
+ "<s_Buyer Address>": 57537,
16
+ "<s_Buyer Name>": 57535,
17
+ "<s_Company Address>": 57533,
18
+ "<s_Company Name>": 57549,
19
+ "<s_Description_1>": 57547,
20
+ "<s_Description_1_price>": 57545,
21
+ "<s_Description_2>": 57543,
22
+ "<s_Description_2_price>": 57541,
23
+ "<s_Invoice Date>": 57531,
24
+ "<s_Invoice Number>": 57529,
25
+ "<s_Payment_details>": 57527,
26
+ "<s_Time of Buying>": 57539,
27
+ "<s_Total_price>": 57525,
28
+ "<s_iitcdip>": 57523,
29
+ "<s_synthdog>": 57524,
30
+ "<sep/>": 57522
31
+ }
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.dev0"
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/Jul07_20-30-26_f4aabf8a5de8/events.out.tfevents.1688761844.f4aabf8a5de8.284.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bfc82458ba9fa3b802fdb0a56846d57428b81754a829992f21fa3fe6d77d4310
3
- size 10385
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:449b4e003b5882a7ab4662e638d461dda81a98d3b2094713c7e907b4ab0208fe
3
+ size 10739
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,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s_Total_price>",
4
+ "</s_Total_price>",
5
+ "<s_Payment_details>",
6
+ "</s_Payment_details>",
7
+ "<s_Invoice Number>",
8
+ "</s_Invoice Number>",
9
+ "<s_Invoice Date>",
10
+ "</s_Invoice Date>",
11
+ "<s_Company Address>",
12
+ "</s_Company Address>",
13
+ "<s_Buyer Name>",
14
+ "</s_Buyer Name>",
15
+ "<s_Buyer Address>",
16
+ "</s_Buyer Address>",
17
+ "<s_Time of Buying>",
18
+ "</s_Time of Buying>",
19
+ "<s_Description_2_price>",
20
+ "</s_Description_2_price>",
21
+ "<s_Description_2>",
22
+ "</s_Description_2>",
23
+ "<s_Description_1_price>",
24
+ "</s_Description_1_price>",
25
+ "<s_Description_1>",
26
+ "</s_Description_1>",
27
+ "<s_Company Name>",
28
+ "</s_Company Name>",
29
+ "<s>",
30
+ "</s>"
31
+ ],
32
+ "bos_token": "<s>",
33
+ "cls_token": "<s>",
34
+ "eos_token": "</s>",
35
+ "mask_token": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false
41
+ },
42
+ "pad_token": "<pad>",
43
+ "sep_token": "</s>",
44
+ "unk_token": "<unk>"
45
+ }
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
+ }