fromdk commited on
Commit
54f6870
·
verified ·
1 Parent(s): 9f4dd0d

Upload model trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

added_tokens.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|PAD_TOKEN|>": 151665,
5
+ "<|box_end|>": 151649,
6
+ "<|box_start|>": 151648,
7
+ "<|endoftext|>": 151643,
8
+ "<|file_sep|>": 151664,
9
+ "<|fim_middle|>": 151660,
10
+ "<|fim_pad|>": 151662,
11
+ "<|fim_prefix|>": 151659,
12
+ "<|fim_suffix|>": 151661,
13
+ "<|im_end|>": 151645,
14
+ "<|im_start|>": 151644,
15
+ "<|image_pad|>": 151655,
16
+ "<|object_ref_end|>": 151647,
17
+ "<|object_ref_start|>": 151646,
18
+ "<|quad_end|>": 151651,
19
+ "<|quad_start|>": 151650,
20
+ "<|repo_name|>": 151663,
21
+ "<|video_pad|>": 151656,
22
+ "<|vision_end|>": 151653,
23
+ "<|vision_pad|>": 151654,
24
+ "<|vision_start|>": 151652
25
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1,20 +1,28 @@
1
  {
2
- "bos_token": {
3
- "content": "<BOS_TOKEN>",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
 
 
 
 
 
 
 
 
9
  "eos_token": {
10
- "content": "<|END_OF_TURN_TOKEN|>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
  "pad_token": {
17
- "content": "<PAD>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
 
1
  {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
  "eos_token": {
18
+ "content": "<|im_end|>",
19
  "lstrip": false,
20
  "normalized": false,
21
  "rstrip": false,
22
  "single_word": false
23
  },
24
  "pad_token": {
25
+ "content": "<|PAD_TOKEN|>",
26
  "lstrip": false,
27
  "normalized": false,
28
  "rstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:345ccf04a5257f473e331715ecc69365c5ac8fc2490923fe7155560af809ec1a
3
- size 20124090
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fab42efe8d17406525a9154b728cf9e957629a8ed7ce997770efdd71128c6a1a
3
+ size 11422086
tokenizer_config.json CHANGED
@@ -1,323 +1,216 @@
1
  {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
  "add_prefix_space": false,
5
  "added_tokens_decoder": {
6
- "0": {
7
- "content": "<PAD>",
8
  "lstrip": false,
9
  "normalized": false,
10
  "rstrip": false,
11
  "single_word": false,
12
  "special": true
13
  },
14
- "1": {
15
- "content": "<UNK>",
16
  "lstrip": false,
17
  "normalized": false,
18
  "rstrip": false,
19
  "single_word": false,
20
  "special": true
21
  },
22
- "2": {
23
- "content": "<CLS>",
24
  "lstrip": false,
25
  "normalized": false,
26
  "rstrip": false,
27
  "single_word": false,
28
  "special": true
29
  },
30
- "3": {
31
- "content": "<SEP>",
32
  "lstrip": false,
33
  "normalized": false,
34
  "rstrip": false,
35
  "single_word": false,
36
  "special": true
37
  },
38
- "4": {
39
- "content": "<MASK_TOKEN>",
40
  "lstrip": false,
41
  "normalized": false,
42
  "rstrip": false,
43
  "single_word": false,
44
  "special": true
45
  },
46
- "5": {
47
- "content": "<BOS_TOKEN>",
48
  "lstrip": false,
49
  "normalized": false,
50
  "rstrip": false,
51
  "single_word": false,
52
  "special": true
53
  },
54
- "6": {
55
- "content": "<EOS_TOKEN>",
56
  "lstrip": false,
57
  "normalized": false,
58
  "rstrip": false,
59
  "single_word": false,
60
  "special": true
61
  },
62
- "7": {
63
- "content": "<EOP_TOKEN>",
64
  "lstrip": false,
65
  "normalized": false,
66
  "rstrip": false,
67
  "single_word": false,
68
  "special": true
69
  },
70
- "255000": {
71
- "content": "<|START_OF_TURN_TOKEN|>",
72
- "lstrip": false,
73
- "normalized": false,
74
- "rstrip": false,
75
- "single_word": false,
76
- "special": false
77
- },
78
- "255001": {
79
- "content": "<|END_OF_TURN_TOKEN|>",
80
  "lstrip": false,
81
  "normalized": false,
82
  "rstrip": false,
83
  "single_word": false,
84
  "special": true
85
  },
86
- "255002": {
87
- "content": "<|YES_TOKEN|>",
88
  "lstrip": false,
89
  "normalized": false,
90
  "rstrip": false,
91
  "single_word": false,
92
- "special": false
93
- },
94
- "255003": {
95
- "content": "<|NO_TOKEN|>",
96
- "lstrip": false,
97
- "normalized": false,
98
- "rstrip": false,
99
- "single_word": false,
100
- "special": false
101
- },
102
- "255004": {
103
- "content": "<|GOOD_TOKEN|>",
104
- "lstrip": false,
105
- "normalized": false,
106
- "rstrip": false,
107
- "single_word": false,
108
- "special": false
109
- },
110
- "255005": {
111
- "content": "<|BAD_TOKEN|>",
112
- "lstrip": false,
113
- "normalized": false,
114
- "rstrip": false,
115
- "single_word": false,
116
- "special": false
117
- },
118
- "255006": {
119
- "content": "<|USER_TOKEN|>",
120
- "lstrip": false,
121
- "normalized": false,
122
- "rstrip": false,
123
- "single_word": false,
124
- "special": false
125
- },
126
- "255007": {
127
- "content": "<|CHATBOT_TOKEN|>",
128
- "lstrip": false,
129
- "normalized": false,
130
- "rstrip": false,
131
- "single_word": false,
132
- "special": false
133
- },
134
- "255008": {
135
- "content": "<|SYSTEM_TOKEN|>",
136
- "lstrip": false,
137
- "normalized": false,
138
- "rstrip": false,
139
- "single_word": false,
140
- "special": false
141
- },
142
- "255009": {
143
- "content": "<|USER_0_TOKEN|>",
144
- "lstrip": false,
145
- "normalized": false,
146
- "rstrip": false,
147
- "single_word": false,
148
- "special": false
149
- },
150
- "255010": {
151
- "content": "<|USER_1_TOKEN|>",
152
- "lstrip": false,
153
- "normalized": false,
154
- "rstrip": false,
155
- "single_word": false,
156
- "special": false
157
- },
158
- "255011": {
159
- "content": "<|USER_2_TOKEN|>",
160
- "lstrip": false,
161
- "normalized": false,
162
- "rstrip": false,
163
- "single_word": false,
164
- "special": false
165
- },
166
- "255012": {
167
- "content": "<|USER_3_TOKEN|>",
168
- "lstrip": false,
169
- "normalized": false,
170
- "rstrip": false,
171
- "single_word": false,
172
- "special": false
173
- },
174
- "255013": {
175
- "content": "<|USER_4_TOKEN|>",
176
- "lstrip": false,
177
- "normalized": false,
178
- "rstrip": false,
179
- "single_word": false,
180
- "special": false
181
- },
182
- "255014": {
183
- "content": "<|USER_5_TOKEN|>",
184
- "lstrip": false,
185
- "normalized": false,
186
- "rstrip": false,
187
- "single_word": false,
188
- "special": false
189
- },
190
- "255015": {
191
- "content": "<|USER_6_TOKEN|>",
192
- "lstrip": false,
193
- "normalized": false,
194
- "rstrip": false,
195
- "single_word": false,
196
- "special": false
197
  },
198
- "255016": {
199
- "content": "<|USER_7_TOKEN|>",
200
  "lstrip": false,
201
  "normalized": false,
202
  "rstrip": false,
203
  "single_word": false,
204
- "special": false
205
  },
206
- "255017": {
207
- "content": "<|USER_8_TOKEN|>",
208
  "lstrip": false,
209
  "normalized": false,
210
  "rstrip": false,
211
  "single_word": false,
212
- "special": false
213
  },
214
- "255018": {
215
- "content": "<|USER_9_TOKEN|>",
216
  "lstrip": false,
217
  "normalized": false,
218
  "rstrip": false,
219
  "single_word": false,
220
- "special": false
221
  },
222
- "255019": {
223
- "content": "<|EXTRA_0_TOKEN|>",
224
  "lstrip": false,
225
  "normalized": false,
226
  "rstrip": false,
227
  "single_word": false,
228
- "special": false
229
  },
230
- "255020": {
231
- "content": "<|EXTRA_1_TOKEN|>",
232
  "lstrip": false,
233
  "normalized": false,
234
  "rstrip": false,
235
  "single_word": false,
236
  "special": false
237
  },
238
- "255021": {
239
- "content": "<|EXTRA_2_TOKEN|>",
240
  "lstrip": false,
241
  "normalized": false,
242
  "rstrip": false,
243
  "single_word": false,
244
  "special": false
245
  },
246
- "255022": {
247
- "content": "<|EXTRA_3_TOKEN|>",
248
  "lstrip": false,
249
  "normalized": false,
250
  "rstrip": false,
251
  "single_word": false,
252
  "special": false
253
  },
254
- "255023": {
255
- "content": "<|EXTRA_4_TOKEN|>",
256
  "lstrip": false,
257
  "normalized": false,
258
  "rstrip": false,
259
  "single_word": false,
260
  "special": false
261
  },
262
- "255024": {
263
- "content": "<|EXTRA_5_TOKEN|>",
264
  "lstrip": false,
265
  "normalized": false,
266
  "rstrip": false,
267
  "single_word": false,
268
  "special": false
269
  },
270
- "255025": {
271
- "content": "<|EXTRA_6_TOKEN|>",
272
  "lstrip": false,
273
  "normalized": false,
274
  "rstrip": false,
275
  "single_word": false,
276
  "special": false
277
  },
278
- "255026": {
279
- "content": "<|EXTRA_7_TOKEN|>",
280
  "lstrip": false,
281
  "normalized": false,
282
  "rstrip": false,
283
  "single_word": false,
284
  "special": false
285
  },
286
- "255027": {
287
- "content": "<|EXTRA_8_TOKEN|>",
288
  "lstrip": false,
289
  "normalized": false,
290
  "rstrip": false,
291
  "single_word": false,
292
  "special": false
293
  },
294
- "255028": {
295
- "content": "<|EXTRA_9_TOKEN|>",
296
  "lstrip": false,
297
  "normalized": false,
298
  "rstrip": false,
299
  "single_word": false,
300
- "special": false
301
  }
302
  },
303
- "bos_token": "<BOS_TOKEN>",
304
- "chat_template": [
305
- {
306
- "name": "default",
307
- "template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% elif false == true %}{% set loop_messages = messages %}{% set system_message = 'You are Aya, a brilliant, sophisticated, multilingual AI-assistant trained to assist human users by providing thorough responses. You are able to interact and respond to questions in 23 languages and you are powered by a multilingual model built by Cohere For AI.' %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% if system_message != false %}{{ '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' + system_message + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ '<|START_OF_TURN_TOKEN|><|USER_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% elif message['role'] == 'assistant' %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' + content.strip() + '<|END_OF_TURN_TOKEN|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}{% endif %}"
308
- }
 
 
 
 
 
 
 
 
309
  ],
 
 
310
  "clean_up_tokenization_spaces": false,
311
- "eos_token": "<|END_OF_TURN_TOKEN|>",
312
- "legacy": true,
313
- "merges_file": null,
314
- "model_max_length": 8192,
315
- "pad_token": "<PAD>",
316
  "padding_side": "right",
317
- "sp_model_kwargs": {},
318
- "spaces_between_special_tokens": false,
319
- "tokenizer_class": "CohereTokenizer",
320
- "unk_token": null,
321
- "use_default_system_prompt": false,
322
- "vocab_file": null
323
  }
 
1
  {
2
+ "add_bos_token": false,
 
3
  "add_prefix_space": false,
4
  "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
  "lstrip": false,
8
  "normalized": false,
9
  "rstrip": false,
10
  "single_word": false,
11
  "special": true
12
  },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
  "lstrip": false,
16
  "normalized": false,
17
  "rstrip": false,
18
  "single_word": false,
19
  "special": true
20
  },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
  "lstrip": false,
24
  "normalized": false,
25
  "rstrip": false,
26
  "single_word": false,
27
  "special": true
28
  },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
  "lstrip": false,
32
  "normalized": false,
33
  "rstrip": false,
34
  "single_word": false,
35
  "special": true
36
  },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
  "lstrip": false,
40
  "normalized": false,
41
  "rstrip": false,
42
  "single_word": false,
43
  "special": true
44
  },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
  "lstrip": false,
48
  "normalized": false,
49
  "rstrip": false,
50
  "single_word": false,
51
  "special": true
52
  },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
  "lstrip": false,
56
  "normalized": false,
57
  "rstrip": false,
58
  "single_word": false,
59
  "special": true
60
  },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
  "lstrip": false,
