Commit
•
2839125
1
Parent(s):
e5025a3
Update for `transformers` (#5)
Browse files- update (d4555318af4cc4d64cb5e9e9cc47231f7ac7e915)
- add pipeline (2dd41f0bef4e1a68b6130662ec9cd8fe83d6c9ed)
Co-authored-by: Raushan Turganbay <RaushanTurganbay@users.noreply.huggingface.co>
- README.md +1 -1
- added_tokens.json +3 -0
- config.json +6 -204
- generation_config.json +8 -0
- model-00001-of-00002.safetensors +2 -2
- model-00002-of-00002.safetensors +2 -2
- model.safetensors.index.json +0 -0
- processor_config.json +4 -0
- special_tokens_map.json +21 -3
- tokenizer.json +15 -3
- tokenizer_config.json +835 -1
README.md
CHANGED
@@ -6,7 +6,7 @@ tags:
|
|
6 |
- image-to-text
|
7 |
- image-captioning
|
8 |
- visual-question-answering
|
9 |
-
pipeline_tag: image-to-text
|
10 |
inference: false
|
11 |
---
|
12 |
|
|
|
6 |
- image-to-text
|
7 |
- image-captioning
|
8 |
- visual-question-answering
|
9 |
+
pipeline_tag: image-text-to-text
|
10 |
inference: false
|
11 |
---
|
12 |
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<image>": 32100
|
3 |
+
}
|
config.json
CHANGED
@@ -1,159 +1,44 @@
|
|
1 |
{
|
2 |
-
"_commit_hash": null,
|
3 |
"architectures": [
|
4 |
"Blip2ForConditionalGeneration"
|
5 |
],
|
|
|
|
|
6 |
"initializer_factor": 1.0,
|
7 |
"initializer_range": 0.02,
|
8 |
"model_type": "blip-2",
|
9 |
"num_query_tokens": 32,
|
10 |
"qformer_config": {
|
11 |
-
"_name_or_path": "",
|
12 |
-
"add_cross_attention": false,
|
13 |
-
"architectures": null,
|
14 |
-
"attention_probs_dropout_prob": 0.1,
|
15 |
-
"bad_words_ids": null,
|
16 |
-
"begin_suppress_tokens": null,
|
17 |
-
"bos_token_id": null,
|
18 |
-
"chunk_size_feed_forward": 0,
|
19 |
"classifier_dropout": null,
|
20 |
-
"
|
21 |
-
"cross_attention_hidden_size": null,
|
22 |
-
"decoder_start_token_id": null,
|
23 |
-
"diversity_penalty": 0.0,
|
24 |
-
"do_sample": false,
|
25 |
-
"early_stopping": false,
|
26 |
-
"encoder_hidden_size": 1408,
|
27 |
-
"encoder_no_repeat_ngram_size": 0,
|
28 |
-
"eos_token_id": null,
|
29 |
-
"exponential_decay_length_penalty": null,
|
30 |
-
"finetuning_task": null,
|
31 |
-
"forced_bos_token_id": null,
|
32 |
-
"forced_eos_token_id": null,
|
33 |
-
"hidden_act": "gelu",
|
34 |
-
"hidden_dropout_prob": 0.1,
|
35 |
-
"hidden_size": 768,
|
36 |
-
"id2label": {
|
37 |
-
"0": "LABEL_0",
|
38 |
-
"1": "LABEL_1"
|
39 |
-
},
|
40 |
-
"initializer_range": 0.02,
|
41 |
-
"intermediate_size": 3072,
|
42 |
-
"is_decoder": false,
|
43 |
-
"is_encoder_decoder": false,
|
44 |
-
"label2id": {
|
45 |
-
"LABEL_0": 0,
|
46 |
-
"LABEL_1": 1
|
47 |
-
},
|
48 |
-
"layer_norm_eps": 1e-12,
|
49 |
-
"length_penalty": 1.0,
|
50 |
-
"max_length": 20,
|
51 |
-
"max_position_embeddings": 512,
|
52 |
-
"min_length": 0,
|
53 |
-
"model_type": "blip_2_qformer",
|
54 |
-
"no_repeat_ngram_size": 0,
|
55 |
-
"num_attention_heads": 12,
|
56 |
-
"num_beam_groups": 1,
|
57 |
-
"num_beams": 1,
|
58 |
-
"num_hidden_layers": 12,
|
59 |
-
"num_return_sequences": 1,
|
60 |
-
"output_attentions": false,
|
61 |
-
"output_hidden_states": false,
|
62 |
-
"output_scores": false,
|
63 |
-
"pad_token_id": 0,
|
64 |
-
"position_embedding_type": "absolute",
|
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 |
-
"sep_token_id": null,
|
73 |
-
"suppress_tokens": null,
|
74 |
-
"task_specific_params": null,
|
75 |
-
"temperature": 1.0,
|
76 |
-
"tf_legacy_loss": false,
|
77 |
-
"tie_encoder_decoder": false,
|
78 |
-
"tie_word_embeddings": true,
|
79 |
-
"tokenizer_class": null,
|
80 |
-
"top_k": 50,
|
81 |
-
"top_p": 1.0,
|
82 |
-
"torch_dtype": null,
|
83 |
-
"torchscript": false,
|
84 |
-
"transformers_version": "4.27.0.dev0",
|
85 |
-
"typical_p": 1.0,
|
86 |
-
"use_bfloat16": false,
|
87 |
-
"vocab_size": 30522
|
88 |
},
|
89 |
"text_config": {
|
90 |
-
"_name_or_path": "",
|
91 |
-
"add_cross_attention": false,
|
92 |
"architectures": [
|
93 |
"T5ForConditionalGeneration"
|
94 |
],
|
95 |
-
"bad_words_ids": null,
|
96 |
-
"begin_suppress_tokens": null,
|
97 |
"bos_token_id": 1,
|
98 |
-
"
|
99 |
-
"cross_attention_hidden_size": null,
|
100 |
"d_ff": 5120,
|
101 |
"d_kv": 64,
|
102 |
"d_model": 2048,
|
103 |
"decoder_start_token_id": 0,
|
104 |
"dense_act_fn": "gelu",
|
105 |
-
"diversity_penalty": 0.0,
|
106 |
-
"do_sample": false,
|
107 |
"dropout_rate": 0.1,
|
108 |
-
"early_stopping": false,
|
109 |
-
"encoder_no_repeat_ngram_size": 0,
|
110 |
"eos_token_id": 1,
|
111 |
-
"exponential_decay_length_penalty": null,
|
112 |
"feed_forward_proj": "gated-gelu",
|
113 |
-
"finetuning_task": null,
|
114 |
-
"forced_bos_token_id": null,
|
115 |
-
"forced_eos_token_id": null,
|
116 |
-
"id2label": {
|
117 |
-
"0": "LABEL_0",
|
118 |
-
"1": "LABEL_1"
|
119 |
-
},
|
120 |
"initializer_factor": 1.0,
|
121 |
-
"is_decoder": false,
|
122 |
"is_encoder_decoder": true,
|
123 |
"is_gated_act": true,
|
124 |
-
"label2id": {
|
125 |
-
"LABEL_0": 0,
|
126 |
-
"LABEL_1": 1
|
127 |
-
},
|
128 |
"layer_norm_epsilon": 1e-06,
|
129 |
-
"length_penalty": 1.0,
|
130 |
-
"max_length": 20,
|
131 |
-
"min_length": 0,
|
132 |
"model_type": "t5",
|
133 |
"n_positions": 512,
|
134 |
-
"no_repeat_ngram_size": 0,
|
135 |
-
"num_beam_groups": 1,
|
136 |
-
"num_beams": 1,
|
137 |
"num_decoder_layers": 24,
|
138 |
"num_heads": 32,
|
139 |
"num_layers": 24,
|
140 |
-
"num_return_sequences": 1,
|
141 |
-
"output_attentions": false,
|
142 |
-
"output_hidden_states": false,
|
143 |
"output_past": true,
|
144 |
-
"output_scores": false,
|
145 |
"pad_token_id": 0,
|
146 |
-
"prefix": null,
|
147 |
-
"problem_type": null,
|
148 |
-
"pruned_heads": {},
|
149 |
"relative_attention_max_distance": 128,
|
150 |
"relative_attention_num_buckets": 32,
|
151 |
-
"remove_invalid_values": false,
|
152 |
-
"repetition_penalty": 1.0,
|
153 |
-
"return_dict": true,
|
154 |
-
"return_dict_in_generate": false,
|
155 |
-
"sep_token_id": null,
|
156 |
-
"suppress_tokens": null,
|
157 |
"task_specific_params": {
|
158 |
"summarization": {
|
159 |
"early_stopping": true,
|
@@ -183,101 +68,18 @@
|
|
183 |
"prefix": "translate English to Romanian: "
|
184 |
}
|
185 |
},
|
186 |
-
"temperature": 1.0,
|
187 |
-
"tf_legacy_loss": false,
|
188 |
-
"tie_encoder_decoder": false,
|
189 |
"tie_word_embeddings": false,
|
190 |
-
"tokenizer_class": null,
|
191 |
-
"top_k": 50,
|
192 |
-
"top_p": 1.0,
|
193 |
"torch_dtype": "float32",
|
194 |
-
"torchscript": false,
|
195 |
-
"transformers_version": "4.27.0.dev0",
|
196 |
-
"typical_p": 1.0,
|
197 |
-
"use_bfloat16": false,
|
198 |
-
"use_cache": true,
|
199 |
"vocab_size": 32128
|
200 |
},
|
201 |
"torch_dtype": "float32",
|
202 |
-
"transformers_version":
|
203 |
"use_decoder_only_language_model": false,
|
204 |
"vision_config": {
|
205 |
-
"_name_or_path": "",
|
206 |
-
"add_cross_attention": false,
|
207 |
-
"architectures": null,
|
208 |
-
"attention_dropout": 0.0,
|
209 |
-
"bad_words_ids": null,
|
210 |
-
"begin_suppress_tokens": null,
|
211 |
-
"bos_token_id": null,
|
212 |
-
"chunk_size_feed_forward": 0,
|
213 |
-
"cross_attention_hidden_size": null,
|
214 |
-
"decoder_start_token_id": null,
|
215 |
-
"diversity_penalty": 0.0,
|
216 |
-
"do_sample": false,
|
217 |
"dropout": 0.0,
|
218 |
-
"early_stopping": false,
|
219 |
-
"encoder_no_repeat_ngram_size": 0,
|
220 |
-
"eos_token_id": null,
|
221 |
-
"exponential_decay_length_penalty": null,
|
222 |
-
"finetuning_task": null,
|
223 |
-
"forced_bos_token_id": null,
|
224 |
-
"forced_eos_token_id": null,
|
225 |
-
"hidden_act": "gelu",
|
226 |
-
"hidden_size": 1408,
|
227 |
-
"id2label": {
|
228 |
-
"0": "LABEL_0",
|
229 |
-
"1": "LABEL_1"
|
230 |
-
},
|
231 |
-
"image_size": 224,
|
232 |
"initializer_factor": 1.0,
|
233 |
-
"initializer_range": 1e-10,
|
234 |
-
"intermediate_size": 6144,
|
235 |
-
"is_decoder": false,
|
236 |
-
"is_encoder_decoder": false,
|
237 |
-
"label2id": {
|
238 |
-
"LABEL_0": 0,
|
239 |
-
"LABEL_1": 1
|
240 |
-
},
|
241 |
-
"layer_norm_eps": 1e-6,
|
242 |
-
"length_penalty": 1.0,
|
243 |
-
"max_length": 20,
|
244 |
-
"min_length": 0,
|
245 |
"model_type": "blip_2_vision_model",
|
246 |
-
"no_repeat_ngram_size": 0,
|
247 |
-
"num_attention_heads": 16,
|
248 |
-
"num_beam_groups": 1,
|
249 |
-
"num_beams": 1,
|
250 |
"num_channels": 3,
|
251 |
-
"
|
252 |
-
"num_return_sequences": 1,
|
253 |
-
"output_attentions": false,
|
254 |
-
"output_hidden_states": false,
|
255 |
-
"output_scores": false,
|
256 |
-
"pad_token_id": null,
|
257 |
-
"patch_size": 14,
|
258 |
-
"prefix": null,
|
259 |
-
"problem_type": null,
|
260 |
-
"projection_dim": 512,
|
261 |
-
"pruned_heads": {},
|
262 |
-
"qkv_bias": true,
|
263 |
-
"remove_invalid_values": false,
|
264 |
-
"repetition_penalty": 1.0,
|
265 |
-
"return_dict": true,
|
266 |
-
"return_dict_in_generate": false,
|
267 |
-
"sep_token_id": null,
|
268 |
-
"suppress_tokens": null,
|
269 |
-
"task_specific_params": null,
|
270 |
-
"temperature": 1.0,
|
271 |
-
"tf_legacy_loss": false,
|
272 |
-
"tie_encoder_decoder": false,
|
273 |
-
"tie_word_embeddings": true,
|
274 |
-
"tokenizer_class": null,
|
275 |
-
"top_k": 50,
|
276 |
-
"top_p": 1.0,
|
277 |
-
"torch_dtype": null,
|
278 |
-
"torchscript": false,
|
279 |
-
"transformers_version": "4.27.0.dev0",
|
280 |
-
"typical_p": 1.0,
|
281 |
-
"use_bfloat16": false
|
282 |
}
|
283 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"Blip2ForConditionalGeneration"
|
4 |
],
|
5 |
+
"image_text_hidden_size": 256,
|
6 |
+
"image_token_index": 32100,
|
7 |
"initializer_factor": 1.0,
|
8 |
"initializer_range": 0.02,
|
9 |
"model_type": "blip-2",
|
10 |
"num_query_tokens": 32,
|
11 |
"qformer_config": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
"classifier_dropout": null,
|
13 |
+
"model_type": "blip_2_qformer"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
},
|
15 |
"text_config": {
|
|
|
|
|
16 |
"architectures": [
|
17 |
"T5ForConditionalGeneration"
|
18 |
],
|
|
|
|
|
19 |
"bos_token_id": 1,
|
20 |
+
"classifier_dropout": 0.0,
|
|
|
21 |
"d_ff": 5120,
|
22 |
"d_kv": 64,
|
23 |
"d_model": 2048,
|
24 |
"decoder_start_token_id": 0,
|
25 |
"dense_act_fn": "gelu",
|
|
|
|
|
26 |
"dropout_rate": 0.1,
|
|
|
|
|
27 |
"eos_token_id": 1,
|
|
|
28 |
"feed_forward_proj": "gated-gelu",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"initializer_factor": 1.0,
|
|
|
30 |
"is_encoder_decoder": true,
|
31 |
"is_gated_act": true,
|
|
|
|
|
|
|
|
|
32 |
"layer_norm_epsilon": 1e-06,
|
|
|
|
|
|
|
33 |
"model_type": "t5",
|
34 |
"n_positions": 512,
|
|
|
|
|
|
|
35 |
"num_decoder_layers": 24,
|
36 |
"num_heads": 32,
|
37 |
"num_layers": 24,
|
|
|
|
|
|
|
38 |
"output_past": true,
|
|
|
39 |
"pad_token_id": 0,
|
|
|
|
|
|
|
40 |
"relative_attention_max_distance": 128,
|
41 |
"relative_attention_num_buckets": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
"task_specific_params": {
|
43 |
"summarization": {
|
44 |
"early_stopping": true,
|
|
|
68 |
"prefix": "translate English to Romanian: "
|
69 |
}
|
70 |
},
|
|
|
|
|
|
|
71 |
"tie_word_embeddings": false,
|
|
|
|
|
|
|
72 |
"torch_dtype": "float32",
|
|
|
|
|
|
|
|
|
|
|
73 |
"vocab_size": 32128
|
74 |
},
|
75 |
"torch_dtype": "float32",
|
76 |
+
"transformers_version": "4.47.0.dev0",
|
77 |
"use_decoder_only_language_model": false,
|
78 |
"vision_config": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
"dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
"initializer_factor": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
"model_type": "blip_2_vision_model",
|
|
|
|
|
|
|
|
|
82 |
"num_channels": 3,
|
83 |
+
"projection_dim": 512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"decoder_start_token_id": 0,
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.47.0.dev0"
|
8 |
+
}
|
model-00001-of-00002.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23bb7a7a78644afa9a138dd6c4360edf51ca5fc6da1c5d01f147b964ad7c0c6d
|
3 |
+
size 9961318232
|
model-00002-of-00002.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c77bd5bcdbc0945c57444d34d28bd4452dc715c3d8aef54e2e91459fdafb7e03
|
3 |
+
size 5808636312
|
model.safetensors.index.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
processor_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"num_query_tokens": 32,
|
3 |
+
"processor_class": "Blip2Processor"
|
4 |
+
}
|
special_tokens_map.json
CHANGED
@@ -101,7 +101,25 @@
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
104 |
-
"eos_token":
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
104 |
+
"eos_token": {
|
105 |
+
"content": "</s>",
|
106 |
+
"lstrip": false,
|
107 |
+
"normalized": false,
|
108 |
+
"rstrip": false,
|
109 |
+
"single_word": false
|
110 |
+
},
|
111 |
+
"pad_token": {
|
112 |
+
"content": "<pad>",
|
113 |
+
"lstrip": false,
|
114 |
+
"normalized": false,
|
115 |
+
"rstrip": false,
|
116 |
+
"single_word": false
|
117 |
+
},
|
118 |
+
"unk_token": {
|
119 |
+
"content": "<unk>",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": false,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false
|
124 |
+
}
|
125 |
}
|
tokenizer.json
CHANGED
@@ -929,6 +929,15 @@
|
|
929 |
"rstrip": false,
|
930 |
"normalized": false,
|
931 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
932 |
}
|
933 |
],
|
934 |
"normalizer": {
|
@@ -950,7 +959,8 @@
|
|
950 |
"pre_tokenizer": {
|
951 |
"type": "Metaspace",
|
952 |
"replacement": "▁",
|
953 |
-
"
|
|
|
954 |
},
|
955 |
"post_processor": {
|
956 |
"type": "TemplateProcessing",
|
@@ -1009,7 +1019,8 @@
|
|
1009 |
"decoder": {
|
1010 |
"type": "Metaspace",
|
1011 |
"replacement": "▁",
|
1012 |
-
"
|
|
|
1013 |
},
|
1014 |
"model": {
|
1015 |
"type": "Unigram",
|
@@ -129415,6 +129426,7 @@
|
|
129415 |
"<extra_id_0>",
|
129416 |
0.0
|
129417 |
]
|
129418 |
-
]
|
|
|
129419 |
}
|
129420 |
}
|
|
|
929 |
"rstrip": false,
|
930 |
"normalized": false,
|
931 |
"special": true
|
932 |
+
},
|
933 |
+
{
|
934 |
+
"id": 32100,
|
935 |
+
"content": "<image>",
|
936 |
+
"single_word": false,
|
937 |
+
"lstrip": false,
|
938 |
+
"rstrip": false,
|
939 |
+
"normalized": false,
|
940 |
+
"special": true
|
941 |
}
|
942 |
],
|
943 |
"normalizer": {
|
|
|
959 |
"pre_tokenizer": {
|
960 |
"type": "Metaspace",
|
961 |
"replacement": "▁",
|
962 |
+
"prepend_scheme": "always",
|
963 |
+
"split": true
|
964 |
},
|
965 |
"post_processor": {
|
966 |
"type": "TemplateProcessing",
|
|
|
1019 |
"decoder": {
|
1020 |
"type": "Metaspace",
|
1021 |
"replacement": "▁",
|
1022 |
+
"prepend_scheme": "always",
|
1023 |
+
"split": true
|
1024 |
},
|
1025 |
"model": {
|
1026 |
"type": "Unigram",
|
|
|
129426 |
"<extra_id_0>",
|
129427 |
0.0
|
129428 |
]
|
129429 |
+
],
|
129430 |
+
"byte_fallback": false
|
129431 |
}
|
129432 |
}
|
tokenizer_config.json
CHANGED
@@ -1,4 +1,838 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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<extra_id_1>",
|
@@ -101,13 +935,13 @@
|
|
101 |
"<extra_id_98>",
|
102 |
"<extra_id_99>"
|
103 |
],
|
|
|
104 |
"eos_token": "</s>",
|
105 |
"extra_ids": 100,
|
106 |
"model_max_length": 512,
|
107 |
"pad_token": "<pad>",
|
108 |
"processor_class": "Blip2Processor",
|
109 |
"sp_model_kwargs": {},
|
110 |
-
"special_tokens_map_file": "/home/arthur_huggingface_co/.cache/huggingface/hub/models--google--t5-v1_1-small/snapshots/fb7e6cba609f7bab11c614294bc04f82f613c7b1/special_tokens_map.json",
|
111 |
"tokenizer_class": "T5Tokenizer",
|
112 |
"unk_token": "<unk>"
|
113 |
}
|
|
|
1 |
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<pad>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "</s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<unk>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"32000": {
|
28 |
+
"content": "<extra_id_99>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"32001": {
|
36 |
+
"content": "<extra_id_98>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"32002": {
|
44 |
+
"content": "<extra_id_97>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"32003": {
|
52 |
+
"content": "<extra_id_96>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"32004": {
|
60 |
+
"content": "<extra_id_95>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"32005": {
|
68 |
+
"content": "<extra_id_94>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
},
|
75 |
+
"32006": {
|
76 |
+
"content": "<extra_id_93>",
|
77 |
+
"lstrip": false,
|
78 |
+
"normalized": false,
|
79 |
+
"rstrip": false,
|
80 |
+
"single_word": false,
|
81 |
+
"special": true
|
82 |
+
},
|
83 |
+
"32007": {
|
84 |
+
"content": "<extra_id_92>",
|
85 |
+
"lstrip": false,
|
86 |
+
"normalized": false,
|
87 |
+
"rstrip": false,
|
88 |
+
"single_word": false,
|
89 |
+
"special": true
|
90 |
+
},
|
91 |
+
"32008": {
|
92 |
+
"content": "<extra_id_91>",
|
93 |
+
"lstrip": false,
|
94 |
+
"normalized": false,
|
95 |
+
"rstrip": false,
|
96 |
+
"single_word": false,
|
97 |
+
"special": true
|
98 |
+
},
|
99 |
+
"32009": {
|
100 |
+
"content": "<extra_id_90>",
|
101 |
+
"lstrip": false,
|
102 |
+
"normalized": false,
|
103 |
+
"rstrip": false,
|
104 |
+
"single_word": false,
|
105 |
+
"special": true
|
106 |
+
},
|
107 |
+
"32010": {
|
108 |
+
"content": "<extra_id_89>",
|
109 |
+
"lstrip": false,
|
110 |
+
"normalized": false,
|
111 |
+
"rstrip": false,
|
112 |
+
"single_word": false,
|
113 |
+
"special": true
|
114 |
+
},
|
115 |
+
"32011": {
|
116 |
+
"content": "<extra_id_88>",
|
117 |
+
"lstrip": false,
|
118 |
+
"normalized": false,
|
119 |
+
"rstrip": false,
|
120 |
+
"single_word": false,
|
121 |
+
"special": true
|
122 |
+
},
|
123 |
+
"32012": {
|
124 |
+
"content": "<extra_id_87>",
|
125 |
+
"lstrip": false,
|
126 |
+
"normalized": false,
|
127 |
+
"rstrip": false,
|
128 |
+
"single_word": false,
|
129 |
+
"special": true
|
130 |
+
},
|
131 |
+
"32013": {
|
132 |
+
"content": "<extra_id_86>",
|
133 |
+
"lstrip": false,
|
134 |
+
"normalized": false,
|
135 |
+
"rstrip": false,
|
136 |
+
"single_word": false,
|
137 |
+
"special": true
|
138 |
+
},
|
139 |
+
"32014": {
|
140 |
+
"content": "<extra_id_85>",
|
141 |
+
"lstrip": false,
|
142 |
+
"normalized": false,
|
143 |
+
"rstrip": false,
|
144 |
+
"single_word": false,
|
145 |
+
"special": true
|
146 |
+
},
|
147 |
+
"32015": {
|
148 |
+
"content": "<extra_id_84>",
|
149 |
+
"lstrip": false,
|
150 |
+
"normalized": false,
|
151 |
+
"rstrip": false,
|
152 |
+
"single_word": false,
|
153 |
+
"special": true
|
154 |
+
},
|
155 |
+
"32016": {
|
156 |
+
"content": "<extra_id_83>",
|
157 |
+
"lstrip": false,
|
158 |
+
"normalized": false,
|
159 |
+
"rstrip": false,
|
160 |
+
"single_word": false,
|
161 |
+
"special": true
|
162 |
+
},
|
163 |
+
"32017": {
|
164 |
+
"content": "<extra_id_82>",
|
165 |
+
"lstrip": false,
|
166 |
+
"normalized": false,
|
167 |
+
"rstrip": false,
|
168 |
+
"single_word": false,
|
169 |
+
"special": true
|
170 |
+
},
|
171 |
+
"32018": {
|
172 |
+
"content": "<extra_id_81>",
|
173 |
+
"lstrip": false,
|
174 |
+
"normalized": false,
|
175 |
+
"rstrip": false,
|
176 |
+
"single_word": false,
|
177 |
+
"special": true
|
178 |
+
},
|
179 |
+
"32019": {
|
180 |
+
"content": "<extra_id_80>",
|
181 |
+
"lstrip": false,
|
182 |
+
"normalized": false,
|
183 |
+
"rstrip": false,
|
184 |
+
"single_word": false,
|
185 |
+
"special": true
|
186 |
+
},
|
187 |
+
"32020": {
|
188 |
+
"content": "<extra_id_79>",
|
189 |
+
"lstrip": false,
|
190 |
+
"normalized": false,
|
191 |
+
"rstrip": false,
|
192 |
+
"single_word": false,
|
193 |
+
"special": true
|
194 |
+
},
|
195 |
+
"32021": {
|
196 |
+
"content": "<extra_id_78>",
|
197 |
+
"lstrip": false,
|
198 |
+
"normalized": false,
|
199 |
+
"rstrip": false,
|
200 |
+
"single_word": false,
|
201 |
+
"special": true
|
202 |
+
},
|
203 |
+
"32022": {
|
204 |
+
"content": "<extra_id_77>",
|
205 |
+
"lstrip": false,
|
206 |
+
"normalized": false,
|
207 |
+
"rstrip": false,
|
208 |
+
"single_word": false,
|
209 |
+
"special": true
|
210 |
+
},
|
211 |
+
"32023": {
|
212 |
+
"content": "<extra_id_76>",
|
213 |
+
"lstrip": false,
|
214 |
+
"normalized": false,
|
215 |
+
"rstrip": false,
|
216 |
+
"single_word": false,
|
217 |
+
"special": true
|
218 |
+
},
|
219 |
+
"32024": {
|
220 |
+
"content": "<extra_id_75>",
|
221 |
+
"lstrip": false,
|
222 |
+
"normalized": false,
|
223 |
+
"rstrip": false,
|
224 |
+
"single_word": false,
|
225 |
+
"special": true
|
226 |
+
},
|
227 |
+
"32025": {
|
228 |
+
"content": "<extra_id_74>",
|
229 |
+
"lstrip": false,
|
230 |
+
"normalized": false,
|
231 |
+
"rstrip": false,
|
232 |
+
"single_word": false,
|
233 |
+
"special": true
|
234 |
+
},
|
235 |
+
"32026": {
|
236 |
+
"content": "<extra_id_73>",
|
237 |
+
"lstrip": false,
|
238 |
+
"normalized": false,
|
239 |
+
"rstrip": false,
|
240 |
+
"single_word": false,
|
241 |
+
"special": true
|
242 |
+
},
|
243 |
+
"32027": {
|
244 |
+
"content": "<extra_id_72>",
|
245 |
+
"lstrip": false,
|
246 |
+
"normalized": false,
|
247 |
+
"rstrip": false,
|
248 |
+
"single_word": false,
|
249 |
+
"special": true
|
250 |
+
},
|
251 |
+
"32028": {
|
252 |
+
"content": "<extra_id_71>",
|
253 |
+
"lstrip": false,
|
254 |
+
"normalized": false,
|
255 |
+
"rstrip": false,
|
256 |
+
"single_word": false,
|
257 |
+
"special": true
|
258 |
+
},
|
259 |
+
"32029": {
|
260 |
+
"content": "<extra_id_70>",
|
261 |
+
"lstrip": false,
|
262 |
+
"normalized": false,
|
263 |
+
"rstrip": false,
|
264 |
+
"single_word": false,
|
265 |
+
"special": true
|
266 |
+
},
|
267 |
+
"32030": {
|
268 |
+
"content": "<extra_id_69>",
|
269 |
+
"lstrip": false,
|
270 |
+
"normalized": false,
|
271 |
+
"rstrip": false,
|
272 |
+
"single_word": false,
|
273 |
+
"special": true
|
274 |
+
},
|
275 |
+
"32031": {
|
276 |
+
"content": "<extra_id_68>",
|
277 |
+
"lstrip": false,
|
278 |
+
"normalized": false,
|
279 |
+
"rstrip": false,
|
280 |
+
"single_word": false,
|
281 |
+
"special": true
|
282 |
+
},
|
283 |
+
"32032": {
|
284 |
+
"content": "<extra_id_67>",
|
285 |
+
"lstrip": false,
|
286 |
+
"normalized": false,
|
287 |
+
"rstrip": false,
|
288 |
+
"single_word": false,
|
289 |
+
"special": true
|
290 |
+
},
|
291 |
+
"32033": {
|
292 |
+
"content": "<extra_id_66>",
|
293 |
+
"lstrip": false,
|
294 |
+
"normalized": false,
|
295 |
+
"rstrip": false,
|
296 |
+
"single_word": false,
|
297 |
+
"special": true
|
298 |
+
},
|
299 |
+
"32034": {
|
300 |
+
"content": "<extra_id_65>",
|
301 |
+
"lstrip": false,
|
302 |
+
"normalized": false,
|
303 |
+
"rstrip": false,
|
304 |
+
"single_word": false,
|
305 |
+
"special": true
|
306 |
+
},
|
307 |
+
"32035": {
|
308 |
+
"content": "<extra_id_64>",
|
309 |
+
"lstrip": false,
|
310 |
+
"normalized": false,
|
311 |
+
"rstrip": false,
|
312 |
+
"single_word": false,
|
313 |
+
"special": true
|
314 |
+
},
|
315 |
+
"32036": {
|
316 |
+
"content": "<extra_id_63>",
|
317 |
+
"lstrip": false,
|
318 |
+
"normalized": false,
|
319 |
+
"rstrip": false,
|
320 |
+
"single_word": false,
|
321 |
+
"special": true
|
322 |
+
},
|
323 |
+
"32037": {
|
324 |
+
"content": "<extra_id_62>",
|
325 |
+
"lstrip": false,
|
326 |
+
"normalized": false,
|
327 |
+
"rstrip": false,
|
328 |
+
"single_word": false,
|
329 |
+
"special": true
|
330 |
+
},
|
331 |
+
"32038": {
|
332 |
+
"content": "<extra_id_61>",
|
333 |
+
"lstrip": false,
|
334 |
+
"normalized": false,
|
335 |
+
"rstrip": false,
|
336 |
+
"single_word": false,
|
337 |
+
"special": true
|
338 |
+
},
|
339 |
+
"32039": {
|
340 |
+
"content": "<extra_id_60>",
|
341 |
+
"lstrip": false,
|
342 |
+
"normalized": false,
|
343 |
+
"rstrip": false,
|
344 |
+
"single_word": false,
|
345 |
+
"special": true
|
346 |
+
},
|
347 |
+
"32040": {
|
348 |
+
"content": "<extra_id_59>",
|
349 |
+
"lstrip": false,
|
350 |
+
"normalized": false,
|
351 |
+
"rstrip": false,
|
352 |
+
"single_word": false,
|
353 |
+
"special": true
|
354 |
+
},
|
355 |
+
"32041": {
|
356 |
+
"content": "<extra_id_58>",
|
357 |
+
"lstrip": false,
|
358 |
+
"normalized": false,
|
359 |
+
"rstrip": false,
|
360 |
+
"single_word": false,
|
361 |
+
"special": true
|
362 |
+
},
|
363 |
+
"32042": {
|
364 |
+
"content": "<extra_id_57>",
|
365 |
+
"lstrip": false,
|
366 |
+
"normalized": false,
|
367 |
+
"rstrip": false,
|
368 |
+
"single_word": false,
|
369 |
+
"special": true
|
370 |
+
},
|
371 |
+
"32043": {
|
372 |
+
"content": "<extra_id_56>",
|
373 |
+
"lstrip": false,
|
374 |
+
"normalized": false,
|
375 |
+
"rstrip": false,
|
376 |
+
"single_word": false,
|
377 |
+
"special": true
|
378 |
+
},
|
379 |
+
"32044": {
|
380 |
+
"content": "<extra_id_55>",
|
381 |
+
"lstrip": false,
|
382 |
+
"normalized": false,
|
383 |
+
"rstrip": false,
|
384 |
+
"single_word": false,
|
385 |
+
"special": true
|
386 |
+
},
|
387 |
+
"32045": {
|
388 |
+
"content": "<extra_id_54>",
|
389 |
+
"lstrip": false,
|
390 |
+
"normalized": false,
|
391 |
+
"rstrip": false,
|
392 |
+
"single_word": false,
|
393 |
+
"special": true
|
394 |
+
},
|
395 |
+
"32046": {
|
396 |
+
"content": "<extra_id_53>",
|
397 |
+
"lstrip": false,
|
398 |
+
"normalized": false,
|
399 |
+
"rstrip": false,
|
400 |
+
"single_word": false,
|
401 |
+
"special": true
|
402 |
+
},
|
403 |
+
"32047": {
|
404 |
+
"content": "<extra_id_52>",
|
405 |
+
"lstrip": false,
|
406 |
+
"normalized": false,
|
407 |
+
"rstrip": false,
|
408 |
+
"single_word": false,
|
409 |
+
"special": true
|
410 |
+
},
|
411 |
+
"32048": {
|
412 |
+
"content": "<extra_id_51>",
|
413 |
+
"lstrip": false,
|
414 |
+
"normalized": false,
|
415 |
+
"rstrip": false,
|
416 |
+
"single_word": false,
|
417 |
+
"special": true
|
418 |
+
},
|
419 |
+
"32049": {
|
420 |
+
"content": "<extra_id_50>",
|
421 |
+
"lstrip": false,
|
422 |
+
"normalized": false,
|
423 |
+
"rstrip": false,
|
424 |
+
"single_word": false,
|
425 |
+
"special": true
|
426 |
+
},
|
427 |
+
"32050": {
|
428 |
+
"content": "<extra_id_49>",
|
429 |
+
"lstrip": false,
|
430 |
+
"normalized": false,
|
431 |
+
"rstrip": false,
|
432 |
+
"single_word": false,
|
433 |
+
"special": true
|
434 |
+
},
|
435 |
+
"32051": {
|
436 |
+
"content": "<extra_id_48>",
|
437 |
+
"lstrip": false,
|
438 |
+
"normalized": false,
|
439 |
+
"rstrip": false,
|
440 |
+
"single_word": false,
|
441 |
+
"special": true
|
442 |
+
},
|
443 |
+
"32052": {
|
444 |
+
"content": "<extra_id_47>",
|
445 |
+
"lstrip": false,
|
446 |
+
"normalized": false,
|
447 |
+
"rstrip": false,
|
448 |
+
"single_word": false,
|
449 |
+
"special": true
|
450 |
+
},
|
451 |
+
"32053": {
|
452 |
+
"content": "<extra_id_46>",
|
453 |
+
"lstrip": false,
|
454 |
+
"normalized": false,
|
455 |
+
"rstrip": false,
|
456 |
+
"single_word": false,
|
457 |
+
"special": true
|
458 |
+
},
|
459 |
+
"32054": {
|
460 |
+
"content": "<extra_id_45>",
|
461 |
+
"lstrip": false,
|
462 |
+
"normalized": false,
|
463 |
+
"rstrip": false,
|
464 |
+
"single_word": false,
|
465 |
+
"special": true
|
466 |
+
},
|
467 |
+
"32055": {
|
468 |
+
"content": "<extra_id_44>",
|
469 |
+
"lstrip": false,
|
470 |
+
"normalized": false,
|
471 |
+
"rstrip": false,
|
472 |
+
"single_word": false,
|
473 |
+
"special": true
|
474 |
+
},
|
475 |
+
"32056": {
|
476 |
+
"content": "<extra_id_43>",
|
477 |
+
"lstrip": false,
|
478 |
+
"normalized": false,
|
479 |
+
"rstrip": false,
|
480 |
+
"single_word": false,
|
481 |
+
"special": true
|
482 |
+
},
|
483 |
+
"32057": {
|
484 |
+
"content": "<extra_id_42>",
|
485 |
+
"lstrip": false,
|
486 |
+
"normalized": false,
|
487 |
+
"rstrip": false,
|
488 |
+
"single_word": false,
|
489 |
+
"special": true
|
490 |
+
},
|
491 |
+
"32058": {
|
492 |
+
"content": "<extra_id_41>",
|
493 |
+
"lstrip": false,
|
494 |
+
"normalized": false,
|
495 |
+
"rstrip": false,
|
496 |
+
"single_word": false,
|
497 |
+
"special": true
|
498 |
+
},
|
499 |
+
"32059": {
|
500 |
+
"content": "<extra_id_40>",
|
501 |
+
"lstrip": false,
|
502 |
+
"normalized": false,
|
503 |
+
"rstrip": false,
|
504 |
+
"single_word": false,
|
505 |
+
"special": true
|
506 |
+
},
|
507 |
+
"32060": {
|
508 |
+
"content": "<extra_id_39>",
|
509 |
+
"lstrip": false,
|
510 |
+
"normalized": false,
|
511 |
+
"rstrip": false,
|
512 |
+
"single_word": false,
|
513 |
+
"special": true
|
514 |
+
},
|
515 |
+
"32061": {
|
516 |
+
"content": "<extra_id_38>",
|
517 |
+
"lstrip": false,
|
518 |
+
"normalized": false,
|
519 |
+
"rstrip": false,
|
520 |
+
"single_word": false,
|
521 |
+
"special": true
|
522 |
+
},
|
523 |
+
"32062": {
|
524 |
+
"content": "<extra_id_37>",
|
525 |
+
"lstrip": false,
|
526 |
+
"normalized": false,
|
527 |
+
"rstrip": false,
|
528 |
+
"single_word": false,
|
529 |
+
"special": true
|
530 |
+
},
|
531 |
+
"32063": {
|
532 |
+
"content": "<extra_id_36>",
|
533 |
+
"lstrip": false,
|
534 |
+
"normalized": false,
|
535 |
+
"rstrip": false,
|
536 |
+
"single_word": false,
|
537 |
+
"special": true
|
538 |
+
},
|
539 |
+
"32064": {
|
540 |
+
"content": "<extra_id_35>",
|
541 |
+
"lstrip": false,
|
542 |
+
"normalized": false,
|
543 |
+
"rstrip": false,
|
544 |
+
"single_word": false,
|
545 |
+
"special": true
|
546 |
+
},
|
547 |
+
"32065": {
|
548 |
+
"content": "<extra_id_34>",
|
549 |
+
"lstrip": false,
|
550 |
+
"normalized": false,
|
551 |
+
"rstrip": false,
|
552 |
+
"single_word": false,
|
553 |
+
"special": true
|
554 |
+
},
|
555 |
+
"32066": {
|
556 |
+
"content": "<extra_id_33>",
|
557 |
+
"lstrip": false,
|
558 |
+
"normalized": false,
|
559 |
+
"rstrip": false,
|
560 |
+
"single_word": false,
|
561 |
+
"special": true
|
562 |
+
},
|
563 |
+
"32067": {
|
564 |
+
"content": "<extra_id_32>",
|
565 |
+
"lstrip": false,
|
566 |
+
"normalized": false,
|
567 |
+
"rstrip": false,
|
568 |
+
"single_word": false,
|
569 |
+
"special": true
|
570 |
+
},
|
571 |
+
"32068": {
|
572 |
+
"content": "<extra_id_31>",
|
573 |
+
"lstrip": false,
|
574 |
+
"normalized": false,
|
575 |
+
"rstrip": false,
|
576 |
+
"single_word": false,
|
577 |
+
"special": true
|
578 |
+
},
|
579 |
+
"32069": {
|
580 |
+
"content": "<extra_id_30>",
|
581 |
+
"lstrip": false,
|
582 |
+
"normalized": false,
|
583 |
+
"rstrip": false,
|
584 |
+
"single_word": false,
|
585 |
+
"special": true
|
586 |
+
},
|
587 |
+
"32070": {
|
588 |
+
"content": "<extra_id_29>",
|
589 |
+
"lstrip": false,
|
590 |
+
"normalized": false,
|
591 |
+
"rstrip": false,
|
592 |
+
"single_word": false,
|
593 |
+
"special": true
|
594 |
+
},
|
595 |
+
"32071": {
|
596 |
+
"content": "<extra_id_28>",
|
597 |
+
"lstrip": false,
|
598 |
+
"normalized": false,
|
599 |
+
"rstrip": false,
|
600 |
+
"single_word": false,
|
601 |
+
"special": true
|
602 |
+
},
|
603 |
+
"32072": {
|
604 |
+
"content": "<extra_id_27>",
|
605 |
+
"lstrip": false,
|
606 |
+
"normalized": false,
|
607 |
+
"rstrip": false,
|
608 |
+
"single_word": false,
|
609 |
+
"special": true
|
610 |
+
},
|
611 |
+
"32073": {
|
612 |
+
"content": "<extra_id_26>",
|
613 |
+
"lstrip": false,
|
614 |
+
"normalized": false,
|
615 |
+
"rstrip": false,
|
616 |
+
"single_word": false,
|
617 |
+
"special": true
|
618 |
+
},
|
619 |
+
"32074": {
|
620 |
+
"content": "<extra_id_25>",
|
621 |
+
"lstrip": false,
|
622 |
+
"normalized": false,
|
623 |
+
"rstrip": false,
|
624 |
+
"single_word": false,
|
625 |
+
"special": true
|
626 |
+
},
|
627 |
+
"32075": {
|
628 |
+
"content": "<extra_id_24>",
|
629 |
+
"lstrip": false,
|
630 |
+
"normalized": false,
|
631 |
+
"rstrip": false,
|
632 |
+
"single_word": false,
|
633 |
+
"special": true
|
634 |
+
},
|
635 |
+
"32076": {
|
636 |
+
"content": "<extra_id_23>",
|
637 |
+
"lstrip": false,
|
638 |
+
"normalized": false,
|
639 |
+
"rstrip": false,
|
640 |
+
"single_word": false,
|
641 |
+
"special": true
|
642 |
+
},
|
643 |
+
"32077": {
|
644 |
+
"content": "<extra_id_22>",
|
645 |
+
"lstrip": false,
|
646 |
+
"normalized": false,
|
647 |
+
"rstrip": false,
|
648 |
+
"single_word": false,
|
649 |
+
"special": true
|
650 |
+
},
|
651 |
+
"32078": {
|
652 |
+
"content": "<extra_id_21>",
|
653 |
+
"lstrip": false,
|
654 |
+
"normalized": false,
|
655 |
+
"rstrip": false,
|
656 |
+
"single_word": false,
|
657 |
+
"special": true
|
658 |
+
},
|
659 |
+
"32079": {
|
660 |
+
"content": "<extra_id_20>",
|
661 |
+
"lstrip": false,
|
662 |
+
"normalized": false,
|
663 |
+
"rstrip": false,
|
664 |
+
"single_word": false,
|
665 |
+
"special": true
|
666 |
+
},
|
667 |
+
"32080": {
|
668 |
+
"content": "<extra_id_19>",
|
669 |
+
"lstrip": false,
|
670 |
+
"normalized": false,
|
671 |
+
"rstrip": false,
|
672 |
+
"single_word": false,
|
673 |
+
"special": true
|
674 |
+
},
|
675 |
+
"32081": {
|
676 |
+
"content": "<extra_id_18>",
|
677 |
+
"lstrip": false,
|
678 |
+
"normalized": false,
|
679 |
+
"rstrip": false,
|
680 |
+
"single_word": false,
|
681 |
+
"special": true
|
682 |
+
},
|
683 |
+
"32082": {
|
684 |
+
"content": "<extra_id_17>",
|
685 |
+
"lstrip": false,
|
686 |
+
"normalized": false,
|
687 |
+
"rstrip": false,
|
688 |
+
"single_word": false,
|
689 |
+
"special": true
|
690 |
+
},
|
691 |
+
"32083": {
|
692 |
+
"content": "<extra_id_16>",
|
693 |
+
"lstrip": false,
|
694 |
+
"normalized": false,
|
695 |
+
"rstrip": false,
|
696 |
+
"single_word": false,
|
697 |
+
"special": true
|
698 |
+
},
|
699 |
+
"32084": {
|
700 |
+
"content": "<extra_id_15>",
|
701 |
+
"lstrip": false,
|
702 |
+
"normalized": false,
|
703 |
+
"rstrip": false,
|
704 |
+
"single_word": false,
|
705 |
+
"special": true
|
706 |
+
},
|
707 |
+
"32085": {
|
708 |
+
"content": "<extra_id_14>",
|
709 |
+
"lstrip": false,
|
710 |
+
"normalized": false,
|
711 |
+
"rstrip": false,
|
712 |
+
"single_word": false,
|
713 |
+
"special": true
|
714 |
+
},
|
715 |
+
"32086": {
|
716 |
+
"content": "<extra_id_13>",
|
717 |
+
"lstrip": false,
|
718 |
+
"normalized": false,
|
719 |
+
"rstrip": false,
|
720 |
+
"single_word": false,
|
721 |
+
"special": true
|
722 |
+
},
|
723 |
+
"32087": {
|
724 |
+
"content": "<extra_id_12>",
|
725 |
+
"lstrip": false,
|
726 |
+
"normalized": false,
|
727 |
+
"rstrip": false,
|
728 |
+
"single_word": false,
|
729 |
+
"special": true
|
730 |
+
},
|
731 |
+
"32088": {
|
732 |
+
"content": "<extra_id_11>",
|
733 |
+
"lstrip": false,
|
734 |
+
"normalized": false,
|
735 |
+
"rstrip": false,
|
736 |
+
"single_word": false,
|
737 |
+
"special": true
|
738 |
+
},
|
739 |
+
"32089": {
|
740 |
+
"content": "<extra_id_10>",
|
741 |
+
"lstrip": false,
|
742 |
+
"normalized": false,
|
743 |
+
"rstrip": false,
|
744 |
+
"single_word": false,
|
745 |
+
"special": true
|
746 |
+
},
|
747 |
+
"32090": {
|
748 |
+
"content": "<extra_id_9>",
|
749 |
+
"lstrip": false,
|
750 |
+
"normalized": false,
|
751 |
+
"rstrip": false,
|
752 |
+
"single_word": false,
|
753 |
+
"special": true
|
754 |
+
},
|
755 |
+
"32091": {
|
756 |
+
"content": "<extra_id_8>",
|
757 |
+
"lstrip": false,
|
758 |
+
"normalized": false,
|
759 |
+
"rstrip": false,
|
760 |
+
"single_word": false,
|
761 |
+
"special": true
|
762 |
+
},
|
763 |
+
"32092": {
|
764 |
+
"content": "<extra_id_7>",
|
765 |
+
"lstrip": false,
|
766 |
+
"normalized": false,
|
767 |
+
"rstrip": false,
|
768 |
+
"single_word": false,
|
769 |
+
"special": true
|
770 |
+
},
|
771 |
+
"32093": {
|
772 |
+
"content": "<extra_id_6>",
|
773 |
+
"lstrip": false,
|
774 |
+
"normalized": false,
|
775 |
+
"rstrip": false,
|
776 |
+
"single_word": false,
|
777 |
+
"special": true
|
778 |
+
},
|
779 |
+
"32094": {
|
780 |
+
"content": "<extra_id_5>",
|
781 |
+
"lstrip": false,
|
782 |
+
"normalized": false,
|
783 |
+
"rstrip": false,
|
784 |
+
"single_word": false,
|
785 |
+
"special": true
|
786 |
+
},
|
787 |
+
"32095": {
|
788 |
+
"content": "<extra_id_4>",
|
789 |
+
"lstrip": false,
|
790 |
+
"normalized": false,
|
791 |
+
"rstrip": false,
|
792 |
+
"single_word": false,
|
793 |
+
"special": true
|
794 |
+
},
|
795 |
+
"32096": {
|
796 |
+
"content": "<extra_id_3>",
|
797 |
+
"lstrip": false,
|
798 |
+
"normalized": false,
|
799 |
+
"rstrip": false,
|
800 |
+
"single_word": false,
|
801 |
+
"special": true
|
802 |
+
},
|
803 |
+
"32097": {
|
804 |
+
"content": "<extra_id_2>",
|
805 |
+
"lstrip": false,
|
806 |
+
"normalized": false,
|
807 |
+
"rstrip": false,
|
808 |
+
"single_word": false,
|
809 |
+
"special": true
|
810 |
+
},
|
811 |
+
"32098": {
|
812 |
+
"content": "<extra_id_1>",
|
813 |
+
"lstrip": false,
|
814 |
+
"normalized": false,
|
815 |
+
"rstrip": false,
|
816 |
+
"single_word": false,
|
817 |
+
"special": true
|
818 |
+
},
|
819 |
+
"32099": {
|
820 |
+
"content": "<extra_id_0>",
|
821 |
+
"lstrip": false,
|
822 |
+
"normalized": false,
|
823 |
+
"rstrip": false,
|
824 |
+
"single_word": false,
|
825 |
+
"special": true
|
826 |
+
},
|
827 |
+
"32100": {
|
828 |
+
"content": "<image>",
|
829 |
+
"lstrip": false,
|
830 |
+
"normalized": false,
|
831 |
+
"rstrip": false,
|
832 |
+
"single_word": false,
|
833 |
+
"special": true
|
834 |
+
}
|
835 |
+
},
|
836 |
"additional_special_tokens": [
|
837 |
"<extra_id_0>",
|
838 |
"<extra_id_1>",
|
|
|
935 |
"<extra_id_98>",
|
936 |
"<extra_id_99>"
|
937 |
],
|
938 |
+
"clean_up_tokenization_spaces": false,
|
939 |
"eos_token": "</s>",
|
940 |
"extra_ids": 100,
|
941 |
"model_max_length": 512,
|
942 |
"pad_token": "<pad>",
|
943 |
"processor_class": "Blip2Processor",
|
944 |
"sp_model_kwargs": {},
|
|
|
945 |
"tokenizer_class": "T5Tokenizer",
|
946 |
"unk_token": "<unk>"
|
947 |
}
|