Output from training [5 Feb 24 11.50am]
Browse files- added_tokens.json +52 -0
- artifacts.ckpt +3 -0
- config.json +24 -0
- config.yaml +29 -0
- events.out.tfevents.1707103717.9c38969d081c.453.0 +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +18 -0
- tokenizer_config.json +23 -0
added_tokens.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_bill_of_lading_no>": 57527,
|
3 |
+
"</s_carrier>": 57569,
|
4 |
+
"</s_consignee>": 57531,
|
5 |
+
"</s_container_no>": 57549,
|
6 |
+
"</s_date>": 57559,
|
7 |
+
"</s_document_type>": 57525,
|
8 |
+
"</s_ex_rate>": 57565,
|
9 |
+
"</s_freight_paym>": 57563,
|
10 |
+
"</s_goods_descriptn>": 57553,
|
11 |
+
"</s_gross_weight>": 57555,
|
12 |
+
"</s_measurement>": 57557,
|
13 |
+
"</s_no_pkg_ctr>": 57551,
|
14 |
+
"</s_notify_party>": 57533,
|
15 |
+
"</s_original_bol>": 57567,
|
16 |
+
"</s_place_delivery>": 57547,
|
17 |
+
"</s_place_issued>": 57561,
|
18 |
+
"</s_place_receipt>": 57545,
|
19 |
+
"</s_port_discharge>": 57543,
|
20 |
+
"</s_port_loading>": 57541,
|
21 |
+
"</s_shipper>": 57529,
|
22 |
+
"</s_shipping_agent>": 57535,
|
23 |
+
"</s_vessel>": 57537,
|
24 |
+
"</s_voy_no>": 57539,
|
25 |
+
"<s_bill_of_lading_no>": 57528,
|
26 |
+
"<s_carrier>": 57570,
|
27 |
+
"<s_consignee>": 57532,
|
28 |
+
"<s_container_no>": 57550,
|
29 |
+
"<s_dataset>": 57571,
|
30 |
+
"<s_date>": 57560,
|
31 |
+
"<s_document_type>": 57526,
|
32 |
+
"<s_ex_rate>": 57566,
|
33 |
+
"<s_freight_paym>": 57564,
|
34 |
+
"<s_goods_descriptn>": 57554,
|
35 |
+
"<s_gross_weight>": 57556,
|
36 |
+
"<s_iitcdip>": 57523,
|
37 |
+
"<s_measurement>": 57558,
|
38 |
+
"<s_no_pkg_ctr>": 57552,
|
39 |
+
"<s_notify_party>": 57534,
|
40 |
+
"<s_original_bol>": 57568,
|
41 |
+
"<s_place_delivery>": 57548,
|
42 |
+
"<s_place_issued>": 57562,
|
43 |
+
"<s_place_receipt>": 57546,
|
44 |
+
"<s_port_discharge>": 57544,
|
45 |
+
"<s_port_loading>": 57542,
|
46 |
+
"<s_shipper>": 57530,
|
47 |
+
"<s_shipping_agent>": 57536,
|
48 |
+
"<s_synthdog>": 57524,
|
49 |
+
"<s_vessel>": 57538,
|
50 |
+
"<s_voy_no>": 57540,
|
51 |
+
"<sep/>": 57522
|
52 |
+
}
|
artifacts.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6024511b43ebaa1b97f57fe0300156c54e409ac60c4c4e7efd963b1b51f0de80
|
3 |
+
size 1609232720
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "naver-clova-ix/donut-base",
|
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 |
+
1280,
|
16 |
+
960
|
17 |
+
],
|
18 |
+
"max_length": 768,
|
19 |
+
"max_position_embeddings": 768,
|
20 |
+
"model_type": "donut",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.25.1",
|
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'
|
4 |
+
dataset_name_or_paths:
|
5 |
+
- '/content/gdrive/MyDrive/240205_DonutFinetune_BOL/dataset'
|
6 |
+
sort_json_key: False
|
7 |
+
train_batch_sizes:
|
8 |
+
- 1
|
9 |
+
val_batch_sizes:
|
10 |
+
- 1
|
11 |
+
input_size:
|
12 |
+
- 1280
|
13 |
+
- 960
|
14 |
+
max_length: 768
|
15 |
+
align_long_axis: False
|
16 |
+
num_nodes: 1
|
17 |
+
seed: 2022
|
18 |
+
lr: 3e-05
|
19 |
+
warmup_steps: 0
|
20 |
+
num_training_samples_per_epoch: 17
|
21 |
+
max_epochs: 50
|
22 |
+
max_steps: -1
|
23 |
+
num_workers: 2
|
24 |
+
val_check_interval: 1.0
|
25 |
+
check_val_every_n_epoch: 2
|
26 |
+
gradient_clip_val: 1.0
|
27 |
+
verbose: True
|
28 |
+
exp_name: 'train_alliedbol_upd'
|
29 |
+
exp_version: '20240205_032742'
|
events.out.tfevents.1707103717.9c38969d081c.453.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cca7dc4188a1060e34ad9520db54960bac82613539ee54ab6abd6c13f32691e6
|
3 |
+
size 7117
|
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,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<s_dataset>"
|
4 |
+
],
|
5 |
+
"bos_token": "<s>",
|
6 |
+
"cls_token": "<s>",
|
7 |
+
"eos_token": "</s>",
|
8 |
+
"mask_token": {
|
9 |
+
"content": "<mask>",
|
10 |
+
"lstrip": true,
|
11 |
+
"normalized": true,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
},
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"sep_token": "</s>",
|
17 |
+
"unk_token": "<unk>"
|
18 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"from_slow": true,
|
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 |
+
"name_or_path": "naver-clova-ix/donut-base",
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"processor_class": "DonutProcessor",
|
18 |
+
"sep_token": "</s>",
|
19 |
+
"sp_model_kwargs": {},
|
20 |
+
"special_tokens_map_file": null,
|
21 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
22 |
+
"unk_token": "<unk>"
|
23 |
+
}
|