64
  "normalized": false,
65
  "rstrip": false,
66
  "single_word": false,
67
  "special": true
68
  },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
 
 
 
 
 
 
 
 
71
  "lstrip": false,
72
  "normalized": false,
73
  "rstrip": false,
74
  "single_word": false,
75
  "special": true
76
  },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
  "lstrip": false,
80
  "normalized": false,
81
  "rstrip": false,
82
  "single_word": false,
83
+ "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
  "lstrip": false,
88
  "normalized": false,
89
  "rstrip": false,
90
  "single_word": false,
91
+ "special": true
92
  },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
  "lstrip": false,
96
  "normalized": false,
97
  "rstrip": false,
98
  "single_word": false,
99
+ "special": true
100
  },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
  "lstrip": false,
104
  "normalized": false,
105
  "rstrip": false,
106
  "single_word": false,
107
+ "special": true
108
  },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
  "lstrip": false,
112
  "normalized": false,
113
  "rstrip": false,
114
  "single_word": false,
115
+ "special": true
116
  },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
  "lstrip": false,
120
  "normalized": false,
121
  "rstrip": false,
122
  "single_word": false,
123
  "special": false
124
  },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
  "lstrip": false,
128
  "normalized": false,
129
  "rstrip": false,
130
  "single_word": false,
