初始化项目,由ModelHub XC社区提供模型

Model: JunHowie/Qwen3-14B-Instruct-2512-SFT-AWQ
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-23 18:51:12 +08:00
commit 3ba3558776
14 changed files with 1712 additions and 0 deletions

53
.gitattributes vendored Normal file
View File

@@ -0,0 +1,53 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bin.* filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zstandard filter=lfs diff=lfs merge=lfs -text
*.tfevents* filter=lfs diff=lfs merge=lfs -text
*.db* filter=lfs diff=lfs merge=lfs -text
*.ark* filter=lfs diff=lfs merge=lfs -text
**/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
**/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
**/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.gguf* filter=lfs diff=lfs merge=lfs -text
*.ggml filter=lfs diff=lfs merge=lfs -text
*.llamafile* filter=lfs diff=lfs merge=lfs -text
*.pt2 filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
merges.txt filter=lfs diff=lfs merge=lfs -text
model-00002-of-00002.safetensors filter=lfs diff=lfs merge=lfs -text
model-00001-of-00002.safetensors filter=lfs diff=lfs merge=lfs -text
tokenizer.json filter=lfs diff=lfs merge=lfs -text
vocab.json filter=lfs diff=lfs merge=lfs -text

117
README.md Normal file
View File

@@ -0,0 +1,117 @@
---
library_name: transformers
license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen3-8B/blob/main/LICENSE
pipeline_tag: text-generation
base_model:
- Qwen/Qwen3-8B
---
# Qwen3-14B-Instruct-2512-SFT
**NOTEThis model is the Instruct-aligned variant, and it will not generate ``<think></think>`` blocks in its outputs.
Additionally, there is no need to specify enable_thinking=False anymore.**
Among them, the 8B and 14B SFT and DFT variants are obtained via full-parameter fine-tuning, while the 32B models are trained using LoRA due to hardware resource constraints.<br>
The dataset used is the Chinese Distillation Dataset based on Qwen3-235B-2507.available at:[**Chinese-Qwen3-235B-2507-Distill-data-110k**](https://www.modelscope.cn/datasets/swift/Chinese-Qwen3-235B-2507-Distill-data-110k)
<br>
For details and code regarding model training and quantization, please see[Training and Quantization Guide](https://www.modelscope.cn/learn/3000)
<br>
Here is the list of models released in this version:<br>
<table border="1" cellpadding="6" cellspacing="0" style="border-collapse: collapse; font-family: sans-serif;">
<thead>
<tr style="background-color: #f0f0f0;">
<th rowspan="2">Model</th>
<th colspan="2">4-bit AWQ</th>
<th rowspan="2">8-bit FP8</th>
<th colspan="2">GPTQ</th>
<th colspan="2">NVIDIA FP4</th>
<th colspan="2">Weight-Activation</th>
</tr>
<tr style="background-color: #f8f8f8;">
<th>AWQ</th>
<th>AWQ-asym</th>
<th>INT4</th>
<th>INT8</th>
<th>NVFP4</th>
<th>NVFP4-A16</th>
<th>W4A16</th>
<th>W8A8</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT">Qwen3-8B-Instruct-2512-DFT</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-AWQ">AWQ</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-awq-asym">awq-asym</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-FP8">FP8</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-GPTQ-Int4">GPTQ(int4)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-GPTQ-Int8">GPTQ(int8)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-NVFP4">NVFP4</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-NVFP4A16">NVFP4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-W4A16">W4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-DFT-W8A8">W8A8</a></td>
</tr>
<tr>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT">Qwen3-8B-Instruct-2512-SFT</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-AWQ">AWQ</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-awq-asym">awq-asym</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-FP8">FP8</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-GPTQ-Int4">GPTQ(int4)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-GPTQ-Int8">GPTQ(int8)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-NVFP4">NVFP4</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-NVFP4A16">NVFP4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-W4A16">W4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-8B-Instruct-2512-SFT-W8A8">W8A8</a></td>
</tr>
<tr>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT">Qwen3-14B-Instruct-2512-DFT</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-AWQ">AWQ</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-awq-asym">awq-asym</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-FP8">FP8</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-GPTQ-Int4">GPTQ(int4)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-GPTQ-Int8">GPTQ(int8)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-NVFP4">NVFP4</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-NVFP4A16">NVFP4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-W4A16">W4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-DFT-W8A8">W8A8</a></td>
</tr>
<tr>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT">Qwen3-14B-Instruct-2512-SFT</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-AWQ">AWQ</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-awq-asym">awq-asym</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-FP8">FP8</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-GPTQ-Int4">GPTQ(int4)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-GPTQ-Int8">GPTQ(int8)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-NVFP4">NVFP4</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-NVFP4A16">NVFP4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-W4A16">W4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-14B-Instruct-2512-SFT-W8A8">W8A8</a></td>
</tr>
<tr>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT">Qwen3-32B-Instruct-2512-DFT</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-AWQ">AWQ</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-awq-asym">awq-asym</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-FP8">FP8</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-GPTQ-Int4">GPTQ(int4)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-GPTQ-Int8">GPTQ(int8)</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-NVFP4">NVFP4</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-NVFP4A16">NVFP4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-W4A16">W4A16</a></td>
<td><a href="https://www.modelscope.cn/models/JunHowie/Qwen3-32B-Instruct-2512-DFT-W8A8">W8A8</a></td>
</tr>
</tbody>
</table>
### 【Dependencies】
```
vllm>=0.10.2
transformers>=4.56.1
```

28
added_tokens.json Normal file
View File

@@ -0,0 +1,28 @@
{
"</think>": 151668,
"</tool_call>": 151658,
"</tool_response>": 151666,
"<think>": 151667,
"<tool_call>": 151657,
"<tool_response>": 151665,
"<|box_end|>": 151649,
"<|box_start|>": 151648,
"<|endoftext|>": 151643,
"<|file_sep|>": 151664,
"<|fim_middle|>": 151660,
"<|fim_pad|>": 151662,
"<|fim_prefix|>": 151659,
"<|fim_suffix|>": 151661,
"<|im_end|>": 151645,
"<|im_start|>": 151644,
"<|image_pad|>": 151655,
"<|object_ref_end|>": 151647,
"<|object_ref_start|>": 151646,
"<|quad_end|>": 151651,
"<|quad_start|>": 151650,
"<|repo_name|>": 151663,
"<|video_pad|>": 151656,
"<|vision_end|>": 151653,
"<|vision_pad|>": 151654,
"<|vision_start|>": 151652
}

124
args.json Normal file
View File

@@ -0,0 +1,124 @@
{
"use_ray": false,
"ray_exp_name": null,
"device_groups": null,
"model": "/root/data/model/Qwen3-14B-Instruct-2512-SFT",
"model_type": "qwen3_nothinking",
"model_revision": null,
"task_type": "causal_lm",
"torch_dtype": "float16",
"attn_impl": "flash_attn",
"new_special_tokens": [],
"num_labels": null,
"problem_type": null,
"rope_scaling": null,
"device_map": "auto",
"max_memory": {},
"max_model_len": null,
"local_repo_path": null,
"init_strategy": null,
"template": "qwen3_nothinking",
"system": null,
"max_length": 12000,
"truncation_strategy": "delete",
"max_pixels": null,
"agent_template": null,
"norm_bbox": null,
"use_chat_template": true,
"padding_free": false,
"padding_side": "right",
"loss_scale": "default",
"sequence_parallel_size": 1,
"response_prefix": null,
"template_backend": "swift",
"dataset": [
"/root/data/datasets/qwen3_235b_2507_distill_110k.jsonl"
],
"val_dataset": [],
"split_dataset_ratio": 0.0,
"data_seed": 42,
"dataset_num_proc": 1,
"load_from_cache_file": false,
"dataset_shuffle": true,
"val_dataset_shuffle": false,
"streaming": false,
"interleave_prob": null,
"stopping_strategy": "first_exhausted",
"shuffle_buffer_size": 1000,
"download_mode": "reuse_dataset_if_exists",
"columns": {},
"strict": false,
"remove_unused_columns": true,
"model_name": null,
"model_author": null,
"custom_dataset_info": [],
"quant_method": "awq",
"quant_bits": 4,
"hqq_axis": null,
"bnb_4bit_compute_dtype": "bfloat16",
"bnb_4bit_quant_type": "nf4",
"bnb_4bit_use_double_quant": true,
"bnb_4bit_quant_storage": null,
"max_new_tokens": null,
"temperature": null,
"top_k": null,
"top_p": null,
"repetition_penalty": null,
"num_beams": 1,
"stream": false,
"stop_words": [],
"logprobs": false,
"top_logprobs": null,
"ckpt_dir": "/root/data/model/Qwen3-14B-Instruct-2512-SFT",
"lora_modules": [],
"tuner_backend": "peft",
"train_type": "full",
"adapters": [],
"external_plugins": [],
"seed": 42,
"model_kwargs": {},
"load_args": true,
"load_data_args": false,
"packing": false,
"packing_length": null,
"lazy_tokenize": false,
"cached_dataset": [],
"custom_register_path": [],
"use_hf": false,
"hub_token": null,
"ddp_timeout": 18000000,
"ddp_backend": null,
"ignore_args_error": false,
"use_swift_lora": false,
"merge_lora": false,
"safe_serialization": true,
"max_shard_size": "5GB",
"output_dir": "/root/data/model/Qwen3-14B-Instruct-2512-SFT-AWQ",
"quant_n_samples": 256,
"quant_batch_size": 1,
"group_size": 128,
"to_cached_dataset": false,
"to_ollama": false,
"to_mcore": false,
"to_hf": false,
"mcore_model": null,
"mcore_adapters": [],
"thread_count": null,
"test_convert_precision": false,
"test_convert_dtype": "float32",
"push_to_hub": false,
"hub_model_id": null,
"hub_private_repo": false,
"commit_message": "update files",
"to_peft_format": false,
"exist_ok": false,
"rank": -1,
"local_rank": -1,
"global_world_size": 1,
"local_world_size": 1,
"model_suffix": "Qwen3-14B-Instruct-2512-SFT",
"model_info": "ModelInfo(model_type='qwen3_nothinking', model_dir='/root/data/model/Qwen3-14B-Instruct-2512-SFT', torch_dtype=torch.float16, max_model_len=40960, quant_method=None, quant_bits=None, rope_scaling=None, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
"model_meta": "ModelMeta(model_type='qwen3_nothinking', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507', hf_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-30B-A3B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507', hf_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-235B-A22B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='swift/Qwen3-235B-A22B-Instruct-2507-AWQ', hf_model_id=None, model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[]), ModelGroup(models=[Model(ms_model_id='Qwen/Qwen3-4B-Instruct-2507', hf_model_id='Qwen/Qwen3-4B-Instruct-2507', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen3-4B-Instruct-2507-FP8', hf_model_id='Qwen/Qwen3-4B-Instruct-2507-FP8', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen3_nothinking', get_function=<function get_model_tokenizer_with_flash_attn at 0x7fbf75af1800>, model_arch=None, architectures=['Qwen3MoeForCausalLM', 'Qwen3ForCausalLM'], additional_saved_files=[], torch_dtype=None, is_multimodal=False, is_reward=False, is_reranker=False, task_type=None, ignore_patterns=None, requires=['transformers>=4.51'], tags=[])",
"model_dir": "/root/data/model/Qwen3-14B-Instruct-2512-SFT",
"hub": "<class 'swift.hub.hub.MSHub'>"
}

81
config.json Normal file
View File

@@ -0,0 +1,81 @@
{
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"dtype": "bfloat16",
"eos_token_id": 151645,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 5120,
"initializer_range": 0.02,
"intermediate_size": 17408,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 40960,
"max_window_layers": 40,
"model_type": "qwen3",
"num_attention_heads": 40,
"num_hidden_layers": 40,
"num_key_value_heads": 8,
"pad_token_id": 151643,
"quantization_config": {
"bits": 4,
"group_size": 128,
"modules_to_not_convert": null,
"quant_method": "awq",
"version": "gemm",
"zero_point": true
},
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sliding_window": null,
"tie_word_embeddings": false,
"torch_dtype": "float16",
"transformers_version": "4.51.3",
"use_cache": false,
"use_sliding_window": false,
"vocab_size": 151936
}

13
generation_config.json Normal file
View File

@@ -0,0 +1,13 @@
{
"bos_token_id": 151643,
"do_sample": true,
"eos_token_id": [
151645,
151643
],
"pad_token_id": 151643,
"temperature": 0.6,
"top_k": 20,
"top_p": 0.95,
"transformers_version": "4.51.3"
}

BIN
merges.txt (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c32e24d732f54cd945e9316447018cfbbf39da9c7951408b13b7cb8abe299c6
size 4988339616

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:037cc42d0f6ed9a5a0604b8cbe1bf9c9d3dab41b45f926b965d6db6702b1b555
size 4988350184

1010
model.safetensors.index.json Normal file

File diff suppressed because it is too large Load Diff

31
special_tokens_map.json Normal file
View File

@@ -0,0 +1,31 @@
{
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"eos_token": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

BIN
tokenizer.json (Stored with Git LFS) Normal file

Binary file not shown.

240
tokenizer_config.json Normal file
View File

@@ -0,0 +1,240 @@
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"151643": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151645": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151646": {
"content": "<|object_ref_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151647": {
"content": "<|object_ref_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151648": {
"content": "<|box_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151649": {
"content": "<|box_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151650": {
"content": "<|quad_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151651": {
"content": "<|quad_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151652": {
"content": "<|vision_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151653": {
"content": "<|vision_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151654": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151655": {
"content": "<|image_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151656": {
"content": "<|video_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151657": {
"content": "<tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151658": {
"content": "</tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151659": {
"content": "<|fim_prefix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151660": {
"content": "<|fim_middle|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151661": {
"content": "<|fim_suffix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151662": {
"content": "<|fim_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151663": {
"content": "<|repo_name|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151664": {
"content": "<|file_sep|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151665": {
"content": "<tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151666": {
"content": "</tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151667": {
"content": "<think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151668": {
"content": "</think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"bos_token": null,
"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 %}",
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"errors": "replace",
"extra_special_tokens": {},
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}

BIN
vocab.json (Stored with Git LFS) Normal file

Binary file not shown.