hf-transformers-bot commited on
Commit
2f814e8
·
verified ·
1 Parent(s): 96aa9cc

Add tiny processor fixture for testing

Browse files
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2024 Alibaba Cloud
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
chat_template.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "chat_template": "{% 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_start|><|image_pad|><|vision_end|>{% 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_start|><|video_pad|><|vision_end|>{% 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,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2VLForConditionalGeneration"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 500,
7
+ "eos_token_id": 502,
8
+ "vision_start_token_id": 151652,
9
+ "vision_end_token_id": 151653,
10
+ "vision_token_id": 151654,
11
+ "image_token_id": 151655,
12
+ "video_token_id": 151656,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 3584,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 18944,
17
+ "max_position_embeddings": 32768,
18
+ "max_window_layers": 28,
19
+ "model_type": "qwen2_vl",
20
+ "num_attention_heads": 28,
21
+ "num_hidden_layers": 28,
22
+ "num_key_value_heads": 4,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_theta": 1000000.0,
25
+ "sliding_window": 32768,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.41.2",
29
+ "use_cache": true,
30
+ "use_sliding_window": false,
31
+ "vision_config": {
32
+ "depth": 32,
33
+ "embed_dim": 1280,
34
+ "mlp_ratio": 4,
35
+ "num_heads": 16,
36
+ "in_chans": 3,
37
+ "hidden_size": 3584,
38
+ "patch_size": 14,
39
+ "spatial_merge_size": 2,
40
+ "spatial_patch_size": 14,
41
+ "temporal_patch_size": 2
42
+ },
43
+ "rope_scaling": {
44
+ "type": "mrope",
45
+ "mrope_section": [
46
+ 16,
47
+ 24,
48
+ 24
49
+ ]
50
+ },
51
+ "vocab_size": 500
52
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "pad_token_id": 151643,
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 151645,
7
+ 151643
8
+ ],
9
+ "repetition_penalty": 1.0,
10
+ "temperature": 0.01,
11
+ "top_p": 0.001,
12
+ "top_k": 1,
13
+ "transformers_version": "4.37.0"
14
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "min_pixels": 3136,
3
+ "max_pixels": 12845056,
4
+ "patch_size": 14,
5
+ "temporal_patch_size": 2,
6
+ "merge_size": 2,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "image_processor_type": "Qwen2VLImageProcessor",
18
+ "processor_class": "Qwen2VLProcessor"
19
+ }
tokenizer.json ADDED
@@ -0,0 +1,906 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|object_ref_start|>",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ {
43
+ "id": 504,
44
+ "content": "<|object_ref_end|>",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ },
51
+ {
52
+ "id": 505,
53
+ "content": "<|box_start|>",
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_start|>",
90
+ "single_word": false,
91
+ "lstrip": false,
92
+ "rstrip": false,
93
+ "normalized": false,
94
+ "special": true
95
+ },
96
+ {
97
+ "id": 510,
98
+ "content": "<|vision_end|>",
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
+ "normalizer": {
116
+ "type": "NFC"
117
+ },
118
+ "pre_tokenizer": {
119
+ "type": "Sequence",
120
+ "pretokenizers": [
121
+ {
122
+ "type": "Split",
123
+ "pattern": {
124
+ "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+"
125
+ },
126
+ "behavior": "Isolated",
127
+ "invert": false
128
+ },
129
+ {
130
+ "type": "ByteLevel",
131
+ "add_prefix_space": false,
132
+ "trim_offsets": false,
133
+ "use_regex": false
134
+ }
135
+ ]
136
+ },
137
+ "post_processor": {
138
+ "type": "ByteLevel",
139
+ "add_prefix_space": false,
140
+ "trim_offsets": false,
141
+ "use_regex": false
142
+ },
143
+ "decoder": {
144
+ "type": "ByteLevel",
145
+ "add_prefix_space": false,
146
+ "trim_offsets": false,
147
+ "use_regex": false
148
+ },
149
+ "model": {
150
+ "type": "BPE",
151
+ "dropout": null,
152
+ "unk_token": null,
153
+ "continuing_subword_prefix": "",
154
+ "end_of_word_suffix": "",
155
+ "fuse_unk": false,
156
+ "byte_fallback": false,
157
+ "vocab": {
158
+ "!": 0,
159
+ "\"": 1,
160
+ "#": 2,
161
+ "$": 3,
162
+ "%": 4,
163
+ "&": 5,
164
+ "'": 6,
165
+ "(": 7,
166
+ ")": 8,
167
+ "*": 9,
168
+ "+": 10,
169
+ ",": 11,
170
+ "-": 12,
171
+ ".": 13,
172
+ "/": 14,
173
+ "0": 15,
174
+ "1": 16,
175
+ "2": 17,
176
+ "3": 18,
177
+ "4": 19,
178
+ "5": 20,
179
+ "6": 21,
180
+ "7": 22,
181
+ "8": 23,
182
+ "9": 24,
183
+ ":": 25,
184
+ ";": 26,
185
+ "<": 27,
186
+ "=": 28,
187
+ ">": 29,
188
+ "?": 30,
189
+ "@": 31,
190
+ "A": 32,
191
+ "B": 33,
192
+ "C": 34,
193
+ "D": 35,
194
+ "E": 36,
195
+ "F": 37,
196
+ "G": 38,
197
+ "H": 39,
198
+ "I": 40,
199
+ "J": 41,
200
+ "K": 42,
201
+ "L": 43,
202
+ "M": 44,
203
+ "N": 45,
204
+ "O": 46,
205
+ "P": 47,
206
+ "Q": 48,
207
+ "R": 49,
208
+ "S": 50,
209
+ "T": 51,
210
+ "U": 52,
211
+ "V": 53,
212
+ "W": 54,
213
+ "X": 55,
214
+ "Y": 56,
215
+ "Z": 57,
216
+ "[": 58,
217
+ "\\": 59,
218
+ "]": 60,
219
+ "^": 61,
220
+ "_": 62,
221
+ "`": 63,
222
+ "a": 64,
223
+ "b": 65,
224
+ "c": 66,
225
+ "d": 67,
226
+ "e": 68,
227
+ "f": 69,
228
+ "g": 70,
229
+ "h": 71,
230
+ "i": 72,
231
+ "j": 73,
232
+ "k": 74,
233
+ "l": 75,
234
+ "m": 76,
235
+ "n": 77,
236
+ "o": 78,
237
+ "p": 79,
238
+ "q": 80,
239
+ "r": 81,
240
+ "s": 82,
241
+ "t": 83,
242
+ "u": 84,
243
+ "v": 85,
244
+ "w": 86,
245
+ "x": 87,
246
+ "y": 88,
247
+ "z": 89,
248
+ "{": 90,
249
+ "|": 91,
250
+ "}": 92,
251
+ "~": 93,
252
+ "¡": 94,
253
+ "¢": 95,
254
+ "£": 96,
255
+ "¤": 97,
256
+ "¥": 98,
257
+ "¦": 99,
258
+ "§": 100,
259
+ "¨": 101,
260
+ "©": 102,
261
+ "ª": 103,
262
+ "«": 104,
263
+ "¬": 105,
264
+ "®": 106,
265
+ "¯": 107,
266
+ "°": 108,
267
+ "±": 109,
268
+ "²": 110,
269
+ "³": 111,
270
+ "´": 112,
271
+ "µ": 113,
272
+ "¶": 114,
273
+ "·": 115,
274
+ "¸": 116,
275
+ "¹": 117,
276
+ "º": 118,
277
+ "»": 119,
278
+ "¼": 120,
279
+ "½": 121,
280
+ "¾": 122,
281
+ "¿": 123,
282
+ "À": 124,
283
+ "Á": 125,
284
+ "Â": 126,
285
+ "Ã": 127,
286
+ "Ä": 128,
287
+ "Å": 129,
288
+ "Æ": 130,
289
+ "Ç": 131,
290
+ "È": 132,
291
+ "É": 133,
292
+ "Ê": 134,
293
+ "Ë": 135,
294
+ "Ì": 136,
295
+ "Í": 137,
296
+ "Î": 138,
297
+ "Ï": 139,
298
+ "Ð": 140,
299
+ "Ñ": 141,
300
+ "Ò": 142,
301
+ "Ó": 143,
302
+ "Ô": 144,
303
+ "Õ": 145,
304
+ "Ö": 146,
305
+ "×": 147,
306
+ "Ø": 148,
307
+ "Ù": 149,
308
+ "Ú": 150,
309
+ "Û": 151,
310
+ "Ü": 152,
311
+ "Ý": 153,
312
+ "Þ": 154,
313
+ "ß": 155,
314
+ "à": 156,
315
+ "á": 157,
316
+ "â": 158,
317
+ "ã": 159,
318
+ "ä": 160,
319
+ "å": 161,
320
+ "æ": 162,
321
+ "ç": 163,
322
+ "è": 164,
323
+ "é": 165,
324
+ "ê": 166,
325
+ "ë": 167,
326
+ "ì": 168,
327
+ "í": 169,
328
+ "î": 170,
329
+ "ï": 171,
330
+ "ð": 172,
331
+ "ñ": 173,
332
+ "ò": 174,
333
+ "ó": 175,
334
+ "ô": 176,
335
+ "õ": 177,
336
+ "ö": 178,
337
+ "÷": 179,
338
+ "ø": 180,
339
+ "ù": 181,
340
+ "ú": 182,
341
+ "û": 183,
342
+ "ü": 184,
343
+ "ý": 185,
344
+ "þ": 186,
345
+ "ÿ": 187,
346
+ "Ā": 188,
347
+ "ā": 189,
348
+ "Ă": 190,
349
+ "ă": 191,
350
+ "Ą": 192,
351
+ "ą": 193,
352
+ "Ć": 194,
353
+ "ć": 195,
354
+ "Ĉ": 196,
355
+ "ĉ": 197,
356
+ "Ċ": 198,
357
+ "ċ": 199,
358
+ "Č": 200,
359
+ "č": 201,
360
+ "Ď": 202,
361
+ "ď": 203,
362
+ "Đ": 204,
363
+ "đ": 205,
364
+ "Ē": 206,
365
+ "ē": 207,
366
+ "Ĕ": 208,
367
+ "ĕ": 209,
368
+ "Ė": 210,
369
+ "ė": 211,
370
+ "Ę": 212,
371
+ "ę": 213,
372
+ "Ě": 214,
373
+ "ě": 215,
374
+ "Ĝ": 216,
375
+ "ĝ": 217,
376
+ "Ğ": 218,
377
+ "ğ": 219,
378
+ "Ġ": 220,
379
+ "ġ": 221,
380
+ "Ģ": 222,
381
+ "ģ": 223,
382
+ "Ĥ": 224,
383
+ "ĥ": 225,
384
+ "Ħ": 226,
385
+ "ħ": 227,
386
+ "Ĩ": 228,
387
+ "ĩ": 229,
388
+ "Ī": 230,
389
+ "ī": 231,
390
+ "Ĭ": 232,
391
+ "ĭ": 233,
392
+ "Į": 234,
393
+ "į": 235,
394
+ "İ": 236,
395
+ "ı": 237,
396
+ "IJ": 238,
397
+ "ij": 239,
398
+ "Ĵ": 240,
399
+ "ĵ": 241,
400
+ "Ķ": 242,
401
+ "ķ": 243,
402
+ "ĸ": 244,
403
+ "Ĺ": 245,
404
+ "ĺ": 246,
405
+ "Ļ": 247,
406
+ "ļ": 248,
407
+ "Ľ": 249,
408
+ "ľ": 250,
409
+ "Ŀ": 251,
410
+ "ŀ": 252,
411
+ "Ł": 253,
412
+ "ł": 254,
413
+ "Ń": 255,
414
+ "ĠĠ": 256,
415
+ "ĠĠĠĠ": 257,
416
+ "in": 258,
417
+ "Ġt": 259,
418
+ "ĠĠĠĠĠĠĠĠ": 260,
419
+ "er": 261,
420
+ "ĠĠĠ": 262,
421
+ "on": 263,
422
+ "Ġa": 264,
423
+ "re": 265,
424
+ "at": 266,
425
+ "st": 267,
426
+ "en": 268,
427
+ "or": 269,
428
+ "Ġth": 270,
429
+ "ĊĊ": 271,
430
+ "Ġc": 272,
431
+ "le": 273,
432
+ "Ġs": 274,
433
+ "it": 275,
434
+ "an": 276,
435
+ "ar": 277,
436
+ "al": 278,
437
+ "Ġthe": 279,
438
+ ";Ċ": 280,
439
+ "Ġp": 281,
440
+ "Ġf": 282,
441
+ "ou": 283,
442
+ "Ġ=": 284,
443
+ "is": 285,
444
+ "ĠĠĠĠĠĠĠ": 286,
445
+ "ing": 287,
446
+ "es": 288,
447
+ "Ġw": 289,
448
+ "ion": 290,
449
+ "ed": 291,
450
+ "ic": 292,
451
+ "Ġb": 293,
452
+ "Ġd": 294,
453
+ "et": 295,
454
+ "Ġm": 296,
455
+ "Ġo": 297,
456
+ "ĉĉ": 298,
457
+ "ro": 299,
458
+ "as": 300,
459
+ "el": 301,
460
+ "ct": 302,
461
+ "nd": 303,
462
+ "Ġin": 304,
463
+ "Ġh": 305,
464
+ "ent": 306,
465
+ "id": 307,
466
+ "Ġn": 308,
467
+ "am": 309,
468
+ "ĠĠĠĠĠĠĠĠĠĠĠ": 310,
469
+ "Ġto": 311,
470
+ "Ġre": 312,
471
+ "--": 313,
472
+ "Ġ{": 314,
473
+ "Ġof": 315,
474
+ "om": 316,
475
+ ");Ċ": 317,
476
+ "im": 318,
477
+ "čĊ": 319,
478
+ "Ġ(": 320,
479
+ "il": 321,
480
+ "//": 322,
481
+ "Ġand": 323,
482
+ "ur": 324,
483
+ "se": 325,
484
+ "Ġl": 326,
485
+ "ex": 327,
486
+ "ĠS": 328,
487
+ "ad": 329,
488
+ "Ġ\"": 330,
489
+ "ch": 331,
490
+ "ut": 332,
491
+ "if": 333,
492
+ "**": 334,
493
+ "Ġ}": 335,
494
+ "em": 336,
495
+ "ol": 337,
496
+ "ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ": 338,
497
+ "th": 339,
498
+ ")Ċ": 340,
499
+ "Ġ{Ċ": 341,
500
+ "Ġg": 342,
501
+ "ig": 343,
502
+ "iv": 344,
503
+ ",Ċ": 345,
504
+ "ce": 346,
505
+ "od": 347,
506
+ "Ġv": 348,
507
+ "ate": 349,
508
+ "ĠT": 350,
509
+ "ag": 351,
510
+ "ay": 352,
511
+ "Ġ*": 353,
512
+ "ot": 354,
513
+ "us": 355,
514
+ "ĠC": 356,
515
+ "Ġst": 357,
516
+ "ĠI": 358,
517
+ "un": 359,
518
+ "ul": 360,
519
+ "ue": 361,
520
+ "ĠA": 362,
521
+ "ow": 363,
522
+ "Ġ'": 364,
523
+ "ew": 365,
524
+ "Ġ<": 366,
525
+ "ation": 367,
526
+ "()": 368,
527
+ "Ġfor": 369,
528
+ "ab": 370,
529
+ "ort": 371,
530
+ "um": 372,
531
+ "ame": 373,
532
+ "Ġis": 374,
533
+ "pe": 375,
534
+ "tr": 376,
535
+ "ck": 377,
536
+ "âĢ": 378,
537
+ "Ġy": 379,
538
+ "ist": 380,
539
+ "----": 381,
540
+ ".ĊĊ": 382,
541
+ "he": 383,
542
+ "Ġe": 384,
543
+ "lo": 385,
544
+ "ĠM": 386,
545
+ "Ġbe": 387,
546
+ "ers": 388,
547
+ "Ġon": 389,
548
+ "Ġcon": 390,
549
+ "ap": 391,
550
+ "ub": 392,
551
+ "ĠP": 393,
552
+ "ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ": 394,
553
+ "ass": 395,
554
+ "int": 396,
555
+ ">Ċ": 397,
556
+ "ly": 398,
557
+ "urn": 399,
558
+ "Ġ$": 400,
559
+ ";ĊĊ": 401,
560
+ "av": 402,
561
+ "port": 403,
562
+ "ir": 404,
563
+ "->": 405,
564
+ "nt": 406,
565
+ "ction": 407,
566
+ "end": 408,
567
+ "Ġde": 409,
568
+ "ith": 410,
569
+ "out": 411,
570
+ "turn": 412,
571
+ "our": 413,
572
+ "ĠĠĠĠĠ": 414,
573
+ "lic": 415,
574
+ "res": 416,
575
+ "pt": 417,
576
+ "==": 418,
577
+ "Ġthis": 419,
578
+ "Ġwh": 420,
579
+ "Ġif": 421,
580
+ "ĠD": 422,
581
+ "ver": 423,
582
+ "age": 424,
583
+ "ĠB": 425,
584
+ "ht": 426,
585
+ "ext": 427,
586
+ "=\"": 428,
587
+ "Ġthat": 429,
588
+ "****": 430,
589
+ "ĠR": 431,
590
+ "Ġit": 432,
591
+ "ess": 433,
592
+ "ĠF": 434,
593
+ "Ġr": 435,
594
+ "os": 436,
595
+ "and": 437,
596
+ "Ġas": 438,
597
+ "ect": 439,
598
+ "ke": 440,
599
+ "rom": 441,
600
+ "Ġ//": 442,
601
+ "con": 443,
602
+ "ĠL": 444,
603
+ "(\"": 445,
604
+ "qu": 446,
605
+ "lass": 447,
606
+ "Ġwith": 448,
607
+ "iz": 449,
608
+ "de": 450,
609
+ "ĠN": 451,
610
+ "Ġal": 452,
611
+ "op": 453,
612
+ "up": 454,
613
+ "get": 455,
614
+ "Ġ}Ċ": 456,
615
+ "ile": 457,
616
+ "Ġan": 458,
617
+ "ata": 459,
618
+ "ore": 460,
619
+ "ri": 461,
620
+ "Ġpro": 462,
621
+ ";čĊ": 463,
622
+ "ĉĉĉĉ": 464,
623
+ "ter": 465,
624
+ "ain": 466,
625
+ "ĠW": 467,
626
+ "ĠE": 468,
627
+ "Ġcom": 469,
628
+ "Ġreturn": 470,
629
+ "art": 471,
630
+ "ĠH": 472,
631
+ "ack": 473,
632
+ "import": 474,
633
+ "ublic": 475,
634
+ "Ġor": 476,
635
+ "est": 477,
636
+ "ment": 478,
637
+ "ĠG": 479,
638
+ "able": 480,
639
+ "Ġ-": 481,
640
+ "ine": 482,
641
+ "ill": 483,
642
+ "ind": 484,
643
+ "ere": 485,
644
+ "::": 486,
645
+ "ity": 487,
646
+ "Ġ+": 488,
647
+ "Ġtr": 489,
648
+ "elf": 490,
649
+ "ight": 491,
650
+ "('": 492,
651
+ "orm": 493,
652
+ "ult": 494,
653
+ "str": 495,
654
+ "..": 496,
655
+ "\",": 497,
656
+ "Ġyou": 498,
657
+ "ype": 499
658
+ },
659
+ "merges": [
660
+ "Ġ Ġ",
661
+ "ĠĠ ĠĠ",
662
+ "i n",
663
+ "Ġ t",
664
+ "ĠĠĠĠ ĠĠĠĠ",
665
+ "e r",
666
+ "ĠĠ Ġ",
667
+ "o n",
668
+ "Ġ a",
669
+ "r e",
670
+ "a t",
671
+ "s t",
672
+ "e n",
673
+ "o r",
674
+ "Ġt h",
675
+ "Ċ Ċ",
676
+ "Ġ c",
677
+ "l e",
678
+ "Ġ s",
679
+ "i t",
680
+ "a n",
681
+ "a r",
682
+ "a l",
683
+ "Ġth e",
684
+ "; Ċ",
685
+ "Ġ p",
686
+ "Ġ f",
687
+ "o u",
688
+ "Ġ =",
689
+ "i s",
690
+ "ĠĠĠĠ ĠĠĠ",
691
+ "in g",
692
+ "e s",
693
+ "Ġ w",
694
+ "i on",
695
+ "e d",
696
+ "i c",
697
+ "Ġ b",
698
+ "Ġ d",
699
+ "e t",
700
+ "Ġ m",
701
+ "Ġ o",
702
+ "ĉ ĉ",
703
+ "r o",
704
+ "a s",
705
+ "e l",
706
+ "c t",
707
+ "n d",
708
+ "Ġ in",
709
+ "Ġ h",
710
+ "en t",
711
+ "i d",
712
+ "Ġ n",
713
+ "a m",
714
+ "ĠĠĠĠĠĠĠĠ ĠĠĠ",
715
+ "Ġt o",
716
+ "Ġ re",
717
+ "- -",
718
+ "Ġ {",
719
+ "Ġo f",
720
+ "o m",
721
+ ") ;Ċ",
722
+ "i m",
723
+ "č Ċ",
724
+ "Ġ (",
725
+ "i l",
726
+ "/ /",
727
+ "Ġa nd",
728
+ "u r",
729
+ "s e",
730
+ "Ġ l",
731
+ "e x",
732
+ "Ġ S",
733
+ "a d",
734
+ "Ġ \"",
735
+ "c h",
736
+ "u t",
737
+ "i f",
738
+ "* *",
739
+ "Ġ }",
740
+ "e m",
741
+ "o l",
742
+ "ĠĠĠĠĠĠĠĠ ĠĠĠĠĠĠĠĠ",
743
+ "t h",
744
+ ") Ċ",
745
+ "Ġ{ Ċ",
746
+ "Ġ g",
747
+ "i g",
748
+ "i v",
749
+ ", Ċ",
750
+ "c e",
751
+ "o d",
752
+ "Ġ v",
753
+ "at e",
754
+ "Ġ T",
755
+ "a g",
756
+ "a y",
757
+ "Ġ *",
758
+ "o t",
759
+ "u s",
760
+ "Ġ C",
761
+ "Ġ st",
762
+ "Ġ I",
763
+ "u n",
764
+ "u l",
765
+ "u e",
766
+ "Ġ A",
767
+ "o w",
768
+ "Ġ '",
769
+ "e w",
770
+ "Ġ <",
771
+ "at ion",
772
+ "( )",
773
+ "Ġf or",
774
+ "a b",
775
+ "or t",
776
+ "u m",
777
+ "am e",
778
+ "Ġ is",
779
+ "p e",
780
+ "t r",
781
+ "c k",
782
+ "â Ģ",
783
+ "Ġ y",
784
+ "i st",
785
+ "-- --",
786
+ ". ĊĊ",
787
+ "h e",
788
+ "Ġ e",
789
+ "l o",
790
+ "Ġ M",
791
+ "Ġb e",
792
+ "er s",
793
+ "Ġ on",
794
+ "Ġc on",
795
+ "a p",
796
+ "u b",
797
+ "Ġ P",
798
+ "ĠĠĠĠĠĠĠĠ ĠĠĠĠĠĠĠ",
799
+ "as s",
800
+ "in t",
801
+ "> Ċ",
802
+ "l y",
803
+ "ur n",
804
+ "Ġ $",
805
+ "; ĊĊ",
806
+ "a v",
807
+ "p ort",
808
+ "i r",
809
+ "- >",
810
+ "n t",
811
+ "ct ion",
812
+ "en d",
813
+ "Ġd e",
814
+ "it h",
815
+ "ou t",
816
+ "t urn",
817
+ "ou r",
818
+ "ĠĠĠĠ Ġ",
819
+ "l ic",
820
+ "re s",
821
+ "p t",
822
+ "= =",
823
+ "Ġth is",
824
+ "Ġw h",
825
+ "Ġ if",
826
+ "Ġ D",
827
+ "v er",
828
+ "ag e",
829
+ "Ġ B",
830
+ "h t",
831
+ "ex t",
832
+ "= \"",
833
+ "Ġth at",
834
+ "** **",
835
+ "Ġ R",
836
+ "Ġ it",
837
+ "es s",
838
+ "Ġ F",
839
+ "Ġ r",
840
+ "o s",
841
+ "an d",
842
+ "Ġa s",
843
+ "e ct",
844
+ "k e",
845
+ "ro m",
846
+ "Ġ //",
847
+ "c on",
848
+ "Ġ L",
849
+ "( \"",
850
+ "q u",
851
+ "l ass",
852
+ "Ġw ith",
853
+ "i z",
854
+ "d e",
855
+ "Ġ N",
856
+ "Ġa l",
857
+ "o p",
858
+ "u p",
859
+ "g et",
860
+ "Ġ} Ċ",
861
+ "i le",
862
+ "Ġa n",
863
+ "at a",
864
+ "o re",
865
+ "r i",
866
+ "Ġp ro",
867
+ "; čĊ",
868
+ "ĉĉ ĉĉ",
869
+ "t er",
870
+ "a in",
871
+ "Ġ W",
872
+ "Ġ E",
873
+ "Ġc om",
874
+ "Ġre turn",
875
+ "ar t",
876
+ "Ġ H",
877
+ "a ck",
878
+ "im port",
879
+ "ub lic",
880
+ "Ġ or",
881
+ "e st",
882
+ "m ent",
883
+ "Ġ G",
884
+ "ab le",
885
+ "Ġ -",
886
+ "in e",
887
+ "il l",
888
+ "in d",
889
+ "er e",
890
+ ": :",
891
+ "it y",
892
+ "Ġ +",
893
+ "Ġt r",
894
+ "el f",
895
+ "ig ht",
896
+ "( '",
897
+ "or m",
898
+ "ul t",
899
+ "st r",
900
+ ". .",
901
+ "\" ,",
902
+ "Ġy ou",
903
+ "y pe"
904
+ ]
905
+ }
906
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|object_ref_start|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "151647": {
37
+ "content": "<|object_ref_end|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "151648": {
45
+ "content": "<|box_start|>",
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_start|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "151653": {
85
+ "content": "<|vision_end|>",
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_pad|>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "151656": {
109
+ "content": "<|video_pad|>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ }
116
+ },
117
+ "additional_special_tokens": [
118
+ "<|im_start|>",
119
+ "<|im_end|>",
120
+ "<|object_ref_start|>",
121
+ "<|object_ref_end|>",
122
+ "<|box_start|>",
123
+ "<|box_end|>",
124
+ "<|quad_start|>",
125
+ "<|quad_end|>",
126
+ "<|vision_start|>",
127
+ "<|vision_end|>",
128
+ "<|vision_pad|>",
129
+ "<|image_pad|>",
130
+ "<|video_pad|>"
131
+ ],
132
+ "bos_token": null,
133
+ "chat_template": "{% 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_start|><|image_pad|><|vision_end|>{% 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_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
134
+ "clean_up_tokenization_spaces": false,
135
+ "eos_token": "<|im_end|>",
136
+ "padding_side": "left",
137
+ "errors": "replace",
138
+ "model_max_length": 32768,
139
+ "pad_token": "<|endoftext|>",
140
+ "split_special_tokens": false,
141
+ "tokenizer_class": "Qwen2Tokenizer",
142
+ "unk_token": null
143
+ }