131
  "special": false
132
  },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
  "lstrip": false,
136
  "normalized": false,
137
  "rstrip": false,
138
  "single_word": false,
139
  "special": false
140
  },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
  "lstrip": false,
144
  "normalized": false,
145
  "rstrip": false,
146
  "single_word": false,
147
  "special": false
148
  },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
  "lstrip": false,
152
  "normalized": false,
153
  "rstrip": false,
154
  "single_word": false,
155
  "special": false
156
  },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
  "lstrip": false,
160
  "normalized": false,
161
  "rstrip": false,
162
  "single_word": false,
163
  "special": false
164
  },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
  "lstrip": false,
168
  "normalized": false,
169
  "rstrip": false,
170
  "single_word": false,
171
  "special": false
172
  },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
  "lstrip": false,
176
  "normalized": false,
177
  "rstrip": false,
178
  "single_word": false,
179
  "special": false
180
  },
181
+ "151665": {
182
+ "content": "<|PAD_TOKEN|>",
183
  "lstrip": false,
184
  "normalized": false,
185
  "rstrip": false,
186
  "single_word": false,
187
+ "special": true
188
  }
189
  },
190
+ "additional_special_tokens": [
191
+ "<|im_start|>",
192
+ "<|im_end|>",
193
+ "<|object_ref_start|>",
194
+ "<|object_ref_end|>",
195
+ "<|box_start|>",
196
+ "<|box_end|>",
197
+ "<|quad_start|>",
198
+ "<|quad_end|>",
199
+ "<|vision_start|>",
200
+ "<|vision_end|>",
201
+ "<|vision_pad|>",
202
+ "<|image_pad|>",
203
+ "<|video_pad|>"
204
  ],
205
+ "bos_token": null,
206
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
207
  "clean_up_tokenization_spaces": false,
208
+ "eos_token": "<|im_end|>",
209
+ "errors": "replace",
210
+ "model_max_length": 32768,
211
+ "pad_token": "<|PAD_TOKEN|>",
 
212
  "padding_side": "right",
213
+ "split_special_tokens": false,
214
+ "tokenizer_class": "Qwen2Tokenizer",
215
+ "unk_token": null
 
 
 
216
  }
vocab.json ADDED
The diff for this file is too large to render. See raw diff