alexbeta80
commited on
Commit
•
769f309
1
Parent(s):
844224c
End of training
Browse files- README.md +54 -0
- added_tokens.json +36 -0
- config.json +192 -0
- generation_config.json +8 -0
- preprocessor_config.json +26 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +41 -0
- tokenizer.json +0 -0
- tokenizer_config.json +320 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-test-alex-final
|
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-test-alex-final
|
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 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 2
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 5
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.34.0
|
52 |
+
- Pytorch 2.1.0+cu121
|
53 |
+
- Datasets 2.14.5
|
54 |
+
- Tokenizers 0.14.1
|
added_tokens.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 2,
|
3 |
+
"</s_Consignee>": 57536,
|
4 |
+
"</s_Consignee_Country>": 57533,
|
5 |
+
"</s_Consignor>": 57549,
|
6 |
+
"</s_Consignor_Country>": 57535,
|
7 |
+
"</s_Goods_Description>": 57541,
|
8 |
+
"</s_Marks>": 57548,
|
9 |
+
"</s_Notify>": 57540,
|
10 |
+
"</s_Notify_Country>": 57529,
|
11 |
+
"</s_Second_Notify>": 57546,
|
12 |
+
"</s_Second_Notify_Country>": 57532,
|
13 |
+
"</s_Total_Packages>": 57550,
|
14 |
+
"</s_Total_Volume>": 57547,
|
15 |
+
"</s_Total_Weight>": 57544,
|
16 |
+
"<mask>": 57521,
|
17 |
+
"<pad>": 1,
|
18 |
+
"<s>": 0,
|
19 |
+
"<s_Consignee>": 57545,
|
20 |
+
"<s_Consignee_Country>": 57528,
|
21 |
+
"<s_Consignor>": 57530,
|
22 |
+
"<s_Consignor_Country>": 57527,
|
23 |
+
"<s_Goods_Description>": 57534,
|
24 |
+
"<s_Marks>": 57538,
|
25 |
+
"<s_Notify>": 57525,
|
26 |
+
"<s_Notify_Country>": 57531,
|
27 |
+
"<s_Second_Notify>": 57542,
|
28 |
+
"<s_Second_Notify_Country>": 57537,
|
29 |
+
"<s_Total_Packages>": 57526,
|
30 |
+
"<s_Total_Volume>": 57543,
|
31 |
+
"<s_Total_Weight>": 57539,
|
32 |
+
"<s_iitcdip>": 57523,
|
33 |
+
"<s_synthdog>": 57524,
|
34 |
+
"<sep/>": 57522,
|
35 |
+
"<unk>": 3
|
36 |
+
}
|
config.json
ADDED
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "naver-clova-ix/donut-base",
|
3 |
+
"architectures": [
|
4 |
+
"VisionEncoderDecoderModel"
|
5 |
+
],
|
6 |
+
"decoder": {
|
7 |
+
"_name_or_path": "",
|
8 |
+
"activation_dropout": 0.0,
|
9 |
+
"activation_function": "gelu",
|
10 |
+
"add_cross_attention": true,
|
11 |
+
"add_final_layer_norm": true,
|
12 |
+
"architectures": null,
|
13 |
+
"attention_dropout": 0.0,
|
14 |
+
"bad_words_ids": null,
|
15 |
+
"begin_suppress_tokens": null,
|
16 |
+
"bos_token_id": 0,
|
17 |
+
"chunk_size_feed_forward": 0,
|
18 |
+
"classifier_dropout": 0.0,
|
19 |
+
"cross_attention_hidden_size": null,
|
20 |
+
"d_model": 1024,
|
21 |
+
"decoder_attention_heads": 16,
|
22 |
+
"decoder_ffn_dim": 4096,
|
23 |
+
"decoder_layerdrop": 0.0,
|
24 |
+
"decoder_layers": 4,
|
25 |
+
"decoder_start_token_id": null,
|
26 |
+
"diversity_penalty": 0.0,
|
27 |
+
"do_sample": false,
|
28 |
+
"dropout": 0.1,
|
29 |
+
"early_stopping": false,
|
30 |
+
"encoder_attention_heads": 16,
|
31 |
+
"encoder_ffn_dim": 4096,
|
32 |
+
"encoder_layerdrop": 0.0,
|
33 |
+
"encoder_layers": 12,
|
34 |
+
"encoder_no_repeat_ngram_size": 0,
|
35 |
+
"eos_token_id": 2,
|
36 |
+
"exponential_decay_length_penalty": null,
|
37 |
+
"finetuning_task": null,
|
38 |
+
"forced_bos_token_id": null,
|
39 |
+
"forced_eos_token_id": 2,
|
40 |
+
"id2label": {
|
41 |
+
"0": "LABEL_0",
|
42 |
+
"1": "LABEL_1"
|
43 |
+
},
|
44 |
+
"init_std": 0.02,
|
45 |
+
"is_decoder": true,
|
46 |
+
"is_encoder_decoder": false,
|
47 |
+
"label2id": {
|
48 |
+
"LABEL_0": 0,
|
49 |
+
"LABEL_1": 1
|
50 |
+
},
|
51 |
+
"length_penalty": 1.0,
|
52 |
+
"max_length": 512,
|
53 |
+
"max_position_embeddings": 1536,
|
54 |
+
"min_length": 0,
|
55 |
+
"model_type": "mbart",
|
56 |
+
"no_repeat_ngram_size": 0,
|
57 |
+
"num_beam_groups": 1,
|
58 |
+
"num_beams": 1,
|
59 |
+
"num_hidden_layers": 12,
|
60 |
+
"num_return_sequences": 1,
|
61 |
+
"output_attentions": false,
|
62 |
+
"output_hidden_states": false,
|
63 |
+
"output_scores": false,
|
64 |
+
"pad_token_id": 1,
|
65 |
+
"prefix": null,
|
66 |
+
"problem_type": null,
|
67 |
+
"pruned_heads": {},
|
68 |
+
"remove_invalid_values": false,
|
69 |
+
"repetition_penalty": 1.0,
|
70 |
+
"return_dict": true,
|
71 |
+
"return_dict_in_generate": false,
|
72 |
+
"scale_embedding": true,
|
73 |
+
"sep_token_id": null,
|
74 |
+
"suppress_tokens": null,
|
75 |
+
"task_specific_params": null,
|
76 |
+
"temperature": 1.0,
|
77 |
+
"tf_legacy_loss": false,
|
78 |
+
"tie_encoder_decoder": false,
|
79 |
+
"tie_word_embeddings": true,
|
80 |
+
"tokenizer_class": null,
|
81 |
+
"top_k": 50,
|
82 |
+
"top_p": 1.0,
|
83 |
+
"torch_dtype": null,
|
84 |
+
"torchscript": false,
|
85 |
+
"typical_p": 1.0,
|
86 |
+
"use_bfloat16": false,
|
87 |
+
"use_cache": true,
|
88 |
+
"vocab_size": 57551
|
89 |
+
},
|
90 |
+
"decoder_start_token_id": 0,
|
91 |
+
"encoder": {
|
92 |
+
"_name_or_path": "",
|
93 |
+
"add_cross_attention": false,
|
94 |
+
"architectures": null,
|
95 |
+
"attention_probs_dropout_prob": 0.0,
|
96 |
+
"bad_words_ids": null,
|
97 |
+
"begin_suppress_tokens": null,
|
98 |
+
"bos_token_id": null,
|
99 |
+
"chunk_size_feed_forward": 0,
|
100 |
+
"cross_attention_hidden_size": null,
|
101 |
+
"decoder_start_token_id": null,
|
102 |
+
"depths": [
|
103 |
+
2,
|
104 |
+
2,
|
105 |
+
14,
|
106 |
+
2
|
107 |
+
],
|
108 |
+
"diversity_penalty": 0.0,
|
109 |
+
"do_sample": false,
|
110 |
+
"drop_path_rate": 0.1,
|
111 |
+
"early_stopping": false,
|
112 |
+
"embed_dim": 128,
|
113 |
+
"encoder_no_repeat_ngram_size": 0,
|
114 |
+
"eos_token_id": null,
|
115 |
+
"exponential_decay_length_penalty": null,
|
116 |
+
"finetuning_task": null,
|
117 |
+
"forced_bos_token_id": null,
|
118 |
+
"forced_eos_token_id": null,
|
119 |
+
"hidden_act": "gelu",
|
120 |
+
"hidden_dropout_prob": 0.0,
|
121 |
+
"hidden_size": 1024,
|
122 |
+
"id2label": {
|
123 |
+
"0": "LABEL_0",
|
124 |
+
"1": "LABEL_1"
|
125 |
+
},
|
126 |
+
"image_size": [
|
127 |
+
1169,
|
128 |
+
827
|
129 |
+
],
|
130 |
+
"initializer_range": 0.02,
|
131 |
+
"is_decoder": false,
|
132 |
+
"is_encoder_decoder": false,
|
133 |
+
"label2id": {
|
134 |
+
"LABEL_0": 0,
|
135 |
+
"LABEL_1": 1
|
136 |
+
},
|
137 |
+
"layer_norm_eps": 1e-05,
|
138 |
+
"length_penalty": 1.0,
|
139 |
+
"max_length": 20,
|
140 |
+
"min_length": 0,
|
141 |
+
"mlp_ratio": 4.0,
|
142 |
+
"model_type": "donut-swin",
|
143 |
+
"no_repeat_ngram_size": 0,
|
144 |
+
"num_beam_groups": 1,
|
145 |
+
"num_beams": 1,
|
146 |
+
"num_channels": 3,
|
147 |
+
"num_heads": [
|
148 |
+
4,
|
149 |
+
8,
|
150 |
+
16,
|
151 |
+
32
|
152 |
+
],
|
153 |
+
"num_layers": 4,
|
154 |
+
"num_return_sequences": 1,
|
155 |
+
"output_attentions": false,
|
156 |
+
"output_hidden_states": false,
|
157 |
+
"output_scores": false,
|
158 |
+
"pad_token_id": null,
|
159 |
+
"patch_size": 4,
|
160 |
+
"path_norm": true,
|
161 |
+
"prefix": null,
|
162 |
+
"problem_type": null,
|
163 |
+
"pruned_heads": {},
|
164 |
+
"qkv_bias": true,
|
165 |
+
"remove_invalid_values": false,
|
166 |
+
"repetition_penalty": 1.0,
|
167 |
+
"return_dict": true,
|
168 |
+
"return_dict_in_generate": false,
|
169 |
+
"sep_token_id": null,
|
170 |
+
"suppress_tokens": null,
|
171 |
+
"task_specific_params": null,
|
172 |
+
"temperature": 1.0,
|
173 |
+
"tf_legacy_loss": false,
|
174 |
+
"tie_encoder_decoder": false,
|
175 |
+
"tie_word_embeddings": true,
|
176 |
+
"tokenizer_class": null,
|
177 |
+
"top_k": 50,
|
178 |
+
"top_p": 1.0,
|
179 |
+
"torch_dtype": null,
|
180 |
+
"torchscript": false,
|
181 |
+
"typical_p": 1.0,
|
182 |
+
"use_absolute_embeddings": false,
|
183 |
+
"use_bfloat16": false,
|
184 |
+
"window_size": 10
|
185 |
+
},
|
186 |
+
"is_encoder_decoder": true,
|
187 |
+
"model_type": "vision-encoder-decoder",
|
188 |
+
"pad_token_id": 1,
|
189 |
+
"tie_word_embeddings": false,
|
190 |
+
"torch_dtype": "float32",
|
191 |
+
"transformers_version": "4.34.0"
|
192 |
+
}
|
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.34.0"
|
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 |
+
827,
|
24 |
+
1169
|
25 |
+
]
|
26 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25a093d94516f0f8f84950af13c74334b3f2c6b8e9515108c55818f9e4bdda96
|
3 |
+
size 809285846
|
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_iitcdip>",
|
4 |
+
"<s_synthdog>",
|
5 |
+
"<s_Notify>",
|
6 |
+
"<s_Total_Packages>",
|
7 |
+
"<s_Consignor_Country>",
|
8 |
+
"<s_Consignee_Country>",
|
9 |
+
"</s_Notify_Country>",
|
10 |
+
"<s_Consignor>",
|
11 |
+
"<s_Notify_Country>",
|
12 |
+
"</s_Second_Notify_Country>",
|
13 |
+
"</s_Consignee_Country>",
|
14 |
+
"<s_Goods_Description>",
|
15 |
+
"</s_Consignor_Country>",
|
16 |
+
"</s_Consignee>",
|
17 |
+
"<s_Second_Notify_Country>",
|
18 |
+
"<s_Marks>",
|
19 |
+
"<s>",
|
20 |
+
"<s_Total_Weight>",
|
21 |
+
"</s_Notify>",
|
22 |
+
"</s_Goods_Description>",
|
23 |
+
"<s_Second_Notify>",
|
24 |
+
"<s_Total_Volume>",
|
25 |
+
"</s_Total_Weight>",
|
26 |
+
"</s>",
|
27 |
+
"<s_Consignee>",
|
28 |
+
"</s_Second_Notify>",
|
29 |
+
"</s_Total_Volume>",
|
30 |
+
"</s_Marks>",
|
31 |
+
"</s_Consignor>",
|
32 |
+
"</s_Total_Packages>"
|
33 |
+
],
|
34 |
+
"bos_token": "<s>",
|
35 |
+
"cls_token": "<s>",
|
36 |
+
"eos_token": "</s>",
|
37 |
+
"mask_token": "<mask>",
|
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,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": true,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": true,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"57521": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": true,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"57522": {
|
44 |
+
"content": "<sep/>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"57523": {
|
52 |
+
"content": "<s_iitcdip>",
|
53 |
+
"lstrip": true,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": true,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"57524": {
|
60 |
+
"content": "<s_synthdog>",
|
61 |
+
"lstrip": true,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": true,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"57525": {
|
68 |
+
"content": "<s_Notify>",
|
69 |
+
"lstrip": true,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": true,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
},
|
75 |
+
"57526": {
|
76 |
+
"content": "<s_Total_Packages>",
|
77 |
+
"lstrip": true,
|
78 |
+
"normalized": false,
|
79 |
+
"rstrip": true,
|
80 |
+
"single_word": false,
|
81 |
+
"special": true
|
82 |
+
},
|
83 |
+
"57527": {
|
84 |
+
"content": "<s_Consignor_Country>",
|
85 |
+
"lstrip": true,
|
86 |
+
"normalized": false,
|
87 |
+
"rstrip": true,
|
88 |
+
"single_word": false,
|
89 |
+
"special": true
|
90 |
+
},
|
91 |
+
"57528": {
|
92 |
+
"content": "<s_Consignee_Country>",
|
93 |
+
"lstrip": true,
|
94 |
+
"normalized": false,
|
95 |
+
"rstrip": true,
|
96 |
+
"single_word": false,
|
97 |
+
"special": true
|
98 |
+
},
|
99 |
+
"57529": {
|
100 |
+
"content": "</s_Notify_Country>",
|
101 |
+
"lstrip": true,
|
102 |
+
"normalized": false,
|
103 |
+
"rstrip": true,
|
104 |
+
"single_word": false,
|
105 |
+
"special": true
|
106 |
+
},
|
107 |
+
"57530": {
|
108 |
+
"content": "<s_Consignor>",
|
109 |
+
"lstrip": true,
|
110 |
+
"normalized": false,
|
111 |
+
"rstrip": true,
|
112 |
+
"single_word": false,
|
113 |
+
"special": true
|
114 |
+
},
|
115 |
+
"57531": {
|
116 |
+
"content": "<s_Notify_Country>",
|
117 |
+
"lstrip": true,
|
118 |
+
"normalized": false,
|
119 |
+
"rstrip": true,
|
120 |
+
"single_word": false,
|
121 |
+
"special": true
|
122 |
+
},
|
123 |
+
"57532": {
|
124 |
+
"content": "</s_Second_Notify_Country>",
|
125 |
+
"lstrip": true,
|
126 |
+
"normalized": false,
|
127 |
+
"rstrip": true,
|
128 |
+
"single_word": false,
|
129 |
+
"special": true
|
130 |
+
},
|
131 |
+
"57533": {
|
132 |
+
"content": "</s_Consignee_Country>",
|
133 |
+
"lstrip": true,
|
134 |
+
"normalized": false,
|
135 |
+
"rstrip": true,
|
136 |
+
"single_word": false,
|
137 |
+
"special": true
|
138 |
+
},
|
139 |
+
"57534": {
|
140 |
+
"content": "<s_Goods_Description>",
|
141 |
+
"lstrip": true,
|
142 |
+
"normalized": false,
|
143 |
+
"rstrip": true,
|
144 |
+
"single_word": false,
|
145 |
+
"special": true
|
146 |
+
},
|
147 |
+
"57535": {
|
148 |
+
"content": "</s_Consignor_Country>",
|
149 |
+
"lstrip": true,
|
150 |
+
"normalized": false,
|
151 |
+
"rstrip": true,
|
152 |
+
"single_word": false,
|
153 |
+
"special": true
|
154 |
+
},
|
155 |
+
"57536": {
|
156 |
+
"content": "</s_Consignee>",
|
157 |
+
"lstrip": true,
|
158 |
+
"normalized": false,
|
159 |
+
"rstrip": true,
|
160 |
+
"single_word": false,
|
161 |
+
"special": true
|
162 |
+
},
|
163 |
+
"57537": {
|
164 |
+
"content": "<s_Second_Notify_Country>",
|
165 |
+
"lstrip": true,
|
166 |
+
"normalized": false,
|
167 |
+
"rstrip": true,
|
168 |
+
"single_word": false,
|
169 |
+
"special": true
|
170 |
+
},
|
171 |
+
"57538": {
|
172 |
+
"content": "<s_Marks>",
|
173 |
+
"lstrip": true,
|
174 |
+
"normalized": false,
|
175 |
+
"rstrip": true,
|
176 |
+
"single_word": false,
|
177 |
+
"special": true
|
178 |
+
},
|
179 |
+
"57539": {
|
180 |
+
"content": "<s_Total_Weight>",
|
181 |
+
"lstrip": true,
|
182 |
+
"normalized": false,
|
183 |
+
"rstrip": true,
|
184 |
+
"single_word": false,
|
185 |
+
"special": true
|
186 |
+
},
|
187 |
+
"57540": {
|
188 |
+
"content": "</s_Notify>",
|
189 |
+
"lstrip": true,
|
190 |
+
"normalized": false,
|
191 |
+
"rstrip": true,
|
192 |
+
"single_word": false,
|
193 |
+
"special": true
|
194 |
+
},
|
195 |
+
"57541": {
|
196 |
+
"content": "</s_Goods_Description>",
|
197 |
+
"lstrip": true,
|
198 |
+
"normalized": false,
|
199 |
+
"rstrip": true,
|
200 |
+
"single_word": false,
|
201 |
+
"special": true
|
202 |
+
},
|
203 |
+
"57542": {
|
204 |
+
"content": "<s_Second_Notify>",
|
205 |
+
"lstrip": true,
|
206 |
+
"normalized": false,
|
207 |
+
"rstrip": true,
|
208 |
+
"single_word": false,
|
209 |
+
"special": true
|
210 |
+
},
|
211 |
+
"57543": {
|
212 |
+
"content": "<s_Total_Volume>",
|
213 |
+
"lstrip": true,
|
214 |
+
"normalized": false,
|
215 |
+
"rstrip": true,
|
216 |
+
"single_word": false,
|
217 |
+
"special": true
|
218 |
+
},
|
219 |
+
"57544": {
|
220 |
+
"content": "</s_Total_Weight>",
|
221 |
+
"lstrip": true,
|
222 |
+
"normalized": false,
|
223 |
+
"rstrip": true,
|
224 |
+
"single_word": false,
|
225 |
+
"special": true
|
226 |
+
},
|
227 |
+
"57545": {
|
228 |
+
"content": "<s_Consignee>",
|
229 |
+
"lstrip": true,
|
230 |
+
"normalized": false,
|
231 |
+
"rstrip": true,
|
232 |
+
"single_word": false,
|
233 |
+
"special": true
|
234 |
+
},
|
235 |
+
"57546": {
|
236 |
+
"content": "</s_Second_Notify>",
|
237 |
+
"lstrip": true,
|
238 |
+
"normalized": false,
|
239 |
+
"rstrip": true,
|
240 |
+
"single_word": false,
|
241 |
+
"special": true
|
242 |
+
},
|
243 |
+
"57547": {
|
244 |
+
"content": "</s_Total_Volume>",
|
245 |
+
"lstrip": true,
|
246 |
+
"normalized": false,
|
247 |
+
"rstrip": true,
|
248 |
+
"single_word": false,
|
249 |
+
"special": true
|
250 |
+
},
|
251 |
+
"57548": {
|
252 |
+
"content": "</s_Marks>",
|
253 |
+
"lstrip": true,
|
254 |
+
"normalized": false,
|
255 |
+
"rstrip": true,
|
256 |
+
"single_word": false,
|
257 |
+
"special": true
|
258 |
+
},
|
259 |
+
"57549": {
|
260 |
+
"content": "</s_Consignor>",
|
261 |
+
"lstrip": true,
|
262 |
+
"normalized": false,
|
263 |
+
"rstrip": true,
|
264 |
+
"single_word": false,
|
265 |
+
"special": true
|
266 |
+
},
|
267 |
+
"57550": {
|
268 |
+
"content": "</s_Total_Packages>",
|
269 |
+
"lstrip": true,
|
270 |
+
"normalized": false,
|
271 |
+
"rstrip": true,
|
272 |
+
"single_word": false,
|
273 |
+
"special": true
|
274 |
+
}
|
275 |
+
},
|
276 |
+
"additional_special_tokens": [
|
277 |
+
"<s_iitcdip>",
|
278 |
+
"<s_synthdog>",
|
279 |
+
"<s_Notify>",
|
280 |
+
"<s_Total_Packages>",
|
281 |
+
"<s_Consignor_Country>",
|
282 |
+
"<s_Consignee_Country>",
|
283 |
+
"</s_Notify_Country>",
|
284 |
+
"<s_Consignor>",
|
285 |
+
"<s_Notify_Country>",
|
286 |
+
"</s_Second_Notify_Country>",
|
287 |
+
"</s_Consignee_Country>",
|
288 |
+
"<s_Goods_Description>",
|
289 |
+
"</s_Consignor_Country>",
|
290 |
+
"</s_Consignee>",
|
291 |
+
"<s_Second_Notify_Country>",
|
292 |
+
"<s_Marks>",
|
293 |
+
"<s>",
|
294 |
+
"<s_Total_Weight>",
|
295 |
+
"</s_Notify>",
|
296 |
+
"</s_Goods_Description>",
|
297 |
+
"<s_Second_Notify>",
|
298 |
+
"<s_Total_Volume>",
|
299 |
+
"</s_Total_Weight>",
|
300 |
+
"</s>",
|
301 |
+
"<s_Consignee>",
|
302 |
+
"</s_Second_Notify>",
|
303 |
+
"</s_Total_Volume>",
|
304 |
+
"</s_Marks>",
|
305 |
+
"</s_Consignor>",
|
306 |
+
"</s_Total_Packages>"
|
307 |
+
],
|
308 |
+
"bos_token": "<s>",
|
309 |
+
"clean_up_tokenization_spaces": true,
|
310 |
+
"cls_token": "<s>",
|
311 |
+
"eos_token": "</s>",
|
312 |
+
"mask_token": "<mask>",
|
313 |
+
"model_max_length": 1000000000000000019884624838656,
|
314 |
+
"pad_token": "<pad>",
|
315 |
+
"processor_class": "DonutProcessor",
|
316 |
+
"sep_token": "</s>",
|
317 |
+
"sp_model_kwargs": {},
|
318 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
319 |
+
"unk_token": "<unk>"
|
320 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d19bb8c75c237df0ef5559ee2920054052259f61d1112a207f0e572733dd90a
|
3 |
+
size 4664
|