Sebabrata commited on
Commit
100ebfb
1 Parent(s): 7917cad

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-passport-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-passport-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: 30
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.12.1+cu113
53
+ - Datasets 2.7.0
54
+ - Tokenizers 0.13.2
added_tokens.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</s_country_code>": 57542,
3
+ "</s_date_of_birth>": 57540,
4
+ "</s_date_of_expiry>": 57538,
5
+ "</s_date_of_issue>": 57536,
6
+ "</s_given_name>": 57534,
7
+ "</s_nationality>": 57532,
8
+ "</s_passport_no>": 57530,
9
+ "</s_place_of_birth>": 57528,
10
+ "</s_place_of_issue>": 57526,
11
+ "</s_sex>": 57548,
12
+ "</s_surname>": 57546,
13
+ "</s_type>": 57544,
14
+ "<s_country_code>": 57541,
15
+ "<s_date_of_birth>": 57539,
16
+ "<s_date_of_expiry>": 57537,
17
+ "<s_date_of_issue>": 57535,
18
+ "<s_given_name>": 57533,
19
+ "<s_iitcdip>": 57523,
20
+ "<s_nationality>": 57531,
21
+ "<s_passport_no>": 57529,
22
+ "<s_place_of_birth>": 57527,
23
+ "<s_place_of_issue>": 57525,
24
+ "<s_sex>": 57547,
25
+ "<s_surname>": 57545,
26
+ "<s_synthdog>": 57524,
27
+ "<s_type>": 57543,
28
+ "<sep/>": 57522
29
+ }
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:4c397bf60eb5acb615bec1b57309cd312020c388bbdcb395654ca16b5151802d
3
  size 809273723
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ded5a7f7f86cb63b96fd6a298655745d0c8487de2e85a4776558992c1074ad27
3
  size 809273723
runs/Nov17_08-24-46_f208b1123d20/events.out.tfevents.1668673503.f208b1123d20.79.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:32475f674bdae5dd417af586f31ed40a04b6c768878e03408e802a3e7d45f75f
3
- size 8206
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:175198bc44378c05e0ce7299cba966ae40cbc6506474a1bf1ca24829efe08057
3
+ size 12639
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,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<s_place_of_issue>",
4
+ "</s_place_of_issue>",
5
+ "<s_place_of_birth>",
6
+ "</s_place_of_birth>",
7
+ "<s_passport_no>",
8
+ "</s_passport_no>",
9
+ "<s_nationality>",
10
+ "</s_nationality>",
11
+ "<s_given_name>",
12
+ "</s_given_name>",
13
+ "<s_date_of_issue>",
14
+ "</s_date_of_issue>",
15
+ "<s_date_of_expiry>",
16
+ "</s_date_of_expiry>",
17
+ "<s_date_of_birth>",
18
+ "</s_date_of_birth>",
19
+ "<s_country_code>",
20
+ "</s_country_code>",
21
+ "<s_type>",
22
+ "</s_type>",
23
+ "<s_surname>",
24
+ "</s_surname>",
25
+ "<s_sex>",
26
+ "</s_sex>",
27
+ "<s>",
28
+ "</s>"
29
+ ],
30
+ "bos_token": "<s>",
31
+ "cls_token": "<s>",
32
+ "eos_token": "</s>",
33
+ "mask_token": {
34
+ "content": "<mask>",
35
+ "lstrip": true,
36
+ "normalized": true,
37
+ "rstrip": false,
38
+ "single_word": false
39
+ },
40
+ "pad_token": "<pad>",
41
+ "sep_token": "</s>",
42
+ "unk_token": "<unk>"
43
+ }
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
+ }