hf-transformers-bot commited on
Commit
234292a
·
verified ·
1 Parent(s): 8821449

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
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Alibaba Cloud
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{% set audio_count = namespace(value=0) %}{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_bos|><|IMAGE|><|vision_eos|>{% elif content['type'] == 'audio' or 'audio' in content or 'audio_url' in content %}{% set audio_count.value = audio_count.value + 1 %}{% if add_audio_id %}Audio {{ audio_count.value }}: {% endif %}<|audio_bos|><|AUDIO|><|audio_eos|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_bos|><|VIDEO|><|vision_eos|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
3
+ }
config.json ADDED
@@ -0,0 +1,496 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2_5OmniModel"
4
+ ],
5
+ "enable_audio_output": true,
6
+ "enable_talker": true,
7
+ "model_type": "qwen2_5_omni",
8
+ "talker_config": {
9
+ "_attn_implementation_autoset": true,
10
+ "_name_or_path": "Qwen2.5-Omni-7B/talker",
11
+ "architectures": [
12
+ "Qwen2OmniTalkerForConditionalGeneration"
13
+ ],
14
+ "attention_dropout": 0.0,
15
+ "audio_end_token_id": 151648,
16
+ "audio_start_token_id": 151647,
17
+ "audio_token_index": 151646,
18
+ "embedding_size": 3584,
19
+ "head_dim": 128,
20
+ "hidden_act": "silu",
21
+ "hidden_size": 896,
22
+ "image_token_index": 151655,
23
+ "init_std": 0.02,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 18944,
26
+ "max_position_embeddings": 32768,
27
+ "max_window_layers": 28,
28
+ "model_type": "qwen2_5_omni_talker",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 24,
31
+ "num_key_value_heads": 4,
32
+ "position_id_per_seconds": 25,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": {
35
+ "mrope_section": [
36
+ 16,
37
+ 24,
38
+ 24
39
+ ],
40
+ "rope_type": "default",
41
+ "type": "default"
42
+ },
43
+ "rope_theta": 1000000.0,
44
+ "seconds_per_chunk": 2,
45
+ "sliding_window": 32768,
46
+ "spatial_merge_size": 2,
47
+ "torch_dtype": "bfloat16",
48
+ "tts_codec_end_token_id": 8294,
49
+ "tts_codec_mask_token_id": 8296,
50
+ "tts_codec_pad_token_id": 8292,
51
+ "tts_codec_start_token_id": 8293,
52
+ "tts_text_end_token_id": 151861,
53
+ "tts_text_pad_token_id": 151859,
54
+ "tts_text_start_token_id": 151860,
55
+ "use_cache": true,
56
+ "use_sliding_window": false,
57
+ "video_token_index": 151656,
58
+ "vision_end_token_id": 151653,
59
+ "vision_start_token_id": 151652,
60
+ "vocab_size": 8448
61
+ },
62
+ "thinker_config": {
63
+ "_attn_implementation_autoset": true,
64
+ "_name_or_path": "Qwen2.5-Omni-7B/thinker",
65
+ "architectures": [
66
+ "Qwen2OmniNaViTThinkerForConditionalGeneration"
67
+ ],
68
+ "audio_config": {
69
+ "_attn_implementation_autoset": true,
70
+ "_name_or_path": "",
71
+ "activation_dropout": 0.0,
72
+ "activation_function": "gelu",
73
+ "add_cross_attention": false,
74
+ "architectures": null,
75
+ "attention_dropout": 0.0,
76
+ "bad_words_ids": null,
77
+ "begin_suppress_tokens": null,
78
+ "bos_token_id": null,
79
+ "chunk_size_feed_forward": 0,
80
+ "cross_attention_hidden_size": null,
81
+ "d_model": 1280,
82
+ "decoder_start_token_id": null,
83
+ "diversity_penalty": 0.0,
84
+ "do_sample": false,
85
+ "dropout": 0.0,
86
+ "early_stopping": false,
87
+ "encoder_attention_heads": 20,
88
+ "encoder_ffn_dim": 5120,
89
+ "encoder_layerdrop": 0.0,
90
+ "encoder_layers": 32,
91
+ "encoder_no_repeat_ngram_size": 0,
92
+ "eos_token_id": null,
93
+ "exponential_decay_length_penalty": null,
94
+ "finetuning_task": null,
95
+ "forced_bos_token_id": null,
96
+ "forced_eos_token_id": null,
97
+ "id2label": {
98
+ "0": "LABEL_0",
99
+ "1": "LABEL_1"
100
+ },
101
+ "init_std": 0.02,
102
+ "is_decoder": false,
103
+ "is_encoder_decoder": false,
104
+ "label2id": {
105
+ "LABEL_0": 0,
106
+ "LABEL_1": 1
107
+ },
108
+ "length_penalty": 1.0,
109
+ "max_length": 20,
110
+ "max_source_positions": 1500,
111
+ "min_length": 0,
112
+ "model_type": "qwen2_5_omni_audio_encoder",
113
+ "n_window": 100,
114
+ "no_repeat_ngram_size": 0,
115
+ "num_beam_groups": 1,
116
+ "num_beams": 1,
117
+ "num_hidden_layers": 32,
118
+ "num_mel_bins": 128,
119
+ "num_return_sequences": 1,
120
+ "output_attentions": false,
121
+ "output_dim": 3584,
122
+ "output_hidden_states": false,
123
+ "output_scores": false,
124
+ "pad_token_id": null,
125
+ "prefix": null,
126
+ "problem_type": null,
127
+ "pruned_heads": {},
128
+ "remove_invalid_values": false,
129
+ "repetition_penalty": 1.0,
130
+ "return_dict": true,
131
+ "return_dict_in_generate": false,
132
+ "scale_embedding": false,
133
+ "sep_token_id": null,
134
+ "suppress_tokens": null,
135
+ "task_specific_params": null,
136
+ "temperature": 1.0,
137
+ "tf_legacy_loss": false,
138
+ "tie_encoder_decoder": false,
139
+ "tie_word_embeddings": true,
140
+ "tokenizer_class": null,
141
+ "top_k": 50,
142
+ "top_p": 1.0,
143
+ "torch_dtype": null,
144
+ "torchscript": false,
145
+ "typical_p": 1.0,
146
+ "use_bfloat16": false
147
+ },
148
+ "text_config": {
149
+ "model_type": "qwen2_5_omni_text",
150
+ "hidden_act": "silu",
151
+ "hidden_size": 3584,
152
+ "init_std": 0.02,
153
+ "intermediate_size": 18944,
154
+ "vocab_size": 152064,
155
+ "num_attention_heads": 28,
156
+ "num_hidden_layers": 28,
157
+ "num_key_value_heads": 4,
158
+ "max_position_embeddings": 32768,
159
+ "max_window_layers": 28,
160
+ "rms_norm_eps": 1e-06,
161
+ "rope_scaling": {
162
+ "mrope_section": [
163
+ 16,
164
+ 24,
165
+ 24
166
+ ],
167
+ "rope_type": "default",
168
+ "type": "default"
169
+ },
170
+ "use_cache": true,
171
+ "rope_theta": 1000000.0,
172
+ "use_sliding_window": false,
173
+ "sliding_window": 32768,
174
+ "attention_dropout": 0.0,
175
+ "tie_word_embeddings": false
176
+ },
177
+ "audio_end_token_id": 151648,
178
+ "audio_start_token_id": 151647,
179
+ "audio_token_index": 151646,
180
+ "bos_token_id": 151644,
181
+ "eos_token_id": 151645,
182
+ "ignore_index": -100,
183
+ "image_token_index": 151655,
184
+ "init_std": 0.02,
185
+ "model_type": "qwen2_5_omni_thinker",
186
+ "pad_token_id": 151643,
187
+ "position_id_per_seconds": 25,
188
+ "seconds_per_chunk": 2,
189
+ "torch_dtype": "bfloat16",
190
+ "user_token_id": 872,
191
+ "video_token_index": 151656,
192
+ "vision_config": {
193
+ "_attn_implementation_autoset": true,
194
+ "_name_or_path": "",
195
+ "add_cross_attention": false,
196
+ "architectures": null,
197
+ "bad_words_ids": null,
198
+ "begin_suppress_tokens": null,
199
+ "bos_token_id": null,
200
+ "chunk_size_feed_forward": 0,
201
+ "cross_attention_hidden_size": null,
202
+ "decoder_start_token_id": null,
203
+ "depth": 32,
204
+ "diversity_penalty": 0.0,
205
+ "do_sample": false,
206
+ "early_stopping": false,
207
+ "embed_dim": 1280,
208
+ "encoder_no_repeat_ngram_size": 0,
209
+ "eos_token_id": null,
210
+ "exponential_decay_length_penalty": null,
211
+ "finetuning_task": null,
212
+ "forced_bos_token_id": null,
213
+ "forced_eos_token_id": null,
214
+ "fullatt_block_indexes": [
215
+ 7,
216
+ 15,
217
+ 23,
218
+ 31
219
+ ],
220
+ "hidden_act": "silu",
221
+ "hidden_size": 1280,
222
+ "id2label": {
223
+ "0": "LABEL_0",
224
+ "1": "LABEL_1"
225
+ },
226
+ "in_channels": 3,
227
+ "in_chans": 3,
228
+ "init_std": 0.02,
229
+ "intermediate_size": 3420,
230
+ "is_decoder": false,
231
+ "is_encoder_decoder": false,
232
+ "label2id": {
233
+ "LABEL_0": 0,
234
+ "LABEL_1": 1
235
+ },
236
+ "length_penalty": 1.0,
237
+ "max_length": 20,
238
+ "min_length": 0,
239
+ "model_type": "qwen2_5_omni_vision_encoder",
240
+ "no_repeat_ngram_size": 0,
241
+ "num_beam_groups": 1,
242
+ "num_beams": 1,
243
+ "num_heads": 16,
244
+ "num_return_sequences": 1,
245
+ "out_hidden_size": 3584,
246
+ "output_attentions": false,
247
+ "output_hidden_states": false,
248
+ "output_scores": false,
249
+ "pad_token_id": null,
250
+ "patch_size": 14,
251
+ "prefix": null,
252
+ "problem_type": null,
253
+ "pruned_heads": {},
254
+ "remove_invalid_values": false,
255
+ "repetition_penalty": 1.0,
256
+ "return_dict": true,
257
+ "return_dict_in_generate": false,
258
+ "sep_token_id": null,
259
+ "spatial_merge_size": 2,
260
+ "spatial_patch_size": 14,
261
+ "suppress_tokens": null,
262
+ "task_specific_params": null,
263
+ "temperature": 1.0,
264
+ "temporal_patch_size": 2,
265
+ "tf_legacy_loss": false,
266
+ "tie_encoder_decoder": false,
267
+ "tie_word_embeddings": true,
268
+ "tokenizer_class": null,
269
+ "tokens_per_second": 25,
270
+ "top_k": 50,
271
+ "top_p": 1.0,
272
+ "torch_dtype": null,
273
+ "torchscript": false,
274
+ "typical_p": 1.0,
275
+ "use_bfloat16": false,
276
+ "window_size": 112
277
+ },
278
+ "vision_end_token_id": 151653,
279
+ "vision_start_token_id": 151652,
280
+ "vision_token_id": 151654
281
+ },
282
+ "token2wav_config": {
283
+ "_attn_implementation_autoset": true,
284
+ "bigvgan_config": {
285
+ "_attn_implementation_autoset": true,
286
+ "_name_or_path": "",
287
+ "add_cross_attention": false,
288
+ "architectures": null,
289
+ "bad_words_ids": null,
290
+ "begin_suppress_tokens": null,
291
+ "bos_token_id": null,
292
+ "chunk_size_feed_forward": 0,
293
+ "cross_attention_hidden_size": null,
294
+ "decoder_start_token_id": null,
295
+ "diversity_penalty": 0.0,
296
+ "do_sample": false,
297
+ "early_stopping": false,
298
+ "encoder_no_repeat_ngram_size": 0,
299
+ "eos_token_id": null,
300
+ "exponential_decay_length_penalty": null,
301
+ "finetuning_task": null,
302
+ "forced_bos_token_id": null,
303
+ "forced_eos_token_id": null,
304
+ "id2label": {
305
+ "0": "LABEL_0",
306
+ "1": "LABEL_1"
307
+ },
308
+ "is_decoder": false,
309
+ "is_encoder_decoder": false,
310
+ "label2id": {
311
+ "LABEL_0": 0,
312
+ "LABEL_1": 1
313
+ },
314
+ "length_penalty": 1.0,
315
+ "max_length": 20,
316
+ "mel_dim": 80,
317
+ "min_length": 0,
318
+ "model_type": "qwen2_5_omni_bigvgan",
319
+ "no_repeat_ngram_size": 0,
320
+ "num_beam_groups": 1,
321
+ "num_beams": 1,
322
+ "num_return_sequences": 1,
323
+ "output_attentions": false,
324
+ "output_hidden_states": false,
325
+ "output_scores": false,
326
+ "pad_token_id": null,
327
+ "prefix": null,
328
+ "problem_type": null,
329
+ "pruned_heads": {},
330
+ "remove_invalid_values": false,
331
+ "repetition_penalty": 1.0,
332
+ "resblock_dilation_sizes": [
333
+ [
334
+ 1,
335
+ 3,
336
+ 5
337
+ ],
338
+ [
339
+ 1,
340
+ 3,
341
+ 5
342
+ ],
343
+ [
344
+ 1,
345
+ 3,
346
+ 5
347
+ ]
348
+ ],
349
+ "resblock_kernel_sizes": [
350
+ 3,
351
+ 7,
352
+ 11
353
+ ],
354
+ "return_dict": true,
355
+ "return_dict_in_generate": false,
356
+ "sep_token_id": null,
357
+ "suppress_tokens": null,
358
+ "task_specific_params": null,
359
+ "temperature": 1.0,
360
+ "tf_legacy_loss": false,
361
+ "tie_encoder_decoder": false,
362
+ "tie_word_embeddings": true,
363
+ "tokenizer_class": null,
364
+ "top_k": 50,
365
+ "top_p": 1.0,
366
+ "torch_dtype": null,
367
+ "torchscript": false,
368
+ "typical_p": 1.0,
369
+ "upsample_initial_channel": 1536,
370
+ "upsample_kernel_sizes": [
371
+ 11,
372
+ 7,
373
+ 4,
374
+ 4,
375
+ 4,
376
+ 4
377
+ ],
378
+ "upsample_rates": [
379
+ 5,
380
+ 3,
381
+ 2,
382
+ 2,
383
+ 2,
384
+ 2
385
+ ],
386
+ "use_bfloat16": false,
387
+ "use_bias_at_final": false
388
+ },
389
+ "dit_config": {
390
+ "_attn_implementation_autoset": true,
391
+ "_name_or_path": "",
392
+ "add_cross_attention": false,
393
+ "architectures": null,
394
+ "bad_words_ids": null,
395
+ "begin_suppress_tokens": null,
396
+ "bos_token_id": null,
397
+ "chunk_size_feed_forward": 0,
398
+ "cross_attention_hidden_size": null,
399
+ "decoder_start_token_id": null,
400
+ "depth": 22,
401
+ "dim": 1024,
402
+ "diversity_penalty": 0.0,
403
+ "do_sample": false,
404
+ "dropout": 0.1,
405
+ "early_stopping": false,
406
+ "emb_dim": 512,
407
+ "enc_attention_channels": 64,
408
+ "enc_channels": [
409
+ 256,
410
+ 256,
411
+ 256,
412
+ 256,
413
+ 768
414
+ ],
415
+ "enc_dilations": [
416
+ 1,
417
+ 2,
418
+ 3,
419
+ 4,
420
+ 1
421
+ ],
422
+ "enc_dim": 128,
423
+ "enc_emb_dim": 192,
424
+ "enc_global_context": true,
425
+ "enc_kernel_sizes": [
426
+ 5,
427
+ 3,
428
+ 3,
429
+ 3,
430
+ 1
431
+ ],
432
+ "enc_lin_neurons": 192,
433
+ "enc_res2net_scale": 2,
434
+ "enc_se_channels": 64,
435
+ "encoder_no_repeat_ngram_size": 0,
436
+ "eos_token_id": null,
437
+ "exponential_decay_length_penalty": null,
438
+ "ff_mult": 2,
439
+ "finetuning_task": null,
440
+ "forced_bos_token_id": null,
441
+ "forced_eos_token_id": null,
442
+ "head_dim": 64,
443
+ "heads": 16,
444
+ "id2label": {
445
+ "0": "LABEL_0",
446
+ "1": "LABEL_1"
447
+ },
448
+ "is_decoder": false,
449
+ "is_encoder_decoder": false,
450
+ "label2id": {
451
+ "LABEL_0": 0,
452
+ "LABEL_1": 1
453
+ },
454
+ "length_penalty": 1.0,
455
+ "max_length": 20,
456
+ "mel_dim": 80,
457
+ "min_length": 0,
458
+ "model_type": "qwen2_5_omni_dit",
459
+ "no_repeat_ngram_size": 0,
460
+ "num_beam_groups": 1,
461
+ "num_beams": 1,
462
+ "num_embeds": 8193,
463
+ "num_return_sequences": 1,
464
+ "output_attentions": false,
465
+ "output_hidden_states": false,
466
+ "output_scores": false,
467
+ "pad_token_id": null,
468
+ "prefix": null,
469
+ "problem_type": null,
470
+ "pruned_heads": {},
471
+ "remove_invalid_values": false,
472
+ "repeats": 2,
473
+ "repetition_penalty": 1.0,
474
+ "return_dict": true,
475
+ "return_dict_in_generate": false,
476
+ "sep_token_id": null,
477
+ "suppress_tokens": null,
478
+ "task_specific_params": null,
479
+ "temperature": 1.0,
480
+ "tf_legacy_loss": false,
481
+ "tie_encoder_decoder": false,
482
+ "tie_word_embeddings": true,
483
+ "tokenizer_class": null,
484
+ "top_k": 50,
485
+ "top_p": 1.0,
486
+ "torch_dtype": "float32",
487
+ "torchscript": false,
488
+ "typical_p": 1.0,
489
+ "use_bfloat16": false
490
+ },
491
+ "model_type": "qwen2_5_omni_token2wav"
492
+ },
493
+ "torch_dtype": "bfloat16",
494
+ "transformers_version": "4.50.0.dev0",
495
+ "vocab_size": 500
496
+ }
generation_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "transformers_version": "4.50.0.dev0"
4
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 300,
3
+ "dither": 0.0,
4
+ "feature_extractor_type": "WhisperFeatureExtractor",
5
+ "feature_size": 128,
6
+ "hop_length": 160,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.26862954,
15
+ 0.26130258,
16
+ 0.27577711
17
+ ],
18
+ "max_pixels": 12845056,
19
+ "merge_size": 2,
20
+ "min_pixels": 3136,
21
+ "n_fft": 400,
22
+ "n_samples": 4800000,
23
+ "nb_max_frames": 30000,
24
+ "padding_side": "right",
25
+ "padding_value": 0.0,
26
+ "patch_size": 14,
27
+ "processor_class": "Qwen2_5OmniProcessor",
28
+ "return_attention_mask": true,
29
+ "sampling_rate": 16000,
30
+ "temporal_patch_size": 2
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,1729 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 500,
8
+ "content": "<|endoftext|>",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 501,
17
+ "content": "<|im_start|>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ {
25
+ "id": 502,
26
+ "content": "<|im_end|>",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ {
34
+ "id": 503,
35
+ "content": "<|AUDIO|>",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ {
43
+ "id": 504,
44
+ "content": "<|audio_bos|>",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ },
51
+ {
52
+ "id": 505,
53
+ "content": "<|audio_eos|>",
54
+ "single_word": false,
55
+ "lstrip": false,
56
+ "rstrip": false,
57
+ "normalized": false,
58
+ "special": true
59
+ },
60
+ {
61
+ "id": 506,
62
+ "content": "<|box_end|>",
63
+ "single_word": false,
64
+ "lstrip": false,
65
+ "rstrip": false,
66
+ "normalized": false,
67
+ "special": true
68
+ },
69
+ {
70
+ "id": 507,
71
+ "content": "<|quad_start|>",
72
+ "single_word": false,
73
+ "lstrip": false,
74
+ "rstrip": false,
75
+ "normalized": false,
76
+ "special": true
77
+ },
78
+ {
79
+ "id": 508,
80
+ "content": "<|quad_end|>",
81
+ "single_word": false,
82
+ "lstrip": false,
83
+ "rstrip": false,
84
+ "normalized": false,
85
+ "special": true
86
+ },
87
+ {
88
+ "id": 509,
89
+ "content": "<|vision_bos|>",
90
+ "single_word": false,
91
+ "lstrip": false,
92
+ "rstrip": false,
93
+ "normalized": false,
94
+ "special": true
95
+ },
96
+ {
97
+ "id": 510,
98
+ "content": "<|vision_eos|>",
99
+ "single_word": false,
100
+ "lstrip": false,
101
+ "rstrip": false,
102
+ "normalized": false,
103
+ "special": true
104
+ },
105
+ {
106
+ "id": 511,
107
+ "content": "<|vision_pad|>",
108
+ "single_word": false,
109
+ "lstrip": false,
110
+ "rstrip": false,
111
+ "normalized": false,
112
+ "special": true
113
+ },
114
+ {
115
+ "id": 512,
116
+ "content": "<|IMAGE|>",
117
+ "single_word": false,
118
+ "lstrip": false,
119
+ "rstrip": false,
120
+ "normalized": false,
121
+ "special": true
122
+ },
123
+ {
124
+ "id": 513,
125
+ "content": "<|VIDEO|>",
126
+ "single_word": false,
127
+ "lstrip": false,
128
+ "rstrip": false,
129
+ "normalized": false,
130
+ "special": true
131
+ },
132
+ {
133
+ "id": 514,
134
+ "content": "<tool_call>",
135
+ "single_word": false,
136
+ "lstrip": false,
137
+ "rstrip": false,
138
+ "normalized": false,
139
+ "special": false
140
+ },
141
+ {
142
+ "id": 515,
143
+ "content": "</tool_call>",
144
+ "single_word": false,
145
+ "lstrip": false,
146
+ "rstrip": false,
147
+ "normalized": false,
148
+ "special": false
149
+ },
150
+ {
151
+ "id": 516,
152
+ "content": "<|fim_prefix|>",
153
+ "single_word": false,
154
+ "lstrip": false,
155
+ "rstrip": false,
156
+ "normalized": false,
157
+ "special": false
158
+ },
159
+ {
160
+ "id": 517,
161
+ "content": "<|fim_middle|>",
162
+ "single_word": false,
163
+ "lstrip": false,
164
+ "rstrip": false,
165
+ "normalized": false,
166
+ "special": false
167
+ },
168
+ {
169
+ "id": 518,
170
+ "content": "<|fim_suffix|>",
171
+ "single_word": false,
172
+ "lstrip": false,
173
+ "rstrip": false,
174
+ "normalized": false,
175
+ "special": false
176
+ },
177
+ {
178
+ "id": 519,
179
+ "content": "<|fim_pad|>",
180
+ "single_word": false,
181
+ "lstrip": false,
182
+ "rstrip": false,
183
+ "normalized": false,
184
+ "special": false
185
+ },
186
+ {
187
+ "id": 520,
188
+ "content": "<|repo_name|>",
189
+ "single_word": false,
190
+ "lstrip": false,
191
+ "rstrip": false,
192
+ "normalized": false,
193
+ "special": false
194
+ },
195
+ {
196
+ "id": 521,
197
+ "content": "<|file_sep|>",
198
+ "single_word": false,
199
+ "lstrip": false,
200
+ "rstrip": false,
201
+ "normalized": false,
202
+ "special": false
203
+ }
204
+ ],
205
+ "normalizer": {
206
+ "type": "NFC"
207
+ },
208
+ "pre_tokenizer": {
209
+ "type": "Sequence",
210
+ "pretokenizers": [
211
+ {
212
+ "type": "Split",
213
+ "pattern": {
214
+ "Regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?\\p{L}+|\\p{N}| ?[^\\s\\p{L}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+"
215
+ },
216
+ "behavior": "Isolated",
217
+ "invert": false
218
+ },
219
+ {
220
+ "type": "ByteLevel",
221
+ "add_prefix_space": false,
222
+ "trim_offsets": false,
223
+ "use_regex": false
224
+ }
225
+ ]
226
+ },
227
+ "post_processor": {
228
+ "type": "ByteLevel",
229
+ "add_prefix_space": false,
230
+ "trim_offsets": false,
231
+ "use_regex": false
232
+ },
233
+ "decoder": {
234
+ "type": "ByteLevel",
235
+ "add_prefix_space": false,
236
+ "trim_offsets": false,
237
+ "use_regex": false
238
+ },
239
+ "model": {
240
+ "type": "BPE",
241
+ "dropout": null,
242
+ "unk_token": null,
243
+ "continuing_subword_prefix": "",
244
+ "end_of_word_suffix": "",
245
+ "fuse_unk": false,
246
+ "byte_fallback": false,
247
+ "ignore_merges": false,
248
+ "vocab": {
249
+ "!": 0,
250
+ "\"": 1,
251
+ "#": 2,
252
+ "$": 3,
253
+ "%": 4,
254
+ "&": 5,
255
+ "'": 6,
256
+ "(": 7,
257
+ ")": 8,
258
+ "*": 9,
259
+ "+": 10,
260
+ ",": 11,
261
+ "-": 12,
262
+ ".": 13,
263
+ "/": 14,
264
+ "0": 15,
265
+ "1": 16,
266
+ "2": 17,
267
+ "3": 18,
268
+ "4": 19,
269
+ "5": 20,
270
+ "6": 21,
271
+ "7": 22,
272
+ "8": 23,
273
+ "9": 24,
274
+ ":": 25,
275
+ ";": 26,
276
+ "<": 27,
277
+ "=": 28,
278
+ ">": 29,
279
+ "?": 30,
280
+ "@": 31,
281
+ "A": 32,
282
+ "B": 33,
283
+ "C": 34,
284
+ "D": 35,
285
+ "E": 36,
286
+ "F": 37,
287
+ "G": 38,
288
+ "H": 39,
289
+ "I": 40,
290
+ "J": 41,
291
+ "K": 42,
292
+ "L": 43,
293
+ "M": 44,
294
+ "N": 45,
295
+ "O": 46,
296
+ "P": 47,
297
+ "Q": 48,
298
+ "R": 49,
299
+ "S": 50,
300
+ "T": 51,
301
+ "U": 52,
302
+ "V": 53,
303
+ "W": 54,
304
+ "X": 55,
305
+ "Y": 56,
306
+ "Z": 57,
307
+ "[": 58,
308
+ "\\": 59,
309
+ "]": 60,
310
+ "^": 61,
311
+ "_": 62,
312
+ "`": 63,
313
+ "a": 64,
314
+ "b": 65,
315
+ "c": 66,
316
+ "d": 67,
317
+ "e": 68,
318
+ "f": 69,
319
+ "g": 70,
320
+ "h": 71,
321
+ "i": 72,
322
+ "j": 73,
323
+ "k": 74,
324
+ "l": 75,
325
+ "m": 76,
326
+ "n": 77,
327
+ "o": 78,
328
+ "p": 79,
329
+ "q": 80,
330
+ "r": 81,
331
+ "s": 82,
332
+ "t": 83,
333
+ "u": 84,
334
+ "v": 85,
335
+ "w": 86,
336
+ "x": 87,
337
+ "y": 88,
338
+ "z": 89,
339
+ "{": 90,
340
+ "|": 91,
341
+ "}": 92,
342
+ "~": 93,
343
+ "¡": 94,
344
+ "¢": 95,
345
+ "£": 96,
346
+ "¤": 97,
347
+ "¥": 98,
348
+ "¦": 99,
349
+ "§": 100,
350
+ "¨": 101,
351
+ "©": 102,
352
+ "ª": 103,
353
+ "«": 104,
354
+ "¬": 105,
355
+ "®": 106,
356
+ "¯": 107,
357
+ "°": 108,
358
+ "±": 109,
359
+ "²": 110,
360
+ "³": 111,
361
+ "´": 112,
362
+ "µ": 113,
363
+ "¶": 114,
364
+ "·": 115,
365
+ "¸": 116,
366
+ "¹": 117,
367
+ "º": 118,
368
+ "»": 119,
369
+ "¼": 120,
370
+ "½": 121,
371
+ "¾": 122,
372
+ "¿": 123,
373
+ "À": 124,
374
+ "Á": 125,
375
+ "Â": 126,
376
+ "Ã": 127,
377
+ "Ä": 128,
378
+ "Å": 129,
379
+ "Æ": 130,
380
+ "Ç": 131,
381
+ "È": 132,
382
+ "É": 133,
383
+ "Ê": 134,
384
+ "Ë": 135,
385
+ "Ì": 136,
386
+ "Í": 137,
387
+ "Î": 138,
388
+ "Ï": 139,
389
+ "Ð": 140,
390
+ "Ñ": 141,
391
+ "Ò": 142,
392
+ "Ó": 143,
393
+ "Ô": 144,
394
+ "Õ": 145,
395
+ "Ö": 146,
396
+ "×": 147,
397
+ "Ø": 148,
398
+ "Ù": 149,
399
+ "Ú": 150,
400
+ "Û": 151,
401
+ "Ü": 152,
402
+ "Ý": 153,
403
+ "Þ": 154,
404
+ "ß": 155,
405
+ "à": 156,
406
+ "á": 157,
407
+ "â": 158,
408
+ "ã": 159,
409
+ "ä": 160,
410
+ "å": 161,
411
+ "æ": 162,
412
+ "ç": 163,
413
+ "è": 164,
414
+ "é": 165,
415
+ "ê": 166,
416
+ "ë": 167,
417
+ "ì": 168,
418
+ "í": 169,
419
+ "î": 170,
420
+ "ï": 171,
421
+ "ð": 172,
422
+ "ñ": 173,
423
+ "ò": 174,
424
+ "ó": 175,
425
+ "ô": 176,
426
+ "õ": 177,
427
+ "ö": 178,
428
+ "÷": 179,
429
+ "ø": 180,
430
+ "ù": 181,
431
+ "ú": 182,
432
+ "û": 183,
433
+ "ü": 184,
434
+ "ý": 185,
435
+ "þ": 186,
436
+ "ÿ": 187,
437
+ "Ā": 188,
438
+ "ā": 189,
439
+ "Ă": 190,
440
+ "ă": 191,
441
+ "Ą": 192,
442
+ "ą": 193,
443
+ "Ć": 194,
444
+ "ć": 195,
445
+ "Ĉ": 196,
446
+ "ĉ": 197,
447
+ "Ċ": 198,
448
+ "ċ": 199,
449
+ "Č": 200,
450
+ "č": 201,
451
+ "Ď": 202,
452
+ "ď": 203,
453
+ "Đ": 204,
454
+ "đ": 205,
455
+ "Ē": 206,
456
+ "ē": 207,
457
+ "Ĕ": 208,
458
+ "ĕ": 209,
459
+ "Ė": 210,
460
+ "ė": 211,
461
+ "Ę": 212,
462
+ "ę": 213,
463
+ "Ě": 214,
464
+ "ě": 215,
465
+ "Ĝ": 216,
466
+ "ĝ": 217,
467
+ "Ğ": 218,
468
+ "ğ": 219,
469
+ "Ġ": 220,
470
+ "ġ": 221,
471
+ "Ģ": 222,
472
+ "ģ": 223,
473
+ "Ĥ": 224,
474
+ "ĥ": 225,
475
+ "Ħ": 226,
476
+ "ħ": 227,
477
+ "Ĩ": 228,
478
+ "ĩ": 229,
479
+ "Ī": 230,
480
+ "ī": 231,
481
+ "Ĭ": 232,
482
+ "ĭ": 233,
483
+ "Į": 234,
484
+ "į": 235,
485
+ "İ": 236,
486
+ "ı": 237,
487
+ "IJ": 238,
488
+ "ij": 239,
489
+ "Ĵ": 240,
490
+ "ĵ": 241,
491
+ "Ķ": 242,
492
+ "ķ": 243,
493
+ "ĸ": 244,
494
+ "Ĺ": 245,
495
+ "ĺ": 246,
496
+ "Ļ": 247,
497
+ "ļ": 248,
498
+ "Ľ": 249,
499
+ "ľ": 250,
500
+ "Ŀ": 251,
501
+ "ŀ": 252,
502
+ "Ł": 253,
503
+ "ł": 254,
504
+ "Ń": 255,
505
+ "ĠĠ": 256,
506
+ "ĠĠĠĠ": 257,
507
+ "in": 258,
508
+ "Ġt": 259,
509
+ "ĠĠĠĠĠĠĠĠ": 260,
510
+ "er": 261,
511
+ "ĠĠĠ": 262,
512
+ "on": 263,
513
+ "Ġa": 264,
514
+ "re": 265,
515
+ "at": 266,
516
+ "st": 267,
517
+ "en": 268,
518
+ "or": 269,
519
+ "Ġth": 270,
520
+ "ĊĊ": 271,
521
+ "Ġc": 272,
522
+ "le": 273,
523
+ "Ġs": 274,
524
+ "it": 275,
525
+ "an": 276,
526
+ "ar": 277,
527
+ "al": 278,
528
+ "Ġthe": 279,
529
+ ";Ċ": 280,
530
+ "Ġp": 281,
531
+ "Ġf": 282,
532
+ "ou": 283,
533
+ "Ġ=": 284,
534
+ "is": 285,
535
+ "ĠĠĠĠĠĠĠ": 286,
536
+ "ing": 287,
537
+ "es": 288,
538
+ "Ġw": 289,
539
+ "ion": 290,
540
+ "ed": 291,
541
+ "ic": 292,
542
+ "Ġb": 293,
543
+ "Ġd": 294,
544
+ "et": 295,
545
+ "Ġm": 296,
546
+ "Ġo": 297,
547
+ "ĉĉ": 298,
548
+ "ro": 299,
549
+ "as": 300,
550
+ "el": 301,
551
+ "ct": 302,
552
+ "nd": 303,
553
+ "Ġin": 304,
554
+ "Ġh": 305,
555
+ "ent": 306,
556
+ "id": 307,
557
+ "Ġn": 308,
558
+ "am": 309,
559
+ "ĠĠĠĠĠĠĠĠĠĠĠ": 310,
560
+ "Ġto": 311,
561
+ "Ġre": 312,
562
+ "--": 313,
563
+ "Ġ{": 314,
564
+ "Ġof": 315,
565
+ "om": 316,
566
+ ");Ċ": 317,
567
+ "im": 318,
568
+ "čĊ": 319,
569
+ "Ġ(": 320,
570
+ "il": 321,
571
+ "//": 322,
572
+ "Ġand": 323,
573
+ "ur": 324,
574
+ "se": 325,
575
+ "Ġl": 326,
576
+ "ex": 327,
577
+ "ĠS": 328,
578
+ "ad": 329,
579
+ "Ġ\"": 330,
580
+ "ch": 331,
581
+ "ut": 332,
582
+ "if": 333,
583
+ "**": 334,
584
+ "Ġ}": 335,
585
+ "em": 336,
586
+ "ol": 337,
587
+ "ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ": 338,
588
+ "th": 339,
589
+ ")Ċ": 340,
590
+ "Ġ{Ċ": 341,
591
+ "Ġg": 342,
592
+ "ig": 343,
593
+ "iv": 344,
594
+ ",Ċ": 345,
595
+ "ce": 346,
596
+ "od": 347,
597
+ "Ġv": 348,
598
+ "ate": 349,
599
+ "ĠT": 350,
600
+ "ag": 351,
601
+ "ay": 352,
602
+ "Ġ*": 353,
603
+ "ot": 354,
604
+ "us": 355,
605
+ "ĠC": 356,
606
+ "Ġst": 357,
607
+ "ĠI": 358,
608
+ "un": 359,
609
+ "ul": 360,
610
+ "ue": 361,
611
+ "ĠA": 362,
612
+ "ow": 363,
613
+ "Ġ'": 364,
614
+ "ew": 365,
615
+ "Ġ<": 366,
616
+ "ation": 367,
617
+ "()": 368,
618
+ "Ġfor": 369,
619
+ "ab": 370,
620
+ "ort": 371,
621
+ "um": 372,
622
+ "ame": 373,
623
+ "Ġis": 374,
624
+ "pe": 375,
625
+ "tr": 376,
626
+ "ck": 377,
627
+ "âĢ": 378,
628
+ "Ġy": 379,
629
+ "ist": 380,
630
+ "----": 381,
631
+ ".ĊĊ": 382,
632
+ "he": 383,
633
+ "Ġe": 384,
634
+ "lo": 385,
635
+ "ĠM": 386,
636
+ "Ġbe": 387,
637
+ "ers": 388,
638
+ "Ġon": 389,
639
+ "Ġcon": 390,
640
+ "ap": 391,
641
+ "ub": 392,
642
+ "ĠP": 393,
643
+ "ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ": 394,
644
+ "ass": 395,
645
+ "int": 396,
646
+ ">Ċ": 397,
647
+ "ly": 398,
648
+ "urn": 399,
649
+ "Ġ$": 400,
650
+ ";ĊĊ": 401,
651
+ "av": 402,
652
+ "port": 403,
653
+ "ir": 404,
654
+ "->": 405,
655
+ "nt": 406,
656
+ "ction": 407,
657
+ "end": 408,
658
+ "Ġde": 409,
659
+ "ith": 410,
660
+ "out": 411,
661
+ "turn": 412,
662
+ "our": 413,
663
+ "ĠĠĠĠĠ": 414,
664
+ "lic": 415,
665
+ "res": 416,
666
+ "pt": 417,
667
+ "==": 418,
668
+ "Ġthis": 419,
669
+ "Ġwh": 420,
670
+ "Ġif": 421,
671
+ "ĠD": 422,
672
+ "ver": 423,
673
+ "age": 424,
674
+ "ĠB": 425,
675
+ "ht": 426,
676
+ "ext": 427,
677
+ "=\"": 428,
678
+ "Ġthat": 429,
679
+ "****": 430,
680
+ "ĠR": 431,
681
+ "Ġit": 432,
682
+ "ess": 433,
683
+ "ĠF": 434,
684
+ "Ġr": 435,
685
+ "os": 436,
686
+ "and": 437,
687
+ "Ġas": 438,
688
+ "ect": 439,
689
+ "ke": 440,
690
+ "rom": 441,
691
+ "Ġ//": 442,
692
+ "con": 443,
693
+ "ĠL": 444,
694
+ "(\"": 445,
695
+ "qu": 446,
696
+ "lass": 447,
697
+ "Ġwith": 448,
698
+ "iz": 449,
699
+ "de": 450,
700
+ "ĠN": 451,
701
+ "Ġal": 452,
702
+ "op": 453,
703
+ "up": 454,
704
+ "get": 455,
705
+ "Ġ}Ċ": 456,
706
+ "ile": 457,
707
+ "Ġan": 458,
708
+ "ata": 459,
709
+ "ore": 460,
710
+ "ri": 461,
711
+ "Ġpro": 462,
712
+ ";čĊ": 463,
713
+ "ĉĉĉĉ": 464,
714
+ "ter": 465,
715
+ "ain": 466,
716
+ "ĠW": 467,
717
+ "ĠE": 468,
718
+ "Ġcom": 469,
719
+ "Ġreturn": 470,
720
+ "art": 471,
721
+ "ĠH": 472,
722
+ "ack": 473,
723
+ "import": 474,
724
+ "ublic": 475,
725
+ "Ġor": 476,
726
+ "est": 477,
727
+ "ment": 478,
728
+ "ĠG": 479,
729
+ "able": 480,
730
+ "Ġ-": 481,
731
+ "ine": 482,
732
+ "ill": 483,
733
+ "ind": 484,
734
+ "ere": 485,
735
+ "::": 486,
736
+ "ity": 487,
737
+ "Ġ+": 488,
738
+ "Ġtr": 489,
739
+ "elf": 490,
740
+ "ight": 491,
741
+ "('": 492,
742
+ "orm": 493,
743
+ "ult": 494,
744
+ "str": 495,
745
+ "..": 496,
746
+ "\",": 497,
747
+ "Ġyou": 498,
748
+ "ype": 499
749
+ },
750
+ "merges": [
751
+ [
752
+ "Ġ",
753
+ "Ġ"
754
+ ],
755
+ [
756
+ "ĠĠ",
757
+ "ĠĠ"
758
+ ],
759
+ [
760
+ "i",
761
+ "n"
762
+ ],
763
+ [
764
+ "Ġ",
765
+ "t"
766
+ ],
767
+ [
768
+ "ĠĠĠĠ",
769
+ "ĠĠĠĠ"
770
+ ],
771
+ [
772
+ "e",
773
+ "r"
774
+ ],
775
+ [
776
+ "ĠĠ",
777
+ "Ġ"
778
+ ],
779
+ [
780
+ "o",
781
+ "n"
782
+ ],
783
+ [
784
+ "Ġ",
785
+ "a"
786
+ ],
787
+ [
788
+ "r",
789
+ "e"
790
+ ],
791
+ [
792
+ "a",
793
+ "t"
794
+ ],
795
+ [
796
+ "s",
797
+ "t"
798
+ ],
799
+ [
800
+ "e",
801
+ "n"
802
+ ],
803
+ [
804
+ "o",
805
+ "r"
806
+ ],
807
+ [
808
+ "Ġt",
809
+ "h"
810
+ ],
811
+ [
812
+ "Ċ",
813
+ "Ċ"
814
+ ],
815
+ [
816
+ "Ġ",
817
+ "c"
818
+ ],
819
+ [
820
+ "l",
821
+ "e"
822
+ ],
823
+ [
824
+ "Ġ",
825
+ "s"
826
+ ],
827
+ [
828
+ "i",
829
+ "t"
830
+ ],
831
+ [
832
+ "a",
833
+ "n"
834
+ ],
835
+ [
836
+ "a",
837
+ "r"
838
+ ],
839
+ [
840
+ "a",
841
+ "l"
842
+ ],
843
+ [
844
+ "Ġth",
845
+ "e"
846
+ ],
847
+ [
848
+ ";",
849
+ "Ċ"
850
+ ],
851
+ [
852
+ "Ġ",
853
+ "p"
854
+ ],
855
+ [
856
+ "Ġ",
857
+ "f"
858
+ ],
859
+ [
860
+ "o",
861
+ "u"
862
+ ],
863
+ [
864
+ "Ġ",
865
+ "="
866
+ ],
867
+ [
868
+ "i",
869
+ "s"
870
+ ],
871
+ [
872
+ "ĠĠĠĠ",
873
+ "ĠĠĠ"
874
+ ],
875
+ [
876
+ "in",
877
+ "g"
878
+ ],
879
+ [
880
+ "e",
881
+ "s"
882
+ ],
883
+ [
884
+ "Ġ",
885
+ "w"
886
+ ],
887
+ [
888
+ "i",
889
+ "on"
890
+ ],
891
+ [
892
+ "e",
893
+ "d"
894
+ ],
895
+ [
896
+ "i",
897
+ "c"
898
+ ],
899
+ [
900
+ "Ġ",
901
+ "b"
902
+ ],
903
+ [
904
+ "Ġ",
905
+ "d"
906
+ ],
907
+ [
908
+ "e",
909
+ "t"
910
+ ],
911
+ [
912
+ "Ġ",
913
+ "m"
914
+ ],
915
+ [
916
+ "Ġ",
917
+ "o"
918
+ ],
919
+ [
920
+ "ĉ",
921
+ "ĉ"
922
+ ],
923
+ [
924
+ "r",
925
+ "o"
926
+ ],
927
+ [
928
+ "a",
929
+ "s"
930
+ ],
931
+ [
932
+ "e",
933
+ "l"
934
+ ],
935
+ [
936
+ "c",
937
+ "t"
938
+ ],
939
+ [
940
+ "n",
941
+ "d"
942
+ ],
943
+ [
944
+ "Ġ",
945
+ "in"
946
+ ],
947
+ [
948
+ "Ġ",
949
+ "h"
950
+ ],
951
+ [
952
+ "en",
953
+ "t"
954
+ ],
955
+ [
956
+ "i",
957
+ "d"
958
+ ],
959
+ [
960
+ "Ġ",
961
+ "n"
962
+ ],
963
+ [
964
+ "a",
965
+ "m"
966
+ ],
967
+ [
968
+ "ĠĠĠĠĠĠĠĠ",
969
+ "ĠĠĠ"
970
+ ],
971
+ [
972
+ "Ġt",
973
+ "o"
974
+ ],
975
+ [
976
+ "Ġ",
977
+ "re"
978
+ ],
979
+ [
980
+ "-",
981
+ "-"
982
+ ],
983
+ [
984
+ "Ġ",
985
+ "{"
986
+ ],
987
+ [
988
+ "Ġo",
989
+ "f"
990
+ ],
991
+ [
992
+ "o",
993
+ "m"
994
+ ],
995
+ [
996
+ ")",
997
+ ";Ċ"
998
+ ],
999
+ [
1000
+ "i",
1001
+ "m"
1002
+ ],
1003
+ [
1004
+ "č",
1005
+ "Ċ"
1006
+ ],
1007
+ [
1008
+ "Ġ",
1009
+ "("
1010
+ ],
1011
+ [
1012
+ "i",
1013
+ "l"
1014
+ ],
1015
+ [
1016
+ "/",
1017
+ "/"
1018
+ ],
1019
+ [
1020
+ "Ġa",
1021
+ "nd"
1022
+ ],
1023
+ [
1024
+ "u",
1025
+ "r"
1026
+ ],
1027
+ [
1028
+ "s",
1029
+ "e"
1030
+ ],
1031
+ [
1032
+ "Ġ",
1033
+ "l"
1034
+ ],
1035
+ [
1036
+ "e",
1037
+ "x"
1038
+ ],
1039
+ [
1040
+ "Ġ",
1041
+ "S"
1042
+ ],
1043
+ [
1044
+ "a",
1045
+ "d"
1046
+ ],
1047
+ [
1048
+ "Ġ",
1049
+ "\""
1050
+ ],
1051
+ [
1052
+ "c",
1053
+ "h"
1054
+ ],
1055
+ [
1056
+ "u",
1057
+ "t"
1058
+ ],
1059
+ [
1060
+ "i",
1061
+ "f"
1062
+ ],
1063
+ [
1064
+ "*",
1065
+ "*"
1066
+ ],
1067
+ [
1068
+ "Ġ",
1069
+ "}"
1070
+ ],
1071
+ [
1072
+ "e",
1073
+ "m"
1074
+ ],
1075
+ [
1076
+ "o",
1077
+ "l"
1078
+ ],
1079
+ [
1080
+ "ĠĠĠĠĠĠĠĠ",
1081
+ "ĠĠĠĠĠĠĠĠ"
1082
+ ],
1083
+ [
1084
+ "t",
1085
+ "h"
1086
+ ],
1087
+ [
1088
+ ")",
1089
+ "Ċ"
1090
+ ],
1091
+ [
1092
+ "Ġ{",
1093
+ "Ċ"
1094
+ ],
1095
+ [
1096
+ "Ġ",
1097
+ "g"
1098
+ ],
1099
+ [
1100
+ "i",
1101
+ "g"
1102
+ ],
1103
+ [
1104
+ "i",
1105
+ "v"
1106
+ ],
1107
+ [
1108
+ ",",
1109
+ "Ċ"
1110
+ ],
1111
+ [
1112
+ "c",
1113
+ "e"
1114
+ ],
1115
+ [
1116
+ "o",
1117
+ "d"
1118
+ ],
1119
+ [
1120
+ "Ġ",
1121
+ "v"
1122
+ ],
1123
+ [
1124
+ "at",
1125
+ "e"
1126
+ ],
1127
+ [
1128
+ "Ġ",
1129
+ "T"
1130
+ ],
1131
+ [
1132
+ "a",
1133
+ "g"
1134
+ ],
1135
+ [
1136
+ "a",
1137
+ "y"
1138
+ ],
1139
+ [
1140
+ "Ġ",
1141
+ "*"
1142
+ ],
1143
+ [
1144
+ "o",
1145
+ "t"
1146
+ ],
1147
+ [
1148
+ "u",
1149
+ "s"
1150
+ ],
1151
+ [
1152
+ "Ġ",
1153
+ "C"
1154
+ ],
1155
+ [
1156
+ "Ġ",
1157
+ "st"
1158
+ ],
1159
+ [
1160
+ "Ġ",
1161
+ "I"
1162
+ ],
1163
+ [
1164
+ "u",
1165
+ "n"
1166
+ ],
1167
+ [
1168
+ "u",
1169
+ "l"
1170
+ ],
1171
+ [
1172
+ "u",
1173
+ "e"
1174
+ ],
1175
+ [
1176
+ "Ġ",
1177
+ "A"
1178
+ ],
1179
+ [
1180
+ "o",
1181
+ "w"
1182
+ ],
1183
+ [
1184
+ "Ġ",
1185
+ "'"
1186
+ ],
1187
+ [
1188
+ "e",
1189
+ "w"
1190
+ ],
1191
+ [
1192
+ "Ġ",
1193
+ "<"
1194
+ ],
1195
+ [
1196
+ "at",
1197
+ "ion"
1198
+ ],
1199
+ [
1200
+ "(",
1201
+ ")"
1202
+ ],
1203
+ [
1204
+ "Ġf",
1205
+ "or"
1206
+ ],
1207
+ [
1208
+ "a",
1209
+ "b"
1210
+ ],
1211
+ [
1212
+ "or",
1213
+ "t"
1214
+ ],
1215
+ [
1216
+ "u",
1217
+ "m"
1218
+ ],
1219
+ [
1220
+ "am",
1221
+ "e"
1222
+ ],
1223
+ [
1224
+ "Ġ",
1225
+ "is"
1226
+ ],
1227
+ [
1228
+ "p",
1229
+ "e"
1230
+ ],
1231
+ [
1232
+ "t",
1233
+ "r"
1234
+ ],
1235
+ [
1236
+ "c",
1237
+ "k"
1238
+ ],
1239
+ [
1240
+ "â",
1241
+ "Ģ"
1242
+ ],
1243
+ [
1244
+ "Ġ",
1245
+ "y"
1246
+ ],
1247
+ [
1248
+ "i",
1249
+ "st"
1250
+ ],
1251
+ [
1252
+ "--",
1253
+ "--"
1254
+ ],
1255
+ [
1256
+ ".",
1257
+ "ĊĊ"
1258
+ ],
1259
+ [
1260
+ "h",
1261
+ "e"
1262
+ ],
1263
+ [
1264
+ "Ġ",
1265
+ "e"
1266
+ ],
1267
+ [
1268
+ "l",
1269
+ "o"
1270
+ ],
1271
+ [
1272
+ "Ġ",
1273
+ "M"
1274
+ ],
1275
+ [
1276
+ "Ġb",
1277
+ "e"
1278
+ ],
1279
+ [
1280
+ "er",
1281
+ "s"
1282
+ ],
1283
+ [
1284
+ "Ġ",
1285
+ "on"
1286
+ ],
1287
+ [
1288
+ "Ġc",
1289
+ "on"
1290
+ ],
1291
+ [
1292
+ "a",
1293
+ "p"
1294
+ ],
1295
+ [
1296
+ "u",
1297
+ "b"
1298
+ ],
1299
+ [
1300
+ "Ġ",
1301
+ "P"
1302
+ ],
1303
+ [
1304
+ "ĠĠĠĠĠĠĠĠ",
1305
+ "ĠĠĠĠĠĠĠ"
1306
+ ],
1307
+ [
1308
+ "as",
1309
+ "s"
1310
+ ],
1311
+ [
1312
+ "in",
1313
+ "t"
1314
+ ],
1315
+ [
1316
+ ">",
1317
+ "Ċ"
1318
+ ],
1319
+ [
1320
+ "l",
1321
+ "y"
1322
+ ],
1323
+ [
1324
+ "ur",
1325
+ "n"
1326
+ ],
1327
+ [
1328
+ "Ġ",
1329
+ "$"
1330
+ ],
1331
+ [
1332
+ ";",
1333
+ "ĊĊ"
1334
+ ],
1335
+ [
1336
+ "a",
1337
+ "v"
1338
+ ],
1339
+ [
1340
+ "p",
1341
+ "ort"
1342
+ ],
1343
+ [
1344
+ "i",
1345
+ "r"
1346
+ ],
1347
+ [
1348
+ "-",
1349
+ ">"
1350
+ ],
1351
+ [
1352
+ "n",
1353
+ "t"
1354
+ ],
1355
+ [
1356
+ "ct",
1357
+ "ion"
1358
+ ],
1359
+ [
1360
+ "en",
1361
+ "d"
1362
+ ],
1363
+ [
1364
+ "Ġd",
1365
+ "e"
1366
+ ],
1367
+ [
1368
+ "it",
1369
+ "h"
1370
+ ],
1371
+ [
1372
+ "ou",
1373
+ "t"
1374
+ ],
1375
+ [
1376
+ "t",
1377
+ "urn"
1378
+ ],
1379
+ [
1380
+ "ou",
1381
+ "r"
1382
+ ],
1383
+ [
1384
+ "ĠĠĠĠ",
1385
+ "Ġ"
1386
+ ],
1387
+ [
1388
+ "l",
1389
+ "ic"
1390
+ ],
1391
+ [
1392
+ "re",
1393
+ "s"
1394
+ ],
1395
+ [
1396
+ "p",
1397
+ "t"
1398
+ ],
1399
+ [
1400
+ "=",
1401
+ "="
1402
+ ],
1403
+ [
1404
+ "Ġth",
1405
+ "is"
1406
+ ],
1407
+ [
1408
+ "Ġw",
1409
+ "h"
1410
+ ],
1411
+ [
1412
+ "Ġ",
1413
+ "if"
1414
+ ],
1415
+ [
1416
+ "Ġ",
1417
+ "D"
1418
+ ],
1419
+ [
1420
+ "v",
1421
+ "er"
1422
+ ],
1423
+ [
1424
+ "ag",
1425
+ "e"
1426
+ ],
1427
+ [
1428
+ "Ġ",
1429
+ "B"
1430
+ ],
1431
+ [
1432
+ "h",
1433
+ "t"
1434
+ ],
1435
+ [
1436
+ "ex",
1437
+ "t"
1438
+ ],
1439
+ [
1440
+ "=",
1441
+ "\""
1442
+ ],
1443
+ [
1444
+ "Ġth",
1445
+ "at"
1446
+ ],
1447
+ [
1448
+ "**",
1449
+ "**"
1450
+ ],
1451
+ [
1452
+ "Ġ",
1453
+ "R"
1454
+ ],
1455
+ [
1456
+ "Ġ",
1457
+ "it"
1458
+ ],
1459
+ [
1460
+ "es",
1461
+ "s"
1462
+ ],
1463
+ [
1464
+ "Ġ",
1465
+ "F"
1466
+ ],
1467
+ [
1468
+ "Ġ",
1469
+ "r"
1470
+ ],
1471
+ [
1472
+ "o",
1473
+ "s"
1474
+ ],
1475
+ [
1476
+ "an",
1477
+ "d"
1478
+ ],
1479
+ [
1480
+ "Ġa",
1481
+ "s"
1482
+ ],
1483
+ [
1484
+ "e",
1485
+ "ct"
1486
+ ],
1487
+ [
1488
+ "k",
1489
+ "e"
1490
+ ],
1491
+ [
1492
+ "ro",
1493
+ "m"
1494
+ ],
1495
+ [
1496
+ "Ġ",
1497
+ "//"
1498
+ ],
1499
+ [
1500
+ "c",
1501
+ "on"
1502
+ ],
1503
+ [
1504
+ "Ġ",
1505
+ "L"
1506
+ ],
1507
+ [
1508
+ "(",
1509
+ "\""
1510
+ ],
1511
+ [
1512
+ "q",
1513
+ "u"
1514
+ ],
1515
+ [
1516
+ "l",
1517
+ "ass"
1518
+ ],
1519
+ [
1520
+ "Ġw",
1521
+ "ith"
1522
+ ],
1523
+ [
1524
+ "i",
1525
+ "z"
1526
+ ],
1527
+ [
1528
+ "d",
1529
+ "e"
1530
+ ],
1531
+ [
1532
+ "Ġ",
1533
+ "N"
1534
+ ],
1535
+ [
1536
+ "Ġa",
1537
+ "l"
1538
+ ],
1539
+ [
1540
+ "o",
1541
+ "p"
1542
+ ],
1543
+ [
1544
+ "u",
1545
+ "p"
1546
+ ],
1547
+ [
1548
+ "g",
1549
+ "et"
1550
+ ],
1551
+ [
1552
+ "Ġ}",
1553
+ "Ċ"
1554
+ ],
1555
+ [
1556
+ "i",
1557
+ "le"
1558
+ ],
1559
+ [
1560
+ "Ġa",
1561
+ "n"
1562
+ ],
1563
+ [
1564
+ "at",
1565
+ "a"
1566
+ ],
1567
+ [
1568
+ "o",
1569
+ "re"
1570
+ ],
1571
+ [
1572
+ "r",
1573
+ "i"
1574
+ ],
1575
+ [
1576
+ "Ġp",
1577
+ "ro"
1578
+ ],
1579
+ [
1580
+ ";",
1581
+ "čĊ"
1582
+ ],
1583
+ [
1584
+ "ĉĉ",
1585
+ "ĉĉ"
1586
+ ],
1587
+ [
1588
+ "t",
1589
+ "er"
1590
+ ],
1591
+ [
1592
+ "a",
1593
+ "in"
1594
+ ],
1595
+ [
1596
+ "Ġ",
1597
+ "W"
1598
+ ],
1599
+ [
1600
+ "Ġ",
1601
+ "E"
1602
+ ],
1603
+ [
1604
+ "Ġc",
1605
+ "om"
1606
+ ],
1607
+ [
1608
+ "Ġre",
1609
+ "turn"
1610
+ ],
1611
+ [
1612
+ "ar",
1613
+ "t"
1614
+ ],
1615
+ [
1616
+ "Ġ",
1617
+ "H"
1618
+ ],
1619
+ [
1620
+ "a",
1621
+ "ck"
1622
+ ],
1623
+ [
1624
+ "im",
1625
+ "port"
1626
+ ],
1627
+ [
1628
+ "ub",
1629
+ "lic"
1630
+ ],
1631
+ [
1632
+ "Ġ",
1633
+ "or"
1634
+ ],
1635
+ [
1636
+ "e",
1637
+ "st"
1638
+ ],
1639
+ [
1640
+ "m",
1641
+ "ent"
1642
+ ],
1643
+ [
1644
+ "Ġ",
1645
+ "G"
1646
+ ],
1647
+ [
1648
+ "ab",
1649
+ "le"
1650
+ ],
1651
+ [
1652
+ "Ġ",
1653
+ "-"
1654
+ ],
1655
+ [
1656
+ "in",
1657
+ "e"
1658
+ ],
1659
+ [
1660
+ "il",
1661
+ "l"
1662
+ ],
1663
+ [
1664
+ "in",
1665
+ "d"
1666
+ ],
1667
+ [
1668
+ "er",
1669
+ "e"
1670
+ ],
1671
+ [
1672
+ ":",
1673
+ ":"
1674
+ ],
1675
+ [
1676
+ "it",
1677
+ "y"
1678
+ ],
1679
+ [
1680
+ "Ġ",
1681
+ "+"
1682
+ ],
1683
+ [
1684
+ "Ġt",
1685
+ "r"
1686
+ ],
1687
+ [
1688
+ "el",
1689
+ "f"
1690
+ ],
1691
+ [
1692
+ "ig",
1693
+ "ht"
1694
+ ],
1695
+ [
1696
+ "(",
1697
+ "'"
1698
+ ],
1699
+ [
1700
+ "or",
1701
+ "m"
1702
+ ],
1703
+ [
1704
+ "ul",
1705
+ "t"
1706
+ ],
1707
+ [
1708
+ "st",
1709
+ "r"
1710
+ ],
1711
+ [
1712
+ ".",
1713
+ "."
1714
+ ],
1715
+ [
1716
+ "\"",
1717
+ ","
1718
+ ],
1719
+ [
1720
+ "Ġy",
1721
+ "ou"
1722
+ ],
1723
+ [
1724
+ "y",
1725
+ "pe"
1726
+ ]
1727
+ ]
1728
+ }
1729
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "151646": {
29
+ "content": "<|AUDIO|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "151647": {
37
+ "content": "<|audio_bos|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "151648": {
45
+ "content": "<|audio_eos|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "151649": {
53
+ "content": "<|box_end|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "151650": {
61
+ "content": "<|quad_start|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "151651": {
69
+ "content": "<|quad_end|>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "151652": {
77
+ "content": "<|vision_bos|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "151653": {
85
+ "content": "<|vision_eos|>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "151654": {
93
+ "content": "<|vision_pad|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "151655": {
101
+ "content": "<|IMAGE|>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "151656": {
109
+ "content": "<|VIDEO|>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "151657": {
117
+ "content": "<tool_call>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": false
123
+ },
124
+ "151658": {
125
+ "content": "</tool_call>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": false
131
+ },
132
+ "151659": {
133
+ "content": "<|fim_prefix|>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": false
139
+ },
140
+ "151660": {
141
+ "content": "<|fim_middle|>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": false
147
+ },
148
+ "151661": {
149
+ "content": "<|fim_suffix|>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": false
155
+ },
156
+ "151662": {
157
+ "content": "<|fim_pad|>",
158
+ "lstrip": false,
159
+ "normalized": false,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": false
163
+ },
164
+ "151663": {
165
+ "content": "<|repo_name|>",
166
+ "lstrip": false,
167
+ "normalized": false,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": false
171
+ },
172
+ "151664": {
173
+ "content": "<|file_sep|>",
174
+ "lstrip": false,
175
+ "normalized": false,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": false
179
+ }
180
+ },
181
+ "additional_special_tokens": [
182
+ "<|im_start|>",
183
+ "<|im_end|>",
184
+ "<|AUDIO|>",
185
+ "<|audio_bos|>",
186
+ "<|audio_eos|>",
187
+ "<|box_end|>",
188
+ "<|quad_start|>",
189
+ "<|quad_end|>",
190
+ "<|vision_bos|>",
191
+ "<|vision_eos|>",
192
+ "<|vision_pad|>",
193
+ "<|IMAGE|>",
194
+ "<|VIDEO|>"
195
+ ],
196
+ "bos_token": null,
197
+ "chat_template": "{% set audio_count = namespace(value=0) %}{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_bos|><|IMAGE|><|vision_eos|>{% elif content['type'] == 'audio' or 'audio' in content or 'audio_url' in content %}{% set audio_count.value = audio_count.value + 1 %}{% if add_audio_id %}Audio {{ audio_count.value }}: {% endif %}<|audio_bos|><|AUDIO|><|audio_eos|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_bos|><|VIDEO|><|vision_eos|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {
202
+ "image_token": "<|IMAGE|>",
203
+ "audio_token": "<|AUDIO|>",
204
+ "video_token": "<|VIDEO|>",
205
+ "vision_bos_token": "<|vision_bos|>",
206
+ "vision_eos_token": "<|vision_eos|>",
207
+ "audio_bos_token": "<|audio_bos|>",
208
+ "audio_eos_token": "<|audio_eos|>"
209
+ },
210
+ "model_max_length": 32768,
211
+ "pad_token": "<|endoftext|>",
212
+ "processor_class": "Qwen2_5OmniProcessor",
213
+ "split_special_tokens": false,
214
+ "tokenizer_class": "Qwen2Tokenizer",
215
+ "unk_token": null,
216
+ "image_token": "<|IMAGE|>",
217
+ "audio_token": "<|AUDIO|>",
218
+ "video_token": "<|VIDEO|>",
219
+ "vision_bos_token": "<|vision_bos|>",
220
+ "vision_eos_token": "<|vision_eos|>",
221
+ "audio_bos_token": "<|audio_bos|>",
222
+ "audio_eos_token": "<|audio_eos|>"
223
+ }