Text Generation
Transformers
Safetensors
GGUF
English
qwen3
code
100m
conversational
text-generation-inference
Dmitriy-Zemskov commited on
Commit
1a68f14
·
verified ·
1 Parent(s): 1138e7e

Upload 6 files

Browse files
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {%- if messages and messages[0].role == 'system' -%}{%- set sys = messages[0].content -%}{%- set msgs = messages[1:] -%}{%- else -%}{%- set sys = "You are CalmaCatCoder-Next, a calm and friendly cat-themed coding assistant. You explain things step by step and say so when you are not sure." -%}{%- set msgs = messages -%}{%- endif -%}{{- '<|im_start|>system\n' + sys + '<|im_end|>\n' -}}{%- for m in msgs -%}{{- '<|im_start|>' + m.role + '\n' + (m.content | trim) + '<|im_end|>\n' -}}{%- endfor -%}{%- if add_generation_prompt -%}{{- '<|im_start|>assistant\n' -}}{%- endif -%}
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": null,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 2304,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention"
30
+ ],
31
+ "max_position_embeddings": 1024,
32
+ "max_window_layers": 28,
33
+ "model_type": "qwen3",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 14,
36
+ "num_key_value_heads": 4,
37
+ "pad_token_id": null,
38
+ "rms_norm_eps": 1e-06,
39
+ "rope_parameters": {
40
+ "rope_theta": 10000.0,
41
+ "rope_type": "default"
42
+ },
43
+ "sliding_window": null,
44
+ "tie_word_embeddings": true,
45
+ "transformers_version": "5.17.0",
46
+ "use_cache": true,
47
+ "use_sliding_window": false,
48
+ "vocab_size": 256
49
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "max_new_tokens": 400,
4
+ "pad_token_id": 0,
5
+ "temperature": 0.7,
6
+ "top_k": 40,
7
+ "transformers_version": "5.17.0"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3170bf8982ebba4b3a29de4333486a4026f18fb7376d5c85108243d6aa16131
3
+ size 193134416
tokenizer.json ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [],
6
+ "normalizer": null,
7
+ "pre_tokenizer": {
8
+ "type": "ByteLevel",
9
+ "add_prefix_space": false,
10
+ "trim_offsets": true,
11
+ "use_regex": false
12
+ },
13
+ "post_processor": {
14
+ "type": "TemplateProcessing",
15
+ "single": [
16
+ {
17
+ "Sequence": {
18
+ "id": "A",
19
+ "type_id": 0
20
+ }
21
+ }
22
+ ],
23
+ "pair": [
24
+ {
25
+ "Sequence": {
26
+ "id": "A",
27
+ "type_id": 0
28
+ }
29
+ },
30
+ {
31
+ "Sequence": {
32
+ "id": "B",
33
+ "type_id": 1
34
+ }
35
+ }
36
+ ],
37
+ "special_tokens": {}
38
+ },
39
+ "decoder": {
40
+ "type": "ByteLevel",
41
+ "add_prefix_space": true,
42
+ "trim_offsets": true,
43
+ "use_regex": true
44
+ },
45
+ "model": {
46
+ "type": "BPE",
47
+ "dropout": null,
48
+ "unk_token": null,
49
+ "continuing_subword_prefix": null,
50
+ "end_of_word_suffix": null,
51
+ "fuse_unk": false,
52
+ "byte_fallback": false,
53
+ "ignore_merges": false,
54
+ "vocab": {
55
+ "Ā": 0,
56
+ "ā": 1,
57
+ "Ă": 2,
58
+ "ă": 3,
59
+ "Ą": 4,
60
+ "ą": 5,
61
+ "Ć": 6,
62
+ "ć": 7,
63
+ "Ĉ": 8,
64
+ "ĉ": 9,
65
+ "Ċ": 10,
66
+ "ċ": 11,
67
+ "Č": 12,
68
+ "č": 13,
69
+ "Ď": 14,
70
+ "ď": 15,
71
+ "Đ": 16,
72
+ "đ": 17,
73
+ "Ē": 18,
74
+ "ē": 19,
75
+ "Ĕ": 20,
76
+ "ĕ": 21,
77
+ "Ė": 22,
78
+ "ė": 23,
79
+ "Ę": 24,
80
+ "ę": 25,
81
+ "Ě": 26,
82
+ "ě": 27,
83
+ "Ĝ": 28,
84
+ "ĝ": 29,
85
+ "Ğ": 30,
86
+ "ğ": 31,
87
+ "Ġ": 32,
88
+ "!": 33,
89
+ "\"": 34,
90
+ "#": 35,
91
+ "$": 36,
92
+ "%": 37,
93
+ "&": 38,
94
+ "'": 39,
95
+ "(": 40,
96
+ ")": 41,
97
+ "*": 42,
98
+ "+": 43,
99
+ ",": 44,
100
+ "-": 45,
101
+ ".": 46,
102
+ "/": 47,
103
+ "0": 48,
104
+ "1": 49,
105
+ "2": 50,
106
+ "3": 51,
107
+ "4": 52,
108
+ "5": 53,
109
+ "6": 54,
110
+ "7": 55,
111
+ "8": 56,
112
+ "9": 57,
113
+ ":": 58,
114
+ ";": 59,
115
+ "<": 60,
116
+ "=": 61,
117
+ ">": 62,
118
+ "?": 63,
119
+ "@": 64,
120
+ "A": 65,
121
+ "B": 66,
122
+ "C": 67,
123
+ "D": 68,
124
+ "E": 69,
125
+ "F": 70,
126
+ "G": 71,
127
+ "H": 72,
128
+ "I": 73,
129
+ "J": 74,
130
+ "K": 75,
131
+ "L": 76,
132
+ "M": 77,
133
+ "N": 78,
134
+ "O": 79,
135
+ "P": 80,
136
+ "Q": 81,
137
+ "R": 82,
138
+ "S": 83,
139
+ "T": 84,
140
+ "U": 85,
141
+ "V": 86,
142
+ "W": 87,
143
+ "X": 88,
144
+ "Y": 89,
145
+ "Z": 90,
146
+ "[": 91,
147
+ "\\": 92,
148
+ "]": 93,
149
+ "^": 94,
150
+ "_": 95,
151
+ "`": 96,
152
+ "a": 97,
153
+ "b": 98,
154
+ "c": 99,
155
+ "d": 100,
156
+ "e": 101,
157
+ "f": 102,
158
+ "g": 103,
159
+ "h": 104,
160
+ "i": 105,
161
+ "j": 106,
162
+ "k": 107,
163
+ "l": 108,
164
+ "m": 109,
165
+ "n": 110,
166
+ "o": 111,
167
+ "p": 112,
168
+ "q": 113,
169
+ "r": 114,
170
+ "s": 115,
171
+ "t": 116,
172
+ "u": 117,
173
+ "v": 118,
174
+ "w": 119,
175
+ "x": 120,
176
+ "y": 121,
177
+ "z": 122,
178
+ "{": 123,
179
+ "|": 124,
180
+ "}": 125,
181
+ "~": 126,
182
+ "ġ": 127,
183
+ "Ģ": 128,
184
+ "ģ": 129,
185
+ "Ĥ": 130,
186
+ "ĥ": 131,
187
+ "Ħ": 132,
188
+ "ħ": 133,
189
+ "Ĩ": 134,
190
+ "ĩ": 135,
191
+ "Ī": 136,
192
+ "ī": 137,
193
+ "Ĭ": 138,
194
+ "ĭ": 139,
195
+ "Į": 140,
196
+ "į": 141,
197
+ "İ": 142,
198
+ "ı": 143,
199
+ "IJ": 144,
200
+ "ij": 145,
201
+ "Ĵ": 146,
202
+ "ĵ": 147,
203
+ "Ķ": 148,
204
+ "ķ": 149,
205
+ "ĸ": 150,
206
+ "Ĺ": 151,
207
+ "ĺ": 152,
208
+ "Ļ": 153,
209
+ "ļ": 154,
210
+ "Ľ": 155,
211
+ "ľ": 156,
212
+ "Ŀ": 157,
213
+ "ŀ": 158,
214
+ "Ł": 159,
215
+ "ł": 160,
216
+ "¡": 161,
217
+ "¢": 162,
218
+ "£": 163,
219
+ "¤": 164,
220
+ "¥": 165,
221
+ "¦": 166,
222
+ "§": 167,
223
+ "¨": 168,
224
+ "©": 169,
225
+ "ª": 170,
226
+ "«": 171,
227
+ "¬": 172,
228
+ "Ń": 173,
229
+ "®": 174,
230
+ "¯": 175,
231
+ "°": 176,
232
+ "±": 177,
233
+ "²": 178,
234
+ "³": 179,
235
+ "´": 180,
236
+ "µ": 181,
237
+ "¶": 182,
238
+ "·": 183,
239
+ "¸": 184,
240
+ "¹": 185,
241
+ "º": 186,
242
+ "»": 187,
243
+ "¼": 188,
244
+ "½": 189,
245
+ "¾": 190,
246
+ "¿": 191,
247
+ "À": 192,
248
+ "Á": 193,
249
+ "Â": 194,
250
+ "Ã": 195,
251
+ "Ä": 196,
252
+ "Å": 197,
253
+ "Æ": 198,
254
+ "Ç": 199,
255
+ "È": 200,
256
+ "É": 201,
257
+ "Ê": 202,
258
+ "Ë": 203,
259
+ "Ì": 204,
260
+ "Í": 205,
261
+ "Î": 206,
262
+ "Ï": 207,
263
+ "Ð": 208,
264
+ "Ñ": 209,
265
+ "Ò": 210,
266
+ "Ó": 211,
267
+ "Ô": 212,
268
+ "Õ": 213,
269
+ "Ö": 214,
270
+ "×": 215,
271
+ "Ø": 216,
272
+ "Ù": 217,
273
+ "Ú": 218,
274
+ "Û": 219,
275
+ "Ü": 220,
276
+ "Ý": 221,
277
+ "Þ": 222,
278
+ "ß": 223,
279
+ "à": 224,
280
+ "á": 225,
281
+ "â": 226,
282
+ "ã": 227,
283
+ "ä": 228,
284
+ "å": 229,
285
+ "æ": 230,
286
+ "ç": 231,
287
+ "è": 232,
288
+ "é": 233,
289
+ "ê": 234,
290
+ "ë": 235,
291
+ "ì": 236,
292
+ "í": 237,
293
+ "î": 238,
294
+ "ï": 239,
295
+ "ð": 240,
296
+ "ñ": 241,
297
+ "ò": 242,
298
+ "ó": 243,
299
+ "ô": 244,
300
+ "õ": 245,
301
+ "ö": 246,
302
+ "÷": 247,
303
+ "ø": 248,
304
+ "ù": 249,
305
+ "ú": 250,
306
+ "û": 251,
307
+ "ü": 252,
308
+ "ý": 253,
309
+ "þ": 254,
310
+ "ÿ": 255
311
+ },
312
+ "merges": []
313
+ }
314
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": false,
4
+ "model_input_names": [
5
+ "input_ids",
6
+ "attention_mask"
7
+ ],
8
+ "model_max_length": 1024,
9
+ "tokenizer_class": "TokenizersBackend"
10
+ }