iamirulofficial commited on
Commit
e2b08d7
1 Parent(s): 195639e

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<sep/>": 57522, "<s_iitcdip>": 57523, "<s_synthdog>": 57524, "</s_menu>": 57525, "<s_menu>": 57526, "</s_nm>": 57527, "<s_nm>": 57528, "</s_cnt>": 57529, "<s_cnt>": 57530, "</s_price>": 57531, "<s_price>": 57532, "</s_sub_total>": 57533, "<s_sub_total>": 57534, "</s_subtotal_price>": 57535, "<s_subtotal_price>": 57536, "</s_service_price>": 57537, "<s_service_price>": 57538, "</s_tax_price>": 57539, "<s_tax_price>": 57540, "</s_etc>": 57541, "<s_etc>": 57542, "</s_total>": 57543, "<s_total>": 57544, "</s_total_price>": 57545, "<s_total_price>": 57546, "</s_sub>": 57547, "<s_sub>": 57548, "</s_cashprice>": 57549, "<s_cashprice>": 57550, "</s_changeprice>": 57551, "<s_changeprice>": 57552, "</s_menutype_cnt>": 57553, "<s_menutype_cnt>": 57554, "</s_menuqty_cnt>": 57555, "<s_menuqty_cnt>": 57556, "</s_discount_price>": 57557, "<s_discount_price>": 57558, "</s_unitprice>": 57559, "<s_unitprice>": 57560, "</s_total_etc>": 57561, "<s_total_etc>": 57562, "</s_creditcardprice>": 57563, "<s_creditcardprice>": 57564, "</s_num>": 57565, "<s_num>": 57566, "</s_discountprice>": 57567, "<s_discountprice>": 57568, "</s_emoneyprice>": 57569, "<s_emoneyprice>": 57570, "</s_void_menu>": 57571, "<s_void_menu>": 57572, "</s_othersvc_price>": 57573, "<s_othersvc_price>": 57574, "</s_vatyn>": 57575, "<s_vatyn>": 57576, "</s_itemsubtotal>": 57577, "<s_itemsubtotal>": 57578, "<s_cord-v2>": 57579, "</s_UID>": 57580, "<s_UID>": 57581, "</s_NAME>": 57582, "<s_NAME>": 57583, "</s_GENDER>": 57584, "<s_GENDER>": 57585, "</s_DOB>": 57586, "<s_DOB>": 57587, "</s_YOP>": 57588, "<s_YOP>": 57589, "</s_SCHOOL>": 57590, "<s_SCHOOL>": 57591, "</s_MARKS>": 57592, "<s_MARKS>": 57593, "</s_BOARD>": 57594, "<s_BOARD>": 57595, "</s_STATUS>": 57596, "<s_STATUS>": 57597, "</s_STATE>": 57598, "<s_STATE>": 57599, "</s_TMARKS>": 57600, "<s_TMARKS>": 57601, "<s_idm_v2>": 57602}
artifacts.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:654137b6991761e70d306484c08c1c40f80409a922c84eeb1c4ac0c52865cffa
3
+ size 1604147011
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "naver-clova-ix/donut-base-finetuned-cord-v2",
3
+ "align_long_axis": false,
4
+ "architectures": [
5
+ "DonutModel"
6
+ ],
7
+ "decoder_layer": 4,
8
+ "encoder_layer": [
9
+ 2,
10
+ 2,
11
+ 14,
12
+ 2
13
+ ],
14
+ "input_size": [
15
+ 2560,
16
+ 1920
17
+ ],
18
+ "max_length": 128,
19
+ "max_position_embeddings": 128,
20
+ "model_type": "donut",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.11.3",
23
+ "window_size": 10
24
+ }
config.yaml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ resume_from_checkpoint_path: None
2
+ result_path: './result'
3
+ pretrained_model_name_or_path: 'naver-clova-ix/donut-base-finetuned-cord-v2'
4
+ dataset_name_or_paths:
5
+ - 'idm_v2'
6
+ sort_json_key: True
7
+ train_batch_sizes:
8
+ - 1
9
+ val_batch_sizes:
10
+ - 4
11
+ input_size:
12
+ - 2560
13
+ - 1920
14
+ max_length: 128
15
+ align_long_axis: False
16
+ num_nodes: 1
17
+ seed: 2022
18
+ lr: 3e-05
19
+ warmup_steps: 10000
20
+ num_training_samples_per_epoch: 39463
21
+ max_epochs: 300
22
+ max_steps: -1
23
+ num_workers: 8
24
+ val_check_interval: 1.0
25
+ check_val_every_n_epoch: 1
26
+ gradient_clip_val: 0.25
27
+ verbose: True
28
+ exp_name: 'train_docvqa'
29
+ exp_version: 'experiment_2'
events.out.tfevents.1695643393.ip-10-205-244-77.18275.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8db6879d33d16472609579e2470661c12aa2f7a8797e63d767b83f9dffe798b4
3
+ size 103580
hparams.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8ebf9a98d96851c256c692646b86d19f7edb118404844ce932f5ec40894fb81
3
+ size 1013007495
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 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}, "additional_special_tokens": ["<s_idm_v2>"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sp_model_kwargs": {}, "from_slow": true, "name_or_path": "naver-clova-ix/donut-base-finetuned-cord-v2", "processor_class": "DonutProcessor", "special_tokens_map_file": null, "tokenizer_file": "/home/infyscpadm/.cache/huggingface/transformers/1bbb0def15649cd8877b8ea9ce1d35c6c0b4a3ef3cae0bd6847f67cec5c0e4d0.74ac633c96bbb15e1d2c8b1a15861957f8056020dedbba9d47111e17f73cc388", "tokenizer_class": "XLMRobertaTokenizer"}