End of training
Browse files- README.md +57 -0
- added_tokens.json +7 -0
- config.json +192 -0
- generation_config.json +8 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- runs/Mar21_00-29-44_31add35bf658/events.out.tfevents.1710981013.31add35bf658.8665.0 +3 -0
- runs/Mar21_00-58-52_31add35bf658/events.out.tfevents.1710982739.31add35bf658.8665.1 +3 -0
- runs/Mar21_09-54-44_6fdf4930b7f3/events.out.tfevents.1711014897.6fdf4930b7f3.4343.0 +3 -0
- runs/Mar21_10-23-35_6fdf4930b7f3/events.out.tfevents.1711016623.6fdf4930b7f3.4343.1 +3 -0
- runs/Mar21_21-05-20_0a179b0d4135/events.out.tfevents.1711055128.0a179b0d4135.4018.0 +3 -0
- runs/Mar21_21-56-28_0a179b0d4135/events.out.tfevents.1711058198.0a179b0d4135.4018.1 +3 -0
- runs/Mar21_21-56-28_0a179b0d4135/events.out.tfevents.1711061926.0a179b0d4135.4018.2 +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +81 -0
- tokenizer.json +0 -0
- tokenizer_config.json +102 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: naver-clova-ix/donut-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- image_folder
|
8 |
+
model-index:
|
9 |
+
- name: donut-base-handwriting_recognition
|
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-base-handwriting_recognition
|
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 image_folder dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2276
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 2e-05
|
40 |
+
- train_batch_size: 4
|
41 |
+
- eval_batch_size: 16
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 5
|
46 |
+
- mixed_precision_training: Native AMP
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
### Framework versions
|
53 |
+
|
54 |
+
- Transformers 4.38.1
|
55 |
+
- Pytorch 2.1.2
|
56 |
+
- Datasets 2.1.0
|
57 |
+
- Tokenizers 0.15.2
|
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s_identity>": 57526,
|
3 |
+
"<s_identity>": 57525,
|
4 |
+
"<s_iitcdip>": 57523,
|
5 |
+
"<s_synthdog>": 57524,
|
6 |
+
"<sep/>": 57522
|
7 |
+
}
|
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": 57527
|
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 |
+
960,
|
128 |
+
720
|
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.38.1"
|
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.38.1"
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01caa61e52c7855deb0b4d2e820ab258328277f0a6277ca9b53019890668deb2
|
3 |
+
size 809078936
|
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 |
+
720,
|
24 |
+
960
|
25 |
+
]
|
26 |
+
}
|
runs/Mar21_00-29-44_31add35bf658/events.out.tfevents.1710981013.31add35bf658.8665.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a9ae951bb8e919121d5d44b5a011bb2b2f94e471d0bba9045cb6fa5dccc8b23
|
3 |
+
size 17952
|
runs/Mar21_00-58-52_31add35bf658/events.out.tfevents.1710982739.31add35bf658.8665.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d163b8b3bbd3fc4e5c8a4018701ee0322b06485edf96e370740d731c8738e657
|
3 |
+
size 9020
|
runs/Mar21_09-54-44_6fdf4930b7f3/events.out.tfevents.1711014897.6fdf4930b7f3.4343.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89c22901e6fe473e7a65f69f333925e781fedf7a98fd03e675aca310c17a9642
|
3 |
+
size 9369
|
runs/Mar21_10-23-35_6fdf4930b7f3/events.out.tfevents.1711016623.6fdf4930b7f3.4343.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:613770b922714eca238e1d766e1f53bc8f180423485e83d746d73824a32ef74f
|
3 |
+
size 9793
|
runs/Mar21_21-05-20_0a179b0d4135/events.out.tfevents.1711055128.0a179b0d4135.4018.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87d93ac10e8f24da285bc93823c8f46cefc336acefa3d32b1a92be59ebc99a53
|
3 |
+
size 10421
|
runs/Mar21_21-56-28_0a179b0d4135/events.out.tfevents.1711058198.0a179b0d4135.4018.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6960369b913a2e1f1828114d8c7b79f7c4762bd2ffe33102b4a48a81f9e3aee4
|
3 |
+
size 10632
|
runs/Mar21_21-56-28_0a179b0d4135/events.out.tfevents.1711061926.0a179b0d4135.4018.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d85ac25bc3691ca1a5d6744a47b6a07426ecb787fb6c12de05bb5fab1a230c0
|
3 |
+
size 359
|
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,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<s_identity>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "</s_identity>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"content": "<s>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"content": "</s>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": false,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
}
|
31 |
+
],
|
32 |
+
"bos_token": {
|
33 |
+
"content": "<s>",
|
34 |
+
"lstrip": false,
|
35 |
+
"normalized": false,
|
36 |
+
"rstrip": false,
|
37 |
+
"single_word": false
|
38 |
+
},
|
39 |
+
"cls_token": {
|
40 |
+
"content": "<s>",
|
41 |
+
"lstrip": false,
|
42 |
+
"normalized": false,
|
43 |
+
"rstrip": false,
|
44 |
+
"single_word": false
|
45 |
+
},
|
46 |
+
"eos_token": {
|
47 |
+
"content": "</s>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": false,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false
|
52 |
+
},
|
53 |
+
"mask_token": {
|
54 |
+
"content": "<mask>",
|
55 |
+
"lstrip": true,
|
56 |
+
"normalized": true,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false
|
59 |
+
},
|
60 |
+
"pad_token": {
|
61 |
+
"content": "<pad>",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false
|
66 |
+
},
|
67 |
+
"sep_token": {
|
68 |
+
"content": "</s>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false
|
73 |
+
},
|
74 |
+
"unk_token": {
|
75 |
+
"content": "<unk>",
|
76 |
+
"lstrip": false,
|
77 |
+
"normalized": false,
|
78 |
+
"rstrip": false,
|
79 |
+
"single_word": false
|
80 |
+
}
|
81 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
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": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
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": false,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"57524": {
|
60 |
+
"content": "<s_synthdog>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"57525": {
|
68 |
+
"content": "<s_identity>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
},
|
75 |
+
"57526": {
|
76 |
+
"content": "</s_identity>",
|
77 |
+
"lstrip": false,
|
78 |
+
"normalized": false,
|
79 |
+
"rstrip": false,
|
80 |
+
"single_word": false,
|
81 |
+
"special": true
|
82 |
+
}
|
83 |
+
},
|
84 |
+
"additional_special_tokens": [
|
85 |
+
"<s_identity>",
|
86 |
+
"</s_identity>",
|
87 |
+
"<s>",
|
88 |
+
"</s>"
|
89 |
+
],
|
90 |
+
"bos_token": "<s>",
|
91 |
+
"clean_up_tokenization_spaces": true,
|
92 |
+
"cls_token": "<s>",
|
93 |
+
"eos_token": "</s>",
|
94 |
+
"mask_token": "<mask>",
|
95 |
+
"model_max_length": 1000000000000000019884624838656,
|
96 |
+
"pad_token": "<pad>",
|
97 |
+
"processor_class": "DonutProcessor",
|
98 |
+
"sep_token": "</s>",
|
99 |
+
"sp_model_kwargs": {},
|
100 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
101 |
+
"unk_token": "<unk>"
|
102 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6abf61b0c23feda22c2059a9fe9a309fec98d1b060060f20e19e82ca9f5814a
|
3 |
+
size 5112
|