Add AWQ quantized Qwen3-0.6B-Base model
Browse files- config.json +4 -2
- generation_config.json +3 -1
- model.safetensors +1 -1
- special_tokens_map.json +2 -2
- tokenizer_config.json +10 -4
config.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
-
"bos_token_id": 151643,
|
| 8 |
"eos_token_id": 151643,
|
| 9 |
"head_dim": 128,
|
| 10 |
"hidden_act": "silu",
|
|
@@ -17,6 +16,7 @@
|
|
| 17 |
"num_attention_heads": 16,
|
| 18 |
"num_hidden_layers": 28,
|
| 19 |
"num_key_value_heads": 8,
|
|
|
|
| 20 |
"quantization_config": {
|
| 21 |
"bits": 4,
|
| 22 |
"group_size": 128,
|
|
@@ -31,7 +31,9 @@
|
|
| 31 |
"sliding_window": null,
|
| 32 |
"tie_word_embeddings": true,
|
| 33 |
"torch_dtype": "bfloat16",
|
| 34 |
-
"transformers_version": "4.
|
|
|
|
|
|
|
| 35 |
"use_cache": false,
|
| 36 |
"use_sliding_window": false,
|
| 37 |
"vocab_size": 151936
|
|
|
|
| 4 |
],
|
| 5 |
"attention_bias": false,
|
| 6 |
"attention_dropout": 0.0,
|
|
|
|
| 7 |
"eos_token_id": 151643,
|
| 8 |
"head_dim": 128,
|
| 9 |
"hidden_act": "silu",
|
|
|
|
| 16 |
"num_attention_heads": 16,
|
| 17 |
"num_hidden_layers": 28,
|
| 18 |
"num_key_value_heads": 8,
|
| 19 |
+
"pad_token_id": 151654,
|
| 20 |
"quantization_config": {
|
| 21 |
"bits": 4,
|
| 22 |
"group_size": 128,
|
|
|
|
| 31 |
"sliding_window": null,
|
| 32 |
"tie_word_embeddings": true,
|
| 33 |
"torch_dtype": "bfloat16",
|
| 34 |
+
"transformers_version": "4.52.3",
|
| 35 |
+
"unsloth_fixed": true,
|
| 36 |
+
"unsloth_version": "2025.5.7",
|
| 37 |
"use_cache": false,
|
| 38 |
"use_sliding_window": false,
|
| 39 |
"vocab_size": 151936
|
generation_config.json
CHANGED
|
@@ -2,6 +2,8 @@
|
|
| 2 |
"bos_token_id": 151643,
|
| 3 |
"do_sample": true,
|
| 4 |
"eos_token_id": 151643,
|
|
|
|
| 5 |
"max_new_tokens": 2048,
|
| 6 |
-
"
|
|
|
|
| 7 |
}
|
|
|
|
| 2 |
"bos_token_id": 151643,
|
| 3 |
"do_sample": true,
|
| 4 |
"eos_token_id": 151643,
|
| 5 |
+
"max_length": 32768,
|
| 6 |
"max_new_tokens": 2048,
|
| 7 |
+
"pad_token_id": 151654,
|
| 8 |
+
"transformers_version": "4.52.3"
|
| 9 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 540176208
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36daa8cafec4356a64ec41f02b0f82bd63d7277346dd13a4267e2307f9933c51
|
| 3 |
size 540176208
|
special_tokens_map.json
CHANGED
|
@@ -15,14 +15,14 @@
|
|
| 15 |
"<|video_pad|>"
|
| 16 |
],
|
| 17 |
"eos_token": {
|
| 18 |
-
"content": "<|
|
| 19 |
"lstrip": false,
|
| 20 |
"normalized": false,
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
},
|
| 24 |
"pad_token": {
|
| 25 |
-
"content": "<|
|
| 26 |
"lstrip": false,
|
| 27 |
"normalized": false,
|
| 28 |
"rstrip": false,
|
|
|
|
| 15 |
"<|video_pad|>"
|
| 16 |
],
|
| 17 |
"eos_token": {
|
| 18 |
+
"content": "<|endoftext|>",
|
| 19 |
"lstrip": false,
|
| 20 |
"normalized": false,
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
},
|
| 24 |
"pad_token": {
|
| 25 |
+
"content": "<|vision_pad|>",
|
| 26 |
"lstrip": false,
|
| 27 |
"normalized": false,
|
| 28 |
"rstrip": false,
|
tokenizer_config.json
CHANGED
|
@@ -227,14 +227,20 @@
|
|
| 227 |
"<|video_pad|>"
|
| 228 |
],
|
| 229 |
"bos_token": null,
|
| 230 |
-
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\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 {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first 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 {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
|
| 231 |
"clean_up_tokenization_spaces": false,
|
| 232 |
-
"eos_token": "<|
|
| 233 |
"errors": "replace",
|
| 234 |
"extra_special_tokens": {},
|
| 235 |
-
"
|
| 236 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 237 |
"split_special_tokens": false,
|
|
|
|
| 238 |
"tokenizer_class": "Qwen2Tokenizer",
|
|
|
|
|
|
|
| 239 |
"unk_token": null
|
| 240 |
}
|
|
|
|
| 227 |
"<|video_pad|>"
|
| 228 |
],
|
| 229 |
"bos_token": null,
|
|
|
|
| 230 |
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|endoftext|>",
|
| 232 |
"errors": "replace",
|
| 233 |
"extra_special_tokens": {},
|
| 234 |
+
"max_length": 512,
|
| 235 |
+
"model_max_length": 32768,
|
| 236 |
+
"pad_to_multiple_of": null,
|
| 237 |
+
"pad_token": "<|vision_pad|>",
|
| 238 |
+
"pad_token_type_id": 0,
|
| 239 |
+
"padding_side": "left",
|
| 240 |
"split_special_tokens": false,
|
| 241 |
+
"stride": 0,
|
| 242 |
"tokenizer_class": "Qwen2Tokenizer",
|
| 243 |
+
"truncation_side": "right",
|
| 244 |
+
"truncation_strategy": "longest_first",
|
| 245 |
"unk_token": null
|
| 246 |
}
|