Upload folder using huggingface_hub
Browse files- added_tokens.json +22 -0
- config.json +189 -0
- generation_config.json +8 -0
- onnx/decoder_model.onnx +3 -0
- onnx/decoder_model_merged.onnx +3 -0
- onnx/decoder_model_merged_quantized.onnx +3 -0
- onnx/decoder_model_quantized.onnx +3 -0
- onnx/decoder_with_past_model.onnx +3 -0
- onnx/decoder_with_past_model_quantized.onnx +3 -0
- onnx/encoder_model.onnx +3 -0
- onnx/encoder_model_quantized.onnx +3 -0
- preprocessor_config.json +27 -0
- quantize_config.json +131 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +18 -0
- tokenizer.json +0 -0
- tokenizer_config.json +21 -0
added_tokens.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_date>": 57539,
|
3 |
+
"</s_destination_station>": 57537,
|
4 |
+
"</s_name>": 57535,
|
5 |
+
"</s_seat_category>": 57533,
|
6 |
+
"</s_starting_station>": 57531,
|
7 |
+
"</s_ticket_num>": 57529,
|
8 |
+
"</s_ticket_rates>": 57527,
|
9 |
+
"</s_train_num>": 57525,
|
10 |
+
"<s_date>": 57540,
|
11 |
+
"<s_destination_station>": 57538,
|
12 |
+
"<s_iitcdip>": 57523,
|
13 |
+
"<s_name>": 57536,
|
14 |
+
"<s_seat_category>": 57534,
|
15 |
+
"<s_starting_station>": 57532,
|
16 |
+
"<s_synthdog>": 57524,
|
17 |
+
"<s_ticket_num>": 57530,
|
18 |
+
"<s_ticket_rates>": 57528,
|
19 |
+
"<s_train_num>": 57526,
|
20 |
+
"<s_zhtrainticket>": 57541,
|
21 |
+
"<sep/>": 57522
|
22 |
+
}
|
config.json
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "naver-clova-ix/donut-base-finetuned-zhtrainticket",
|
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": 20,
|
53 |
+
"max_position_embeddings": 256,
|
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": 57542
|
89 |
+
},
|
90 |
+
"encoder": {
|
91 |
+
"_name_or_path": "",
|
92 |
+
"add_cross_attention": false,
|
93 |
+
"architectures": null,
|
94 |
+
"attention_probs_dropout_prob": 0.0,
|
95 |
+
"bad_words_ids": null,
|
96 |
+
"begin_suppress_tokens": null,
|
97 |
+
"bos_token_id": null,
|
98 |
+
"chunk_size_feed_forward": 0,
|
99 |
+
"cross_attention_hidden_size": null,
|
100 |
+
"decoder_start_token_id": null,
|
101 |
+
"depths": [
|
102 |
+
2,
|
103 |
+
2,
|
104 |
+
14,
|
105 |
+
2
|
106 |
+
],
|
107 |
+
"diversity_penalty": 0.0,
|
108 |
+
"do_sample": false,
|
109 |
+
"drop_path_rate": 0.1,
|
110 |
+
"early_stopping": false,
|
111 |
+
"embed_dim": 128,
|
112 |
+
"encoder_no_repeat_ngram_size": 0,
|
113 |
+
"eos_token_id": null,
|
114 |
+
"exponential_decay_length_penalty": null,
|
115 |
+
"finetuning_task": null,
|
116 |
+
"forced_bos_token_id": null,
|
117 |
+
"forced_eos_token_id": null,
|
118 |
+
"hidden_act": "gelu",
|
119 |
+
"hidden_dropout_prob": 0.0,
|
120 |
+
"hidden_size": 1024,
|
121 |
+
"id2label": {
|
122 |
+
"0": "LABEL_0",
|
123 |
+
"1": "LABEL_1"
|
124 |
+
},
|
125 |
+
"image_size": [
|
126 |
+
960,
|
127 |
+
1280
|
128 |
+
],
|
129 |
+
"initializer_range": 0.02,
|
130 |
+
"is_decoder": false,
|
131 |
+
"is_encoder_decoder": false,
|
132 |
+
"label2id": {
|
133 |
+
"LABEL_0": 0,
|
134 |
+
"LABEL_1": 1
|
135 |
+
},
|
136 |
+
"layer_norm_eps": 1e-05,
|
137 |
+
"length_penalty": 1.0,
|
138 |
+
"max_length": 20,
|
139 |
+
"min_length": 0,
|
140 |
+
"mlp_ratio": 4.0,
|
141 |
+
"model_type": "donut-swin",
|
142 |
+
"no_repeat_ngram_size": 0,
|
143 |
+
"num_beam_groups": 1,
|
144 |
+
"num_beams": 1,
|
145 |
+
"num_channels": 3,
|
146 |
+
"num_heads": [
|
147 |
+
4,
|
148 |
+
8,
|
149 |
+
16,
|
150 |
+
32
|
151 |
+
],
|
152 |
+
"num_layers": 4,
|
153 |
+
"num_return_sequences": 1,
|
154 |
+
"output_attentions": false,
|
155 |
+
"output_hidden_states": false,
|
156 |
+
"output_scores": false,
|
157 |
+
"pad_token_id": null,
|
158 |
+
"patch_size": 4,
|
159 |
+
"path_norm": true,
|
160 |
+
"prefix": null,
|
161 |
+
"problem_type": null,
|
162 |
+
"pruned_heads": {},
|
163 |
+
"qkv_bias": true,
|
164 |
+
"remove_invalid_values": false,
|
165 |
+
"repetition_penalty": 1.0,
|
166 |
+
"return_dict": true,
|
167 |
+
"return_dict_in_generate": false,
|
168 |
+
"sep_token_id": null,
|
169 |
+
"suppress_tokens": null,
|
170 |
+
"task_specific_params": null,
|
171 |
+
"temperature": 1.0,
|
172 |
+
"tf_legacy_loss": false,
|
173 |
+
"tie_encoder_decoder": false,
|
174 |
+
"tie_word_embeddings": true,
|
175 |
+
"tokenizer_class": null,
|
176 |
+
"top_k": 50,
|
177 |
+
"top_p": 1.0,
|
178 |
+
"torch_dtype": null,
|
179 |
+
"torchscript": false,
|
180 |
+
"typical_p": 1.0,
|
181 |
+
"use_absolute_embeddings": false,
|
182 |
+
"use_bfloat16": false,
|
183 |
+
"window_size": 10
|
184 |
+
},
|
185 |
+
"is_encoder_decoder": true,
|
186 |
+
"model_type": "vision-encoder-decoder",
|
187 |
+
"tie_word_embeddings": false,
|
188 |
+
"transformers_version": "4.33.2"
|
189 |
+
}
|
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.33.2"
|
8 |
+
}
|
onnx/decoder_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96943bc7f01ec1fe0cf9a329eb3cec218b62090bab9ee10c0da6e6af8572f953
|
3 |
+
size 505701480
|
onnx/decoder_model_merged.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a08b42bb49e155fe39c5026920514693b2120a7dccba789fbff01ce543146ef6
|
3 |
+
size 505860669
|
onnx/decoder_model_merged_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85487e7f035fbb71bfc989c950fafd624eb5b5af238c62f7c3739a734efed6db
|
3 |
+
size 127177316
|
onnx/decoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a1868399fb0209e7fdc8027eb904aceedad23a93560015510b048720dfeb940
|
3 |
+
size 126925837
|
onnx/decoder_with_past_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ea7189816d83dbc928dc35394388a923009ea5c1ea80183518de9b87aa922d6
|
3 |
+
size 472082938
|
onnx/decoder_with_past_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97d50440004bca1c7ee6e41aa8ccadb119963dcccff7d96f79ba84163aa6d1c1
|
3 |
+
size 118453859
|
onnx/encoder_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfc094c4b8a4c9fb5fcf94e9be0b6fa071b1c6bafa305268ae7c44f672dc3226
|
3 |
+
size 311503397
|
onnx/encoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de4ff3f5efab0e24fd481673f7604420c1dac4b3708e70ca18f127c7be6082d4
|
3 |
+
size 90924606
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"feature_extractor_type": "DonutFeatureExtractor",
|
9 |
+
"image_mean": [
|
10 |
+
0.5,
|
11 |
+
0.5,
|
12 |
+
0.5
|
13 |
+
],
|
14 |
+
"image_processor_type": "DonutFeatureExtractor",
|
15 |
+
"image_std": [
|
16 |
+
0.5,
|
17 |
+
0.5,
|
18 |
+
0.5
|
19 |
+
],
|
20 |
+
"processor_class": "DonutProcessor",
|
21 |
+
"resample": 2,
|
22 |
+
"rescale_factor": 0.00392156862745098,
|
23 |
+
"size": {
|
24 |
+
"height": 960,
|
25 |
+
"width": 1280
|
26 |
+
}
|
27 |
+
}
|
quantize_config.json
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": false,
|
3 |
+
"reduce_range": false,
|
4 |
+
"per_model_config": {
|
5 |
+
"decoder_with_past_model": {
|
6 |
+
"op_types": [
|
7 |
+
"MatMul",
|
8 |
+
"Shape",
|
9 |
+
"Where",
|
10 |
+
"Add",
|
11 |
+
"Gather",
|
12 |
+
"Pow",
|
13 |
+
"Transpose",
|
14 |
+
"Sub",
|
15 |
+
"Equal",
|
16 |
+
"Unsqueeze",
|
17 |
+
"Div",
|
18 |
+
"ConstantOfShape",
|
19 |
+
"Sqrt",
|
20 |
+
"Softmax",
|
21 |
+
"Expand",
|
22 |
+
"Erf",
|
23 |
+
"ReduceMean",
|
24 |
+
"Range",
|
25 |
+
"Mul",
|
26 |
+
"Reshape",
|
27 |
+
"Concat",
|
28 |
+
"Cast",
|
29 |
+
"Constant"
|
30 |
+
],
|
31 |
+
"weight_type": "QInt8"
|
32 |
+
},
|
33 |
+
"encoder_model": {
|
34 |
+
"op_types": [
|
35 |
+
"MatMul",
|
36 |
+
"Shape",
|
37 |
+
"Where",
|
38 |
+
"Slice",
|
39 |
+
"Add",
|
40 |
+
"Gather",
|
41 |
+
"Transpose",
|
42 |
+
"Pow",
|
43 |
+
"Sub",
|
44 |
+
"Equal",
|
45 |
+
"Not",
|
46 |
+
"ScatterND",
|
47 |
+
"Conv",
|
48 |
+
"Unsqueeze",
|
49 |
+
"Mod",
|
50 |
+
"Div",
|
51 |
+
"Sqrt",
|
52 |
+
"ConstantOfShape",
|
53 |
+
"Softmax",
|
54 |
+
"Expand",
|
55 |
+
"Erf",
|
56 |
+
"ReduceMean",
|
57 |
+
"Range",
|
58 |
+
"Mul",
|
59 |
+
"Reshape",
|
60 |
+
"Concat",
|
61 |
+
"Cast",
|
62 |
+
"Pad",
|
63 |
+
"Constant"
|
64 |
+
],
|
65 |
+
"weight_type": "QUInt8"
|
66 |
+
},
|
67 |
+
"decoder_model": {
|
68 |
+
"op_types": [
|
69 |
+
"MatMul",
|
70 |
+
"Shape",
|
71 |
+
"Where",
|
72 |
+
"Slice",
|
73 |
+
"Add",
|
74 |
+
"Gather",
|
75 |
+
"Pow",
|
76 |
+
"Transpose",
|
77 |
+
"Sub",
|
78 |
+
"Equal",
|
79 |
+
"Unsqueeze",
|
80 |
+
"Div",
|
81 |
+
"ConstantOfShape",
|
82 |
+
"Sqrt",
|
83 |
+
"Softmax",
|
84 |
+
"Expand",
|
85 |
+
"Squeeze",
|
86 |
+
"Erf",
|
87 |
+
"ReduceMean",
|
88 |
+
"Range",
|
89 |
+
"Mul",
|
90 |
+
"Reshape",
|
91 |
+
"Concat",
|
92 |
+
"Cast",
|
93 |
+
"Less",
|
94 |
+
"Constant"
|
95 |
+
],
|
96 |
+
"weight_type": "QInt8"
|
97 |
+
},
|
98 |
+
"decoder_model_merged": {
|
99 |
+
"op_types": [
|
100 |
+
"MatMul",
|
101 |
+
"Shape",
|
102 |
+
"Where",
|
103 |
+
"Slice",
|
104 |
+
"Add",
|
105 |
+
"Gather",
|
106 |
+
"Pow",
|
107 |
+
"Transpose",
|
108 |
+
"If",
|
109 |
+
"Sub",
|
110 |
+
"Equal",
|
111 |
+
"Unsqueeze",
|
112 |
+
"Div",
|
113 |
+
"ConstantOfShape",
|
114 |
+
"Sqrt",
|
115 |
+
"Softmax",
|
116 |
+
"Expand",
|
117 |
+
"Squeeze",
|
118 |
+
"Erf",
|
119 |
+
"ReduceMean",
|
120 |
+
"Range",
|
121 |
+
"Mul",
|
122 |
+
"Reshape",
|
123 |
+
"Concat",
|
124 |
+
"Cast",
|
125 |
+
"Less",
|
126 |
+
"Constant"
|
127 |
+
],
|
128 |
+
"weight_type": "QInt8"
|
129 |
+
}
|
130 |
+
}
|
131 |
+
}
|
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_zhtrainticket>"
|
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.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 |
+
}
|