hf-transformers-bot commited on
Commit
0ef225e
·
verified ·
1 Parent(s): e2359af

Add tiny processor fixture for testing

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{{ bos_token }}<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|># System Preamble\nYou are in contextual safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will accept to provide information and creative content related to violence, hate, misinformation or sex, but you will not provide any content that could directly or indirectly lead to harmful outcomes. When analyzing images, carefully describe and interpret their content while avoiding any promotion of harm, misinformation, or bias.\n\nYou are Aya Vision, a vision-language model built by Cohere for AI. You have been trained on data in English, French, Spanish, Italian, German, Portuguese, Japanese, Korean, Modern Standard Arabic, Mandarin, Russian, Indonesian, Turkish, Dutch, Polish, Persian, Vietnamese, Czech, Hindi, Ukrainian, Romanian, Greek and Hebrew. You are capable of interpreting images, including describing them, answering questions about their contents, extracting textual information, and analyzing visual context. Your responses must maintain the highest standards of quality, accuracy, and safety.\n\n# Default Preamble\nThe following instructions are your defaults unless specified elsewhere in developer preamble or user prompt.\n- Your name is Aya Vision.\n- You are a large language model built by Cohere for AI.\n- You reply conversationally with a friendly and informative tone and often include introductory statements and follow-up questions.\n- If the input is ambiguous, ask clarifying follow-up questions.\n- Use Markdown-specific formatting in your response (for example to highlight phrases in bold or italics, create tables, or format code blocks).\n- Use LaTeX to generate mathematical notation for complex equations.\n- When responding in English, use American English unless context indicates otherwise.\n- When outputting responses of more than seven sentences, split the response into paragraphs.\n- Prefer the active voice.\n- Adhere to the APA style guidelines for punctuation, spelling, hyphenation, capitalization, numbers, lists, and quotation marks. Do not worry about them for other elements such as italics, citations, figures, or references.\n- Use gender-neutral pronouns for unspecified persons.\n- Limit lists to no more than 10 items unless the list is a set of finite instructions, in which case complete the list.\n- Use the third person when asked to write a summary.\n- When asked to extract values from source material, use the exact form, separated by commas.\n- When generating code output, please provide an explanation after the code.\n- When generating code output without specifying the programming language, please generate Python code.\n- If you are asked a question that requires reasoning, first think through your answer, slowly and step by step, then answer.\n<|END_OF_TURN_TOKEN|>\n{%- for message in messages -%}\n <|START_OF_TURN_TOKEN|>{{ message.role | replace(\"user\", \"<|USER_TOKEN|>\") | replace(\"assistant\", \"<|CHATBOT_TOKEN|><|START_RESPONSE|>\") | replace(\"system\", \"<|SYSTEM_TOKEN|>\") }}\n {%- if message.content is defined -%}\n {%- if message.content is string -%}\n{{ message.content }}\n {%- else -%}\n {%- for item in message.content | selectattr('type', 'equalto', 'image') -%}\n<image>\n {%- endfor -%}\n {%- for item in message.content | selectattr('type', 'equalto', 'text') -%}\n{{ item.text }}\n {%- endfor -%}\n {%- endif -%}\n {%- elif message.message is defined -%}\n {%- if message.message is string -%}\n{{ message.message }}\n {%- else -%}\n {%- for item in message.message | selectattr('type', 'equalto', 'image') -%}\n<image>\n {%- endfor -%}\n {%- for item in message.message | selectattr('type', 'equalto', 'text') -%}\n{{ item.text }}\n {%- endfor -%}\n {%- endif -%}\n {%- endif -%}\n {%- if message.role == \"assistant\" -%}\n<|END_RESPONSE|>\n {%- endif -%}\n<|END_OF_TURN_TOKEN|>\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>\n{%- endif -%}\n"
3
+ }
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aya-vision-8b",
3
+ "adapter_layer_norm_eps": 1e-06,
4
+ "alignment_activation_fn": "swiglu",
5
+ "alignment_intermediate_size": 28672,
6
+ "architectures": [
7
+ "AyaVisionForConditionalGeneration"
8
+ ],
9
+ "downsample_factor": 2,
10
+ "image_token_index": 255036,
11
+ "max_splits_per_img": 12,
12
+ "model_type": "aya_vision",
13
+ "projector_hidden_act": "gelu",
14
+ "text_config": {
15
+ "hidden_size": 4096,
16
+ "intermediate_size": 14336,
17
+ "logit_scale": 0.25,
18
+ "model_type": "cohere2",
19
+ "num_attention_heads": 32,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 8,
22
+ "rope_theta": 50000,
23
+ "torch_dtype": "float16",
24
+ "use_qk_norm": false,
25
+ "model_max_length": 16384,
26
+ "max_position_embeddings": 8192
27
+ },
28
+ "torch_dtype": "float16",
29
+ "transformers_version": "4.50.0.dev0",
30
+ "vision_config": {
31
+ "hidden_size": 1152,
32
+ "image_size": 364,
33
+ "intermediate_size": 4304,
34
+ "model_type": "siglip_vision_model",
35
+ "num_attention_heads": 16,
36
+ "num_hidden_layers": 27,
37
+ "patch_size": 14,
38
+ "torch_dtype": "float16",
39
+ "vision_use_head": false
40
+ },
41
+ "vision_feature_layer": -1,
42
+ "vision_feature_select_strategy": "full",
43
+ "vocab_size": 500
44
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 5,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": 255001,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.50.0.dev0"
8
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_to_patches": false,
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "GotOcr2ImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "max_patches": 12,
19
+ "min_patches": 1,
20
+ "processor_class": "AyaVisionProcessor",
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "height": 364,
25
+ "width": 364
26
+ }
27
+ }
processor_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "end_of_img_token": "<|END_OF_IMG|>",
3
+ "image_token": "<image>",
4
+ "img_line_break_token": "<|IMG_LINE_BREAK|>",
5
+ "img_patch_token": "<|IMG_PATCH|>",
6
+ "img_size": 364,
7
+ "patch_size": 28,
8
+ "processor_class": "AyaVisionProcessor",
9
+ "start_of_img_token": "<|START_OF_IMG|>",
10
+ "tile_global_token": "TILE_GLOBAL",
11
+ "tile_token": "TILE",
12
+ "vision_feature_select_strategy": "full"
13
+ }
tokenizer.json ADDED
@@ -0,0 +1,1010 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": {
5
+ "strategy": "BatchLongest",
6
+ "direction": "Left",
7
+ "pad_to_multiple_of": null,
8
+ "pad_id": 0,
9
+ "pad_type_id": 0,
10
+ "pad_token": "<PAD>"
11
+ },
12
+ "added_tokens": [
13
+ {
14
+ "id": 0,
15
+ "content": "<PAD>",
16
+ "single_word": false,
17
+ "lstrip": false,
18
+ "rstrip": false,
19
+ "normalized": false,
20
+ "special": true
21
+ },
22
+ {
23
+ "id": 1,
24
+ "content": "<UNK>",
25
+ "single_word": false,
26
+ "lstrip": false,
27
+ "rstrip": false,
28
+ "normalized": false,
29
+ "special": true
30
+ },
31
+ {
32
+ "id": 2,
33
+ "content": "<CLS>",
34
+ "single_word": false,
35
+ "lstrip": false,
36
+ "rstrip": false,
37
+ "normalized": false,
38
+ "special": true
39
+ },
40
+ {
41
+ "id": 3,
42
+ "content": "<SEP>",
43
+ "single_word": false,
44
+ "lstrip": false,
45
+ "rstrip": false,
46
+ "normalized": false,
47
+ "special": true
48
+ },
49
+ {
50
+ "id": 4,
51
+ "content": "<MASK_TOKEN>",
52
+ "single_word": false,
53
+ "lstrip": false,
54
+ "rstrip": false,
55
+ "normalized": false,
56
+ "special": true
57
+ },
58
+ {
59
+ "id": 5,
60
+ "content": "<BOS_TOKEN>",
61
+ "single_word": false,
62
+ "lstrip": false,
63
+ "rstrip": false,
64
+ "normalized": false,
65
+ "special": true
66
+ },
67
+ {
68
+ "id": 6,
69
+ "content": "<EOS_TOKEN>",
70
+ "single_word": false,
71
+ "lstrip": false,
72
+ "rstrip": false,
73
+ "normalized": false,
74
+ "special": true
75
+ },
76
+ {
77
+ "id": 7,
78
+ "content": "<EOP_TOKEN>",
79
+ "single_word": false,
80
+ "lstrip": false,
81
+ "rstrip": false,
82
+ "normalized": false,
83
+ "special": true
84
+ },
85
+ {
86
+ "id": 500,
87
+ "content": "<|START_OF_TURN_TOKEN|>",
88
+ "single_word": false,
89
+ "lstrip": false,
90
+ "rstrip": false,
91
+ "normalized": false,
92
+ "special": false
93
+ },
94
+ {
95
+ "id": 501,
96
+ "content": "<|END_OF_TURN_TOKEN|>",
97
+ "single_word": false,
98
+ "lstrip": false,
99
+ "rstrip": false,
100
+ "normalized": false,
101
+ "special": true
102
+ },
103
+ {
104
+ "id": 502,
105
+ "content": "<|YES_TOKEN|>",
106
+ "single_word": false,
107
+ "lstrip": false,
108
+ "rstrip": false,
109
+ "normalized": false,
110
+ "special": false
111
+ },
112
+ {
113
+ "id": 503,
114
+ "content": "<|NO_TOKEN|>",
115
+ "single_word": false,
116
+ "lstrip": false,
117
+ "rstrip": false,
118
+ "normalized": false,
119
+ "special": false
120
+ },
121
+ {
122
+ "id": 504,
123
+ "content": "<|GOOD_TOKEN|>",
124
+ "single_word": false,
125
+ "lstrip": false,
126
+ "rstrip": false,
127
+ "normalized": false,
128
+ "special": false
129
+ },
130
+ {
131
+ "id": 505,
132
+ "content": "<|BAD_TOKEN|>",
133
+ "single_word": false,
134
+ "lstrip": false,
135
+ "rstrip": false,
136
+ "normalized": false,
137
+ "special": false
138
+ },
139
+ {
140
+ "id": 506,
141
+ "content": "<|USER_TOKEN|>",
142
+ "single_word": false,
143
+ "lstrip": false,
144
+ "rstrip": false,
145
+ "normalized": false,
146
+ "special": false
147
+ },
148
+ {
149
+ "id": 507,
150
+ "content": "<|CHATBOT_TOKEN|>",
151
+ "single_word": false,
152
+ "lstrip": false,
153
+ "rstrip": false,
154
+ "normalized": false,
155
+ "special": false
156
+ },
157
+ {
158
+ "id": 508,
159
+ "content": "<|SYSTEM_TOKEN|>",
160
+ "single_word": false,
161
+ "lstrip": false,
162
+ "rstrip": false,
163
+ "normalized": false,
164
+ "special": false
165
+ },
166
+ {
167
+ "id": 509,
168
+ "content": "<|USER_0_TOKEN|>",
169
+ "single_word": false,
170
+ "lstrip": false,
171
+ "rstrip": false,
172
+ "normalized": false,
173
+ "special": false
174
+ },
175
+ {
176
+ "id": 510,
177
+ "content": "<|USER_1_TOKEN|>",
178
+ "single_word": false,
179
+ "lstrip": false,
180
+ "rstrip": false,
181
+ "normalized": false,
182
+ "special": false
183
+ },
184
+ {
185
+ "id": 511,
186
+ "content": "<|USER_2_TOKEN|>",
187
+ "single_word": false,
188
+ "lstrip": false,
189
+ "rstrip": false,
190
+ "normalized": false,
191
+ "special": false
192
+ },
193
+ {
194
+ "id": 512,
195
+ "content": "<|USER_3_TOKEN|>",
196
+ "single_word": false,
197
+ "lstrip": false,
198
+ "rstrip": false,
199
+ "normalized": false,
200
+ "special": false
201
+ },
202
+ {
203
+ "id": 513,
204
+ "content": "<|USER_4_TOKEN|>",
205
+ "single_word": false,
206
+ "lstrip": false,
207
+ "rstrip": false,
208
+ "normalized": false,
209
+ "special": false
210
+ },
211
+ {
212
+ "id": 514,
213
+ "content": "<|USER_5_TOKEN|>",
214
+ "single_word": false,
215
+ "lstrip": false,
216
+ "rstrip": false,
217
+ "normalized": false,
218
+ "special": false
219
+ },
220
+ {
221
+ "id": 515,
222
+ "content": "<|USER_6_TOKEN|>",
223
+ "single_word": false,
224
+ "lstrip": false,
225
+ "rstrip": false,
226
+ "normalized": false,
227
+ "special": false
228
+ },
229
+ {
230
+ "id": 516,
231
+ "content": "<|USER_7_TOKEN|>",
232
+ "single_word": false,
233
+ "lstrip": false,
234
+ "rstrip": false,
235
+ "normalized": false,
236
+ "special": false
237
+ },
238
+ {
239
+ "id": 517,
240
+ "content": "<|USER_8_TOKEN|>",
241
+ "single_word": false,
242
+ "lstrip": false,
243
+ "rstrip": false,
244
+ "normalized": false,
245
+ "special": false
246
+ },
247
+ {
248
+ "id": 518,
249
+ "content": "<|USER_9_TOKEN|>",
250
+ "single_word": false,
251
+ "lstrip": false,
252
+ "rstrip": false,
253
+ "normalized": false,
254
+ "special": false
255
+ },
256
+ {
257
+ "id": 519,
258
+ "content": "<|START_THINKING|>",
259
+ "single_word": false,
260
+ "lstrip": false,
261
+ "rstrip": false,
262
+ "normalized": false,
263
+ "special": false
264
+ },
265
+ {
266
+ "id": 520,
267
+ "content": "<|END_THINKING|>",
268
+ "single_word": false,
269
+ "lstrip": false,
270
+ "rstrip": false,
271
+ "normalized": false,
272
+ "special": false
273
+ },
274
+ {
275
+ "id": 521,
276
+ "content": "<|START_RESPONSE|>",
277
+ "single_word": false,
278
+ "lstrip": false,
279
+ "rstrip": false,
280
+ "normalized": false,
281
+ "special": true
282
+ },
283
+ {
284
+ "id": 522,
285
+ "content": "<|END_RESPONSE|>",
286
+ "single_word": false,
287
+ "lstrip": false,
288
+ "rstrip": false,
289
+ "normalized": false,
290
+ "special": true
291
+ },
292
+ {
293
+ "id": 523,
294
+ "content": "<|START_ACTION|>",
295
+ "single_word": false,
296
+ "lstrip": false,
297
+ "rstrip": false,
298
+ "normalized": false,
299
+ "special": false
300
+ },
301
+ {
302
+ "id": 524,
303
+ "content": "<|END_ACTION|>",
304
+ "single_word": false,
305
+ "lstrip": false,
306
+ "rstrip": false,
307
+ "normalized": false,
308
+ "special": false
309
+ },
310
+ {
311
+ "id": 525,
312
+ "content": "<|START_TOOL_RESULT|>",
313
+ "single_word": false,
314
+ "lstrip": false,
315
+ "rstrip": false,
316
+ "normalized": false,
317
+ "special": false
318
+ },
319
+ {
320
+ "id": 526,
321
+ "content": "<|END_TOOL_RESULT|>",
322
+ "single_word": false,
323
+ "lstrip": false,
324
+ "rstrip": false,
325
+ "normalized": false,
326
+ "special": false
327
+ },
328
+ {
329
+ "id": 527,
330
+ "content": "<|EXTRA_8_TOKEN|>",
331
+ "single_word": false,
332
+ "lstrip": false,
333
+ "rstrip": false,
334
+ "normalized": false,
335
+ "special": false
336
+ },
337
+ {
338
+ "id": 528,
339
+ "content": "<|NEW_FILE|>",
340
+ "single_word": false,
341
+ "lstrip": false,
342
+ "rstrip": false,
343
+ "normalized": false,
344
+ "special": true
345
+ },
346
+ {
347
+ "id": 529,
348
+ "content": "<|BEGINNING_OF_PREFIX_FIM_TOKEN|>",
349
+ "single_word": false,
350
+ "lstrip": false,
351
+ "rstrip": false,
352
+ "normalized": false,
353
+ "special": false
354
+ },
355
+ {
356
+ "id": 530,
357
+ "content": "<|BEGINNING_OF_MIDDLE_FIM_TOKEN|>",
358
+ "single_word": false,
359
+ "lstrip": false,
360
+ "rstrip": false,
361
+ "normalized": false,
362
+ "special": false
363
+ },
364
+ {
365
+ "id": 531,
366
+ "content": "<|BEGINNING_OF_SUFFIX_FIM_TOKEN|>",
367
+ "single_word": false,
368
+ "lstrip": false,
369
+ "rstrip": false,
370
+ "normalized": false,
371
+ "special": false
372
+ },
373
+ {
374
+ "id": 532,
375
+ "content": "<|END_OF_MIDDLE_FIM_TOKEN|>",
376
+ "single_word": false,
377
+ "lstrip": false,
378
+ "rstrip": false,
379
+ "normalized": false,
380
+ "special": false
381
+ },
382
+ {
383
+ "id": 533,
384
+ "content": "<|START_OF_IMG|>",
385
+ "single_word": false,
386
+ "lstrip": false,
387
+ "rstrip": false,
388
+ "normalized": false,
389
+ "special": false
390
+ },
391
+ {
392
+ "id": 534,
393
+ "content": "<|END_OF_IMG|>",
394
+ "single_word": false,
395
+ "lstrip": false,
396
+ "rstrip": false,
397
+ "normalized": false,
398
+ "special": false
399
+ },
400
+ {
401
+ "id": 535,
402
+ "content": "<|IMG_LINE_BREAK|>",
403
+ "single_word": false,
404
+ "lstrip": false,
405
+ "rstrip": false,
406
+ "normalized": false,
407
+ "special": false
408
+ },
409
+ {
410
+ "id": 536,
411
+ "content": "<|IMG_PATCH|>",
412
+ "single_word": false,
413
+ "lstrip": false,
414
+ "rstrip": false,
415
+ "normalized": false,
416
+ "special": false
417
+ }
418
+ ],
419
+ "normalizer": {
420
+ "type": "NFC"
421
+ },
422
+ "pre_tokenizer": {
423
+ "type": "Sequence",
424
+ "pretokenizers": [
425
+ {
426
+ "type": "Digits",
427
+ "individual_digits": true
428
+ },
429
+ {
430
+ "type": "ByteLevel",
431
+ "add_prefix_space": false,
432
+ "trim_offsets": true,
433
+ "use_regex": true
434
+ }
435
+ ]
436
+ },
437
+ "post_processor": {
438
+ "type": "TemplateProcessing",
439
+ "single": [
440
+ {
441
+ "SpecialToken": {
442
+ "id": "<BOS_TOKEN>",
443
+ "type_id": 0
444
+ }
445
+ },
446
+ {
447
+ "Sequence": {
448
+ "id": "A",
449
+ "type_id": 0
450
+ }
451
+ }
452
+ ],
453
+ "pair": [
454
+ {
455
+ "SpecialToken": {
456
+ "id": "<BOS_TOKEN>",
457
+ "type_id": 0
458
+ }
459
+ },
460
+ {
461
+ "Sequence": {
462
+ "id": "A",
463
+ "type_id": 0
464
+ }
465
+ },
466
+ {
467
+ "SpecialToken": {
468
+ "id": "<BOS_TOKEN>",
469
+ "type_id": 1
470
+ }
471
+ },
472
+ {
473
+ "Sequence": {
474
+ "id": "B",
475
+ "type_id": 1
476
+ }
477
+ }
478
+ ],
479
+ "special_tokens": {
480
+ "<BOS_TOKEN>": {
481
+ "id": "<BOS_TOKEN>",
482
+ "ids": [
483
+ 5
484
+ ],
485
+ "tokens": [
486
+ "<BOS_TOKEN>"
487
+ ]
488
+ }
489
+ }
490
+ },
491
+ "decoder": {
492
+ "type": "ByteLevel",
493
+ "add_prefix_space": true,
494
+ "trim_offsets": true,
495
+ "use_regex": true
496
+ },
497
+ "model": {
498
+ "type": "BPE",
499
+ "dropout": null,
500
+ "unk_token": null,
501
+ "continuing_subword_prefix": null,
502
+ "end_of_word_suffix": null,
503
+ "fuse_unk": false,
504
+ "byte_fallback": false,
505
+ "ignore_merges": false,
506
+ "vocab": {
507
+ "<PAD>": 0,
508
+ "<UNK>": 1,
509
+ "<CLS>": 2,
510
+ "<SEP>": 3,
511
+ "<MASK_TOKEN>": 4,
512
+ "<BOS_TOKEN>": 5,
513
+ "<EOS_TOKEN>": 6,
514
+ "<EOP_TOKEN>": 7,
515
+ "!": 8,
516
+ "\"": 9,
517
+ "#": 10,
518
+ "$": 11,
519
+ "%": 12,
520
+ "&": 13,
521
+ "'": 14,
522
+ "(": 15,
523
+ ")": 16,
524
+ "*": 17,
525
+ "+": 18,
526
+ ",": 19,
527
+ "-": 20,
528
+ ".": 21,
529
+ "/": 22,
530
+ "0": 23,
531
+ "1": 24,
532
+ "2": 25,
533
+ "3": 26,
534
+ "4": 27,
535
+ "5": 28,
536
+ "6": 29,
537
+ "7": 30,
538
+ "8": 31,
539
+ "9": 32,
540
+ ":": 33,
541
+ ";": 34,
542
+ "<": 35,
543
+ "=": 36,
544
+ ">": 37,
545
+ "?": 38,
546
+ "@": 39,
547
+ "A": 40,
548
+ "B": 41,
549
+ "C": 42,
550
+ "D": 43,
551
+ "E": 44,
552
+ "F": 45,
553
+ "G": 46,
554
+ "H": 47,
555
+ "I": 48,
556
+ "J": 49,
557
+ "K": 50,
558
+ "L": 51,
559
+ "M": 52,
560
+ "N": 53,
561
+ "O": 54,
562
+ "P": 55,
563
+ "Q": 56,
564
+ "R": 57,
565
+ "S": 58,
566
+ "T": 59,
567
+ "U": 60,
568
+ "V": 61,
569
+ "W": 62,
570
+ "X": 63,
571
+ "Y": 64,
572
+ "Z": 65,
573
+ "[": 66,
574
+ "\\": 67,
575
+ "]": 68,
576
+ "^": 69,
577
+ "_": 70,
578
+ "`": 71,
579
+ "a": 72,
580
+ "b": 73,
581
+ "c": 74,
582
+ "d": 75,
583
+ "e": 76,
584
+ "f": 77,
585
+ "g": 78,
586
+ "h": 79,
587
+ "i": 80,
588
+ "j": 81,
589
+ "k": 82,
590
+ "l": 83,
591
+ "m": 84,
592
+ "n": 85,
593
+ "o": 86,
594
+ "p": 87,
595
+ "q": 88,
596
+ "r": 89,
597
+ "s": 90,
598
+ "t": 91,
599
+ "u": 92,
600
+ "v": 93,
601
+ "w": 94,
602
+ "x": 95,
603
+ "y": 96,
604
+ "z": 97,
605
+ "{": 98,
606
+ "|": 99,
607
+ "}": 100,
608
+ "~": 101,
609
+ "¡": 102,
610
+ "¢": 103,
611
+ "£": 104,
612
+ "¤": 105,
613
+ "¥": 106,
614
+ "¦": 107,
615
+ "§": 108,
616
+ "¨": 109,
617
+ "©": 110,
618
+ "ª": 111,
619
+ "«": 112,
620
+ "¬": 113,
621
+ "®": 114,
622
+ "¯": 115,
623
+ "°": 116,
624
+ "±": 117,
625
+ "²": 118,
626
+ "³": 119,
627
+ "´": 120,
628
+ "µ": 121,
629
+ "¶": 122,
630
+ "·": 123,
631
+ "¸": 124,
632
+ "¹": 125,
633
+ "º": 126,
634
+ "»": 127,
635
+ "¼": 128,
636
+ "½": 129,
637
+ "¾": 130,
638
+ "¿": 131,
639
+ "À": 132,
640
+ "Á": 133,
641
+ "Â": 134,
642
+ "Ã": 135,
643
+ "Ä": 136,
644
+ "Å": 137,
645
+ "Æ": 138,
646
+ "Ç": 139,
647
+ "È": 140,
648
+ "É": 141,
649
+ "Ê": 142,
650
+ "Ë": 143,
651
+ "Ì": 144,
652
+ "Í": 145,
653
+ "Î": 146,
654
+ "Ï": 147,
655
+ "Ð": 148,
656
+ "Ñ": 149,
657
+ "Ò": 150,
658
+ "Ó": 151,
659
+ "Ô": 152,
660
+ "Õ": 153,
661
+ "Ö": 154,
662
+ "×": 155,
663
+ "Ø": 156,
664
+ "Ù": 157,
665
+ "Ú": 158,
666
+ "Û": 159,
667
+ "Ü": 160,
668
+ "Ý": 161,
669
+ "Þ": 162,
670
+ "ß": 163,
671
+ "à": 164,
672
+ "á": 165,
673
+ "â": 166,
674
+ "ã": 167,
675
+ "ä": 168,
676
+ "å": 169,
677
+ "æ": 170,
678
+ "ç": 171,
679
+ "è": 172,
680
+ "é": 173,
681
+ "ê": 174,
682
+ "ë": 175,
683
+ "ì": 176,
684
+ "í": 177,
685
+ "î": 178,
686
+ "ï": 179,
687
+ "ð": 180,
688
+ "ñ": 181,
689
+ "ò": 182,
690
+ "ó": 183,
691
+ "ô": 184,
692
+ "õ": 185,
693
+ "ö": 186,
694
+ "÷": 187,
695
+ "ø": 188,
696
+ "ù": 189,
697
+ "ú": 190,
698
+ "û": 191,
699
+ "ü": 192,
700
+ "ý": 193,
701
+ "þ": 194,
702
+ "ÿ": 195,
703
+ "Ā": 196,
704
+ "ā": 197,
705
+ "Ă": 198,
706
+ "ă": 199,
707
+ "Ą": 200,
708
+ "ą": 201,
709
+ "Ć": 202,
710
+ "ć": 203,
711
+ "Ĉ": 204,
712
+ "ĉ": 205,
713
+ "Ċ": 206,
714
+ "ċ": 207,
715
+ "Č": 208,
716
+ "č": 209,
717
+ "Ď": 210,
718
+ "ď": 211,
719
+ "Đ": 212,
720
+ "đ": 213,
721
+ "Ē": 214,
722
+ "ē": 215,
723
+ "Ĕ": 216,
724
+ "ĕ": 217,
725
+ "Ė": 218,
726
+ "ė": 219,
727
+ "Ę": 220,
728
+ "ę": 221,
729
+ "Ě": 222,
730
+ "ě": 223,
731
+ "Ĝ": 224,
732
+ "ĝ": 225,
733
+ "Ğ": 226,
734
+ "ğ": 227,
735
+ "Ġ": 228,
736
+ "ġ": 229,
737
+ "Ģ": 230,
738
+ "ģ": 231,
739
+ "Ĥ": 232,
740
+ "ĥ": 233,
741
+ "Ħ": 234,
742
+ "ħ": 235,
743
+ "Ĩ": 236,
744
+ "ĩ": 237,
745
+ "Ī": 238,
746
+ "ī": 239,
747
+ "Ĭ": 240,
748
+ "ĭ": 241,
749
+ "Į": 242,
750
+ "į": 243,
751
+ "İ": 244,
752
+ "ı": 245,
753
+ "IJ": 246,
754
+ "ij": 247,
755
+ "Ĵ": 248,
756
+ "ĵ": 249,
757
+ "Ķ": 250,
758
+ "ķ": 251,
759
+ "ĸ": 252,
760
+ "Ĺ": 253,
761
+ "ĺ": 254,
762
+ "Ļ": 255,
763
+ "ļ": 256,
764
+ "Ľ": 257,
765
+ "ľ": 258,
766
+ "Ŀ": 259,
767
+ "ŀ": 260,
768
+ "Ł": 261,
769
+ "ł": 262,
770
+ "Ń": 263,
771
+ "‍": 264,
772
+ "‼": 265,
773
+ "⁉": 266,
774
+ "⃣": 267,
775
+ "™": 268,
776
+ "ℹ": 269,
777
+ "↔": 270,
778
+ "↕": 271,
779
+ "↖": 272,
780
+ "↗": 273,
781
+ "↘": 274,
782
+ "↙": 275,
783
+ "↩": 276,
784
+ "↪": 277,
785
+ "⌚": 278,
786
+ "⌛": 279,
787
+ "⌨": 280,
788
+ "⏏": 281,
789
+ "⏩": 282,
790
+ "⏪": 283,
791
+ "⏫": 284,
792
+ "⏬": 285,
793
+ "⏭": 286,
794
+ "⏮": 287,
795
+ "⏯": 288,
796
+ "⏰": 289,
797
+ "⏱": 290,
798
+ "⏲": 291,
799
+ "⏳": 292,
800
+ "⏸": 293,
801
+ "⏹": 294,
802
+ "⏺": 295,
803
+ "Ⓜ": 296,
804
+ "▪": 297,
805
+ "▫": 298,
806
+ "▶": 299,
807
+ "◀": 300,
808
+ "◻": 301,
809
+ "◼": 302,
810
+ "◽": 303,
811
+ "◾": 304,
812
+ "☀": 305,
813
+ "☁": 306,
814
+ "☂": 307,
815
+ "☃": 308,
816
+ "☄": 309,
817
+ "☎": 310,
818
+ "☑": 311,
819
+ "☔": 312,
820
+ "☕": 313,
821
+ "☘": 314,
822
+ "☝": 315,
823
+ "☠": 316,
824
+ "☢": 317,
825
+ "☣": 318,
826
+ "☦": 319,
827
+ "☪": 320,
828
+ "☮": 321,
829
+ "☯": 322,
830
+ "☸": 323,
831
+ "☹": 324,
832
+ "☺": 325,
833
+ "♀": 326,
834
+ "♂": 327,
835
+ "♈": 328,
836
+ "♉": 329,
837
+ "♊": 330,
838
+ "♋": 331,
839
+ "♌": 332,
840
+ "♍": 333,
841
+ "♎": 334,
842
+ "♏": 335,
843
+ "♐": 336,
844
+ "♑": 337,
845
+ "♒": 338,
846
+ "♓": 339,
847
+ "♟": 340,
848
+ "♠": 341,
849
+ "♣": 342,
850
+ "♥": 343,
851
+ "♦": 344,
852
+ "♨": 345,
853
+ "♻": 346,
854
+ "♾": 347,
855
+ "♿": 348,
856
+ "⚒": 349,
857
+ "⚓": 350,
858
+ "⚔": 351,
859
+ "⚕": 352,
860
+ "⚖": 353,
861
+ "⚗": 354,
862
+ "⚙": 355,
863
+ "⚛": 356,
864
+ "⚜": 357,
865
+ "⚠": 358,
866
+ "⚡": 359,
867
+ "⚧": 360,
868
+ "⚪": 361,
869
+ "⚫": 362,
870
+ "⚰": 363,
871
+ "⚱": 364,
872
+ "⚽": 365,
873
+ "⚾": 366,
874
+ "⛄": 367,
875
+ "⛅": 368,
876
+ "⛈": 369,
877
+ "⛎": 370,
878
+ "⛏": 371,
879
+ "⛑": 372,
880
+ "⛓": 373,
881
+ "⛔": 374,
882
+ "⛩": 375,
883
+ "⛪": 376,
884
+ "⛰": 377,
885
+ "⛱": 378,
886
+ "⛲": 379,
887
+ "⛳": 380,
888
+ "⛴": 381,
889
+ "⛵": 382,
890
+ "⛷": 383,
891
+ "⛸": 384,
892
+ "⛹": 385,
893
+ "⛺": 386,
894
+ "⛽": 387,
895
+ "✂": 388,
896
+ "✅": 389,
897
+ "✈": 390,
898
+ "✉": 391,
899
+ "✊": 392,
900
+ "✋": 393,
901
+ "✌": 394,
902
+ "✍": 395,
903
+ "✏": 396,
904
+ "✒": 397,
905
+ "✔": 398,
906
+ "✖": 399,
907
+ "✝": 400,
908
+ "✡": 401,
909
+ "✨": 402,
910
+ "✳": 403,
911
+ "✴": 404,
912
+ "❄": 405,
913
+ "❇": 406,
914
+ "❌": 407,
915
+ "❎": 408,
916
+ "❓": 409,
917
+ "❔": 410,
918
+ "❕": 411,
919
+ "❗": 412,
920
+ "❣": 413,
921
+ "❤": 414,
922
+ "➕": 415,
923
+ "➖": 416,
924
+ "➗": 417,
925
+ "➡": 418,
926
+ "➰": 419,
927
+ "➿": 420,
928
+ "⤴": 421,
929
+ "⤵": 422,
930
+ "⬅": 423,
931
+ "⬆": 424,
932
+ "⬇": 425,
933
+ "⬛": 426,
934
+ "⬜": 427,
935
+ "⭐": 428,
936
+ "⭕": 429,
937
+ "〰": 430,
938
+ "〽": 431,
939
+ "㊗": 432,
940
+ "㊙": 433,
941
+ "️": 434,
942
+ "🀄": 435,
943
+ "🃏": 436,
944
+ "🅰": 437,
945
+ "🅱": 438,
946
+ "🅾": 439,
947
+ "🅿": 440,
948
+ "🆎": 441,
949
+ "🆑": 442,
950
+ "🆒": 443,
951
+ "🆓": 444,
952
+ "🆔": 445,
953
+ "🆕": 446,
954
+ "🆖": 447,
955
+ "🆗": 448,
956
+ "🆘": 449,
957
+ "🆙": 450,
958
+ "🆚": 451,
959
+ "🇦": 452,
960
+ "🇧": 453,
961
+ "🇨": 454,
962
+ "🇩": 455,
963
+ "🇪": 456,
964
+ "🇫": 457,
965
+ "🇬": 458,
966
+ "🇭": 459,
967
+ "🇮": 460,
968
+ "🇯": 461,
969
+ "🇰": 462,
970
+ "🇱": 463,
971
+ "🇲": 464,
972
+ "🇳": 465,
973
+ "🇴": 466,
974
+ "🇵": 467,
975
+ "🇶": 468,
976
+ "🇷": 469,
977
+ "🇸": 470,
978
+ "🇹": 471,
979
+ "🇺": 472,
980
+ "🇻": 473,
981
+ "🇼": 474,
982
+ "🇽": 475,
983
+ "🇾": 476,
984
+ "🇿": 477,
985
+ "🈁": 478,
986
+ "🈂": 479,
987
+ "🈚": 480,
988
+ "🈯": 481,
989
+ "🈲": 482,
990
+ "🈳": 483,
991
+ "🈴": 484,
992
+ "🈵": 485,
993
+ "🈶": 486,
994
+ "🈷": 487,
995
+ "🈸": 488,
996
+ "🈹": 489,
997
+ "🈺": 490,
998
+ "🉐": 491,
999
+ "🉑": 492,
1000
+ "🌀": 493,
1001
+ "🌁": 494,
1002
+ "🌂": 495,
1003
+ "🌃": 496,
1004
+ "🌄": 497,
1005
+ "🌅": 498,
1006
+ "🌆": 499
1007
+ },
1008
+ "merges": []
1009
+ }
1010
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<PAD>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<UNK>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "<CLS>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "3": {
31
+ "content": "<SEP>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "4": {
39
+ "content": "<MASK_TOKEN>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "5": {
47
+ "content": "<BOS_TOKEN>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "6": {
55
+ "content": "<EOS_TOKEN>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "7": {
63
+ "content": "<EOP_TOKEN>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "255000": {
71
+ "content": "<|START_OF_TURN_TOKEN|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "255001": {
79
+ "content": "<|END_OF_TURN_TOKEN|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "255002": {
87
+ "content": "<|YES_TOKEN|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": false
93
+ },
94
+ "255003": {
95
+ "content": "<|NO_TOKEN|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": false
101
+ },
102
+ "255004": {
103
+ "content": "<|GOOD_TOKEN|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": false
109
+ },
110
+ "255005": {
111
+ "content": "<|BAD_TOKEN|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": false
117
+ },
118
+ "255006": {
119
+ "content": "<|USER_TOKEN|>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": false
125
+ },
126
+ "255007": {
127
+ "content": "<|CHATBOT_TOKEN|>",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "255008": {
135
+ "content": "<|SYSTEM_TOKEN|>",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "255009": {
143
+ "content": "<|USER_0_TOKEN|>",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "255010": {
151
+ "content": "<|USER_1_TOKEN|>",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "255011": {
159
+ "content": "<|USER_2_TOKEN|>",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "255012": {
167
+ "content": "<|USER_3_TOKEN|>",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "255013": {
175
+ "content": "<|USER_4_TOKEN|>",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "255014": {
183
+ "content": "<|USER_5_TOKEN|>",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "255015": {
191
+ "content": "<|USER_6_TOKEN|>",
192
+ "lstrip": false,
193
+ "normalized": false,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "255016": {
199
+ "content": "<|USER_7_TOKEN|>",
200
+ "lstrip": false,
201
+ "normalized": false,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": false
205
+ },
206
+ "255017": {
207
+ "content": "<|USER_8_TOKEN|>",
208
+ "lstrip": false,
209
+ "normalized": false,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": false
213
+ },
214
+ "255018": {
215
+ "content": "<|USER_9_TOKEN|>",
216
+ "lstrip": false,
217
+ "normalized": false,
218
+ "rstrip": false,
219
+ "single_word": false,
220
+ "special": false
221
+ },
222
+ "255019": {
223
+ "content": "<|START_THINKING|>",
224
+ "lstrip": false,
225
+ "normalized": false,
226
+ "rstrip": false,
227
+ "single_word": false,
228
+ "special": false
229
+ },
230
+ "255020": {
231
+ "content": "<|END_THINKING|>",
232
+ "lstrip": false,
233
+ "normalized": false,
234
+ "rstrip": false,
235
+ "single_word": false,
236
+ "special": false
237
+ },
238
+ "255021": {
239
+ "content": "<|START_RESPONSE|>",
240
+ "lstrip": false,
241
+ "normalized": false,
242
+ "rstrip": false,
243
+ "single_word": false,
244
+ "special": true
245
+ },
246
+ "255022": {
247
+ "content": "<|END_RESPONSE|>",
248
+ "lstrip": false,
249
+ "normalized": false,
250
+ "rstrip": false,
251
+ "single_word": false,
252
+ "special": true
253
+ },
254
+ "255023": {
255
+ "content": "<|START_ACTION|>",
256
+ "lstrip": false,
257
+ "normalized": false,
258
+ "rstrip": false,
259
+ "single_word": false,
260
+ "special": false
261
+ },
262
+ "255024": {
263
+ "content": "<|END_ACTION|>",
264
+ "lstrip": false,
265
+ "normalized": false,
266
+ "rstrip": false,
267
+ "single_word": false,
268
+ "special": false
269
+ },
270
+ "255025": {
271
+ "content": "<|START_TOOL_RESULT|>",
272
+ "lstrip": false,
273
+ "normalized": false,
274
+ "rstrip": false,
275
+ "single_word": false,
276
+ "special": false
277
+ },
278
+ "255026": {
279
+ "content": "<|END_TOOL_RESULT|>",
280
+ "lstrip": false,
281
+ "normalized": false,
282
+ "rstrip": false,
283
+ "single_word": false,
284
+ "special": false
285
+ },
286
+ "255027": {
287
+ "content": "<|EXTRA_8_TOKEN|>",
288
+ "lstrip": false,
289
+ "normalized": false,
290
+ "rstrip": false,
291
+ "single_word": false,
292
+ "special": false
293
+ },
294
+ "255028": {
295
+ "content": "<|NEW_FILE|>",
296
+ "lstrip": false,
297
+ "normalized": false,
298
+ "rstrip": false,
299
+ "single_word": false,
300
+ "special": true
301
+ },
302
+ "255029": {
303
+ "content": "<|BEGINNING_OF_PREFIX_FIM_TOKEN|>",
304
+ "lstrip": false,
305
+ "normalized": false,
306
+ "rstrip": false,
307
+ "single_word": false,
308
+ "special": false
309
+ },
310
+ "255030": {
311
+ "content": "<|BEGINNING_OF_MIDDLE_FIM_TOKEN|>",
312
+ "lstrip": false,
313
+ "normalized": false,
314
+ "rstrip": false,
315
+ "single_word": false,
316
+ "special": false
317
+ },
318
+ "255031": {
319
+ "content": "<|BEGINNING_OF_SUFFIX_FIM_TOKEN|>",
320
+ "lstrip": false,
321
+ "normalized": false,
322
+ "rstrip": false,
323
+ "single_word": false,
324
+ "special": false
325
+ },
326
+ "255032": {
327
+ "content": "<|END_OF_MIDDLE_FIM_TOKEN|>",
328
+ "lstrip": false,
329
+ "normalized": false,
330
+ "rstrip": false,
331
+ "single_word": false,
332
+ "special": false
333
+ },
334
+ "255033": {
335
+ "content": "<|START_OF_IMG|>",
336
+ "lstrip": false,
337
+ "normalized": false,
338
+ "rstrip": false,
339
+ "single_word": false,
340
+ "special": false
341
+ },
342
+ "255034": {
343
+ "content": "<|END_OF_IMG|>",
344
+ "lstrip": false,
345
+ "normalized": false,
346
+ "rstrip": false,
347
+ "single_word": false,
348
+ "special": false
349
+ },
350
+ "255035": {
351
+ "content": "<|IMG_LINE_BREAK|>",
352
+ "lstrip": false,
353
+ "normalized": false,
354
+ "rstrip": false,
355
+ "single_word": false,
356
+ "special": false
357
+ },
358
+ "255036": {
359
+ "content": "<|IMG_PATCH|>",
360
+ "lstrip": false,
361
+ "normalized": false,
362
+ "rstrip": false,
363
+ "single_word": false,
364
+ "special": false
365
+ }
366
+ },
367
+ "bos_token": "<BOS_TOKEN>",
368
+ "chat_template": [
369
+ {
370
+ "name": "default",
371
+ "template": "{{ bos_token }}<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|># System Preamble\nYou are in contextual safety mode. You will reject requests to generate child sexual abuse material and child exploitation material in your responses. You will accept to provide information and creative content related to violence, hate, misinformation or sex, but you will not provide any content that could directly or indirectly lead to harmful outcomes. When analyzing images, carefully describe and interpret their content while avoiding any promotion of harm, misinformation, or bias.\n\nYou are Aya Vision, a vision-language model built by Cohere for AI. You have been trained on data in English, French, Spanish, Italian, German, Portuguese, Japanese, Korean, Modern Standard Arabic, Mandarin, Russian, Indonesian, Turkish, Dutch, Polish, Persian, Vietnamese, Czech, Hindi, Ukrainian, Romanian, Greek and Hebrew. You are capable of interpreting images, including describing them, answering questions about their contents, extracting textual information, and analyzing visual context. Your responses must maintain the highest standards of quality, accuracy, and safety.\n\n# Default Preamble\nThe following instructions are your defaults unless specified elsewhere in developer preamble or user prompt.\n- Your name is Aya Vision.\n- You are a large language model built by Cohere for AI.\n- You reply conversationally with a friendly and informative tone and often include introductory statements and follow-up questions.\n- If the input is ambiguous, ask clarifying follow-up questions.\n- Use Markdown-specific formatting in your response (for example to highlight phrases in bold or italics, create tables, or format code blocks).\n- Use LaTeX to generate mathematical notation for complex equations.\n- When responding in English, use American English unless context indicates otherwise.\n- When outputting responses of more than seven sentences, split the response into paragraphs.\n- Prefer the active voice.\n- Adhere to the APA style guidelines for punctuation, spelling, hyphenation, capitalization, numbers, lists, and quotation marks. Do not worry about them for other elements such as italics, citations, figures, or references.\n- Use gender-neutral pronouns for unspecified persons.\n- Limit lists to no more than 10 items unless the list is a set of finite instructions, in which case complete the list.\n- Use the third person when asked to write a summary.\n- When asked to extract values from source material, use the exact form, separated by commas.\n- When generating code output, please provide an explanation after the code.\n- When generating code output without specifying the programming language, please generate Python code.\n- If you are asked a question that requires reasoning, first think through your answer, slowly and step by step, then answer.\n<|END_OF_TURN_TOKEN|>\n{%- for message in messages -%}\n <|START_OF_TURN_TOKEN|>{{ message.role | replace(\"user\", \"<|USER_TOKEN|>\") | replace(\"assistant\", \"<|CHATBOT_TOKEN|><|START_RESPONSE|>\") | replace(\"system\", \"<|SYSTEM_TOKEN|>\") }}\n {%- if message.content is defined -%}\n {%- if message.content is string -%}\n{{ message.content }}\n {%- else -%}\n {%- for item in message.content | selectattr('type', 'equalto', 'image') -%}\n<image>\n {%- endfor -%}\n {%- for item in message.content | selectattr('type', 'equalto', 'text') -%}\n{{ item.text }}\n {%- endfor -%}\n {%- endif -%}\n {%- elif message.message is defined -%}\n {%- if message.message is string -%}\n{{ message.message }}\n {%- else -%}\n {%- for item in message.message | selectattr('type', 'equalto', 'image') -%}\n<image>\n {%- endfor -%}\n {%- for item in message.message | selectattr('type', 'equalto', 'text') -%}\n{{ item.text }}\n {%- endfor -%}\n {%- endif -%}\n {%- endif -%}\n {%- if message.role == \"assistant\" -%}\n<|END_RESPONSE|>\n {%- endif -%}\n<|END_OF_TURN_TOKEN|>\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>\n{%- endif -%}\n"
372
+ }
373
+ ],
374
+ "clean_up_tokenization_spaces": false,
375
+ "eos_token": "<|END_OF_TURN_TOKEN|>",
376
+ "extra_special_tokens": {},
377
+ "legacy": true,
378
+ "max_length": null,
379
+ "merges_file": null,
380
+ "model_max_length": 1000000000000000019884624838656,
381
+ "pad_to_multiple_of": null,
382
+ "pad_token": "<PAD>",
383
+ "pad_token_type_id": 0,
384
+ "padding_side": "left",
385
+ "processor_class": "AyaVisionProcessor",
386
+ "sp_model_kwargs": {},
387
+ "spaces_between_special_tokens": false,
388
+ "tokenizer_class": "CohereTokenizer",
389
+ "unk_token": null,
390
+ "use_default_system_prompt": false,
391
+ "vocab_file": null
392
+ }