Commit ·
56ee0da
verified ·
0
Parent(s):
Super-squash branch 'main' using huggingface_hub
Browse files- .gitattributes +36 -0
- README.md +168 -0
- chat_template.jinja +86 -0
- config.json +755 -0
- generation_config.json +13 -0
- model.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +35 -0
.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- unsloth
|
| 4 |
+
base_model:
|
| 5 |
+
- zai-org/GLM-4.7-Flash
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
- zh
|
| 9 |
+
library_name: transformers
|
| 10 |
+
license: mit
|
| 11 |
+
pipeline_tag: text-generation
|
| 12 |
+
---
|
| 13 |
+
> [!NOTE]
|
| 14 |
+
> Includes Unsloth **chat template fixes**! <br> For `llama.cpp`, use `--jinja`
|
| 15 |
+
>
|
| 16 |
+
|
| 17 |
+
<div>
|
| 18 |
+
<p style="margin-top: 0;margin-bottom: 0;">
|
| 19 |
+
<em><a href="https://docs.unsloth.ai/basics/unsloth-dynamic-v2.0-gguf">Unsloth Dynamic 2.0</a> achieves superior accuracy & outperforms other leading quants.</em>
|
| 20 |
+
</p>
|
| 21 |
+
<div style="display: flex; gap: 5px; align-items: center; ">
|
| 22 |
+
<a href="https://github.com/unslothai/unsloth/">
|
| 23 |
+
<img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="133">
|
| 24 |
+
</a>
|
| 25 |
+
<a href="https://discord.gg/unsloth">
|
| 26 |
+
<img src="https://github.com/unslothai/unsloth/raw/main/images/Discord%20button.png" width="173">
|
| 27 |
+
</a>
|
| 28 |
+
<a href="https://docs.unsloth.ai/">
|
| 29 |
+
<img src="https://raw.githubusercontent.com/unslothai/unsloth/refs/heads/main/images/documentation%20green%20button.png" width="143">
|
| 30 |
+
</a>
|
| 31 |
+
</div>
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
# GLM-4.7-Flash
|
| 36 |
+
|
| 37 |
+
<div align="center">
|
| 38 |
+
<img src=https://raw.githubusercontent.com/zai-org/GLM-4.5/refs/heads/main/resources/logo.svg width="15%"/>
|
| 39 |
+
</div>
|
| 40 |
+
<p align="center">
|
| 41 |
+
👋 Join our <a href="https://discord.gg/QR7SARHRxK" target="_blank">Discord</a> community.
|
| 42 |
+
<br>
|
| 43 |
+
📖 Check out the GLM-4.7 <a href="https://z.ai/blog/glm-4.7" target="_blank">technical blog</a>, <a href="https://arxiv.org/abs/2508.06471" target="_blank">technical report(GLM-4.5)</a>.
|
| 44 |
+
<br>
|
| 45 |
+
📍 Use GLM-4.7-Flash API services on <a href="https://docs.z.ai/guides/llm/glm-4.7">Z.ai API Platform. </a>
|
| 46 |
+
<br>
|
| 47 |
+
👉 One click to <a href="https://chat.z.ai">GLM-4.7</a>.
|
| 48 |
+
</p>
|
| 49 |
+
|
| 50 |
+
## Introduction
|
| 51 |
+
|
| 52 |
+
GLM-4.7-Flash is a 30B-A3B MoE model. As the strongest model in the 30B class, GLM-4.7-Flash offers a new option for lightweight deployment that balances performance and efficiency.
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### Performances on Benchmarks
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
| Benchmark | GLM-4.7-Flash | Qwen3-30B-A3B-Thinking-2507 | GPT-OSS-20B |
|
| 59 |
+
|--------------------|---------------|-----------------------------|-------------|
|
| 60 |
+
| AIME 25 | 91.6 | 85.0 | 91.7 |
|
| 61 |
+
| GPQA | 75.2 | 73.4 | 71.5 |
|
| 62 |
+
| LCB v6 | 64.0 | 66.0 | 61.0 |
|
| 63 |
+
| HLE | 14.4 | 9.8 | 10.9 |
|
| 64 |
+
| SWE-bench Verified | 59.2 | 22.0 | 34.0 |
|
| 65 |
+
| τ²-Bench | 79.5 | 49.0 | 47.7 |
|
| 66 |
+
| BrowseComp | 42.8 | 2.29 | 28.3 |
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
## Serve GLM-4.7-Flash Locally
|
| 70 |
+
|
| 71 |
+
For local deployment, GLM-4.7-Flash supports inference frameworks including vLLM and SGLang. Comprehensive deployment
|
| 72 |
+
instructions are available in the official [Github](https://github.com/zai-org/GLM-4.5) repository.
|
| 73 |
+
|
| 74 |
+
vLLM and SGLang only support GLM-4.7-Flash on their main branches.
|
| 75 |
+
|
| 76 |
+
### vLLM
|
| 77 |
+
|
| 78 |
+
+ using pip (must use pypi.org as the index url):
|
| 79 |
+
|
| 80 |
+
```shell
|
| 81 |
+
pip install -U vllm --pre --index-url https://pypi.org/simple --extra-index-url https://wheels.vllm.ai/nightly
|
| 82 |
+
pip install git+https://github.com/huggingface/transformers.git
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
### SGLang
|
| 86 |
+
|
| 87 |
+
+ using pip install sglang from source, then update transformers to the latest main branch.
|
| 88 |
+
|
| 89 |
+
### transformers
|
| 90 |
+
|
| 91 |
+
using with transformers as
|
| 92 |
+
|
| 93 |
+
```shell
|
| 94 |
+
pip install git+https://github.com/huggingface/transformers.git
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
and then run:
|
| 98 |
+
|
| 99 |
+
```python
|
| 100 |
+
import torch
|
| 101 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 102 |
+
|
| 103 |
+
MODEL_PATH = "zai-org/GLM-4.7-Flash"
|
| 104 |
+
messages = [{"role": "user", "content": "hello"}]
|
| 105 |
+
tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH)
|
| 106 |
+
inputs = tokenizer.apply_chat_template(
|
| 107 |
+
messages,
|
| 108 |
+
tokenize=True,
|
| 109 |
+
add_generation_prompt=True,
|
| 110 |
+
return_dict=True,
|
| 111 |
+
return_tensors="pt",
|
| 112 |
+
)
|
| 113 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 114 |
+
pretrained_model_name_or_path=MODEL_PATH,
|
| 115 |
+
torch_dtype=torch.bfloat16,
|
| 116 |
+
device_map="auto",
|
| 117 |
+
)
|
| 118 |
+
inputs = inputs.to(model.device)
|
| 119 |
+
generated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)
|
| 120 |
+
output_text = tokenizer.decode(generated_ids[0][inputs.input_ids.shape[1]:])
|
| 121 |
+
print(output_text)
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
### vLLM
|
| 125 |
+
|
| 126 |
+
```shell
|
| 127 |
+
vllm serve zai-org/GLM-4.7-Flash \
|
| 128 |
+
--tensor-parallel-size 4 \
|
| 129 |
+
--speculative-config.method mtp \
|
| 130 |
+
--speculative-config.num_speculative_tokens 1 \
|
| 131 |
+
--tool-call-parser glm47 \
|
| 132 |
+
--reasoning-parser glm45 \
|
| 133 |
+
--enable-auto-tool-choice \
|
| 134 |
+
--served-model-name glm-4.7-flash
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
### SGLang
|
| 138 |
+
|
| 139 |
+
```shell
|
| 140 |
+
python3 -m sglang.launch_server \
|
| 141 |
+
--model-path zai-org/GLM-4.7-Flash \
|
| 142 |
+
--tp-size 4 \
|
| 143 |
+
--tool-call-parser glm47 \
|
| 144 |
+
--reasoning-parser glm45 \
|
| 145 |
+
--speculative-algorithm EAGLE \
|
| 146 |
+
--speculative-num-steps 3 \
|
| 147 |
+
--speculative-eagle-topk 1 \
|
| 148 |
+
--speculative-num-draft-tokens 4 \
|
| 149 |
+
--mem-fraction-static 0.8 \
|
| 150 |
+
--served-model-name glm-4.7-flash \
|
| 151 |
+
--host 0.0.0.0 \
|
| 152 |
+
--port 8000
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
## Citation
|
| 156 |
+
|
| 157 |
+
If you find our work useful in your research, please consider citing the following paper:
|
| 158 |
+
|
| 159 |
+
```bibtex
|
| 160 |
+
@misc{5team2025glm45agenticreasoningcoding,
|
| 161 |
+
title={GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models},
|
| 162 |
+
author={GLM Team and Aohan Zeng and Xin Lv and Qinkai Zheng and Zhenyu Hou and Bin Chen and Chengxing Xie and Cunxiang Wang and Da Yin and Hao Zeng and Jiajie Zhang and Kedong Wang and Lucen Zhong and Mingdao Liu and Rui Lu and Shulin Cao and Xiaohan Zhang and Xuancheng Huang and Yao Wei and Yean Cheng and Yifan An and Yilin Niu and Yuanhao Wen and Yushi Bai and Zhengxiao Du and Zihan Wang and Zilin Zhu and Bohan Zhang and Bosi Wen and Bowen Wu and Bowen Xu and Can Huang and Casey Zhao and Changpeng Cai and Chao Yu and Chen Li and Chendi Ge and Chenghua Huang and Chenhui Zhang and Chenxi Xu and Chenzheng Zhu and Chuang Li and Congfeng Yin and Daoyan Lin and Dayong Yang and Dazhi Jiang and Ding Ai and Erle Zhu and Fei Wang and Gengzheng Pan and Guo Wang and Hailong Sun and Haitao Li and Haiyang Li and Haiyi Hu and Hanyu Zhang and Hao Peng and Hao Tai and Haoke Zhang and Haoran Wang and Haoyu Yang and He Liu and He Zhao and Hongwei Liu and Hongxi Yan and Huan Liu and Huilong Chen and Ji Li and Jiajing Zhao and Jiamin Ren and Jian Jiao and Jiani Zhao and Jianyang Yan and Jiaqi Wang and Jiayi Gui and Jiayue Zhao and Jie Liu and Jijie Li and Jing Li and Jing Lu and Jingsen Wang and Jingwei Yuan and Jingxuan Li and Jingzhao Du and Jinhua Du and Jinxin Liu and Junkai Zhi and Junli Gao and Ke Wang and Lekang Yang and Liang Xu and Lin Fan and Lindong Wu and Lintao Ding and Lu Wang and Man Zhang and Minghao Li and Minghuan Xu and Mingming Zhao and Mingshu Zhai and Pengfan Du and Qian Dong and Shangde Lei and Shangqing Tu and Shangtong Yang and Shaoyou Lu and Shijie Li and Shuang Li and Shuang-Li and Shuxun Yang and Sibo Yi and Tianshu Yu and Wei Tian and Weihan Wang and Wenbo Yu and Weng Lam Tam and Wenjie Liang and Wentao Liu and Xiao Wang and Xiaohan Jia and Xiaotao Gu and Xiaoying Ling and Xin Wang and Xing Fan and Xingru Pan and Xinyuan Zhang and Xinze Zhang and Xiuqing Fu and Xunkai Zhang and Yabo Xu and Yandong Wu and Yida Lu and Yidong Wang and Yilin Zhou and Yiming Pan and Ying Zhang and Yingli Wang and Yingru Li and Yinpei Su and Yipeng Geng and Yitong Zhu and Yongkun Yang and Yuhang Li and Yuhao Wu and Yujiang Li and Yunan Liu and Yunqing Wang and Yuntao Li and Yuxuan Zhang and Zezhen Liu and Zhen Yang and Zhengda Zhou and Zhongpei Qiao and Zhuoer Feng and Zhuorui Liu and Zichen Zhang and Zihan Wang and Zijun Yao and Zikang Wang and Ziqiang Liu and Ziwei Chai and Zixuan Li and Zuodong Zhao and Wenguang Chen and Jidong Zhai and Bin Xu and Minlie Huang and Hongning Wang and Juanzi Li and Yuxiao Dong and Jie Tang},
|
| 163 |
+
year={2025},
|
| 164 |
+
eprint={2508.06471},
|
| 165 |
+
archivePrefix={arXiv},
|
| 166 |
+
primaryClass={cs.CL},
|
| 167 |
+
url={https://arxiv.org/abs/2508.06471},
|
| 168 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[gMASK]<sop>
|
| 2 |
+
{%- if tools -%}
|
| 3 |
+
<|system|>
|
| 4 |
+
# Tools
|
| 5 |
+
|
| 6 |
+
You may call one or more functions to assist with the user query.
|
| 7 |
+
|
| 8 |
+
You are provided with function signatures within <tools></tools> XML tags:
|
| 9 |
+
<tools>
|
| 10 |
+
{% for tool in tools %}
|
| 11 |
+
{{ tool | tojson(ensure_ascii=False) }}
|
| 12 |
+
{% endfor %}
|
| 13 |
+
</tools>
|
| 14 |
+
|
| 15 |
+
For each function call, output the function name and arguments within the following XML format:
|
| 16 |
+
<tool_call>{function-name}<arg_key>{arg-key-1}</arg_key><arg_value>{arg-value-1}</arg_value><arg_key>{arg-key-2}</arg_key><arg_value>{arg-value-2}</arg_value>...</tool_call>{%- endif -%}
|
| 17 |
+
{%- macro visible_text(content) -%}
|
| 18 |
+
{%- if content is string -%}
|
| 19 |
+
{{- content }}
|
| 20 |
+
{%- elif content is iterable and content is not mapping -%}
|
| 21 |
+
{%- for item in content -%}
|
| 22 |
+
{%- if item is mapping and item.type == 'text' -%}
|
| 23 |
+
{{- item.text }}
|
| 24 |
+
{%- elif item is string -%}
|
| 25 |
+
{{- item }}
|
| 26 |
+
{%- endif -%}
|
| 27 |
+
{%- endfor -%}
|
| 28 |
+
{%- else -%}
|
| 29 |
+
{{- content }}
|
| 30 |
+
{%- endif -%}
|
| 31 |
+
{%- endmacro -%}
|
| 32 |
+
{%- set ns = namespace(last_user_index=-1) %}
|
| 33 |
+
{%- for m in messages %}
|
| 34 |
+
{%- if m.role == 'user' %}
|
| 35 |
+
{% set ns.last_user_index = loop.index0 -%}
|
| 36 |
+
{%- endif %}
|
| 37 |
+
{%- endfor %}
|
| 38 |
+
{% for m in messages %}
|
| 39 |
+
{%- if m.role == 'user' -%}<|user|>{{ visible_text(m.content) }}
|
| 40 |
+
{%- elif m.role == 'assistant' -%}
|
| 41 |
+
<|assistant|>
|
| 42 |
+
{%- set reasoning_content = '' %}
|
| 43 |
+
{%- set content = visible_text(m.content) %}
|
| 44 |
+
{%- if m.reasoning_content is string %}
|
| 45 |
+
{%- set reasoning_content = m.reasoning_content %}
|
| 46 |
+
{%- else %}
|
| 47 |
+
{%- if '</think>' in content %}
|
| 48 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 49 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if ((clear_thinking is defined and not clear_thinking) or loop.index0 > ns.last_user_index) and reasoning_content -%}
|
| 53 |
+
{{ '<think>' + reasoning_content.strip() + '</think>'}}
|
| 54 |
+
{%- else -%}
|
| 55 |
+
{{ '</think>' }}
|
| 56 |
+
{%- endif -%}
|
| 57 |
+
{%- if content.strip() -%}
|
| 58 |
+
{{ content.strip() }}
|
| 59 |
+
{%- endif -%}
|
| 60 |
+
{% if m.tool_calls %}
|
| 61 |
+
{% for tc in m.tool_calls %}
|
| 62 |
+
{%- if tc.function %}
|
| 63 |
+
{%- set tc = tc.function %}
|
| 64 |
+
{%- endif %}
|
| 65 |
+
{{- '<tool_call>' + tc.name -}}
|
| 66 |
+
{% set _args = tc.arguments %}{% for k, v in _args.items() %}<arg_key>{{ k }}</arg_key><arg_value>{{ v | tojson(ensure_ascii=False) if v is not string else v }}</arg_value>{% endfor %}</tool_call>{% endfor %}
|
| 67 |
+
{% endif %}
|
| 68 |
+
{%- elif m.role == 'tool' -%}
|
| 69 |
+
{%- if m.content is string -%}
|
| 70 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 71 |
+
{{- '<|observation|>' }}
|
| 72 |
+
{%- endif %}
|
| 73 |
+
{{- '<tool_response>' }}
|
| 74 |
+
{{- m.content }}
|
| 75 |
+
{{- '</tool_response>' }}
|
| 76 |
+
{%- else -%}
|
| 77 |
+
<|observation|>{% for tr in m.content %}
|
| 78 |
+
<tool_response>{{ tr.output if tr.output is defined else tr }}</tool_response>{% endfor -%}
|
| 79 |
+
{% endif -%}
|
| 80 |
+
{%- elif m.role == 'system' -%}
|
| 81 |
+
<|system|>{{ visible_text(m.content) }}
|
| 82 |
+
{%- endif -%}
|
| 83 |
+
{%- endfor -%}
|
| 84 |
+
{%- if add_generation_prompt -%}
|
| 85 |
+
<|assistant|>{{- '</think>' if (enable_thinking is defined and not enable_thinking) else '<think>' -}}
|
| 86 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,755 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Glm4MoeLiteForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": [
|
| 10 |
+
154820,
|
| 11 |
+
154827,
|
| 12 |
+
154829
|
| 13 |
+
],
|
| 14 |
+
"first_k_dense_replace": 1,
|
| 15 |
+
"head_dim": 64,
|
| 16 |
+
"hidden_act": "silu",
|
| 17 |
+
"hidden_size": 2048,
|
| 18 |
+
"initializer_range": 0.02,
|
| 19 |
+
"intermediate_size": 10240,
|
| 20 |
+
"kv_lora_rank": 512,
|
| 21 |
+
"max_position_embeddings": 202752,
|
| 22 |
+
"mlp_layer_types": [
|
| 23 |
+
"dense",
|
| 24 |
+
"sparse",
|
| 25 |
+
"sparse",
|
| 26 |
+
"sparse",
|
| 27 |
+
"sparse",
|
| 28 |
+
"sparse",
|
| 29 |
+
"sparse",
|
| 30 |
+
"sparse",
|
| 31 |
+
"sparse",
|
| 32 |
+
"sparse",
|
| 33 |
+
"sparse",
|
| 34 |
+
"sparse",
|
| 35 |
+
"sparse",
|
| 36 |
+
"sparse",
|
| 37 |
+
"sparse",
|
| 38 |
+
"sparse",
|
| 39 |
+
"sparse",
|
| 40 |
+
"sparse",
|
| 41 |
+
"sparse",
|
| 42 |
+
"sparse",
|
| 43 |
+
"sparse",
|
| 44 |
+
"sparse",
|
| 45 |
+
"sparse",
|
| 46 |
+
"sparse",
|
| 47 |
+
"sparse",
|
| 48 |
+
"sparse",
|
| 49 |
+
"sparse",
|
| 50 |
+
"sparse",
|
| 51 |
+
"sparse",
|
| 52 |
+
"sparse",
|
| 53 |
+
"sparse",
|
| 54 |
+
"sparse",
|
| 55 |
+
"sparse",
|
| 56 |
+
"sparse",
|
| 57 |
+
"sparse",
|
| 58 |
+
"sparse",
|
| 59 |
+
"sparse",
|
| 60 |
+
"sparse",
|
| 61 |
+
"sparse",
|
| 62 |
+
"sparse",
|
| 63 |
+
"sparse",
|
| 64 |
+
"sparse",
|
| 65 |
+
"sparse",
|
| 66 |
+
"sparse",
|
| 67 |
+
"sparse",
|
| 68 |
+
"sparse",
|
| 69 |
+
"sparse"
|
| 70 |
+
],
|
| 71 |
+
"model_type": "glm4_moe_lite",
|
| 72 |
+
"moe_intermediate_size": 1536,
|
| 73 |
+
"n_group": 1,
|
| 74 |
+
"n_routed_experts": 64,
|
| 75 |
+
"n_shared_experts": 1,
|
| 76 |
+
"norm_topk_prob": true,
|
| 77 |
+
"num_attention_heads": 20,
|
| 78 |
+
"num_experts_per_tok": 4,
|
| 79 |
+
"num_hidden_layers": 47,
|
| 80 |
+
"num_key_value_heads": 20,
|
| 81 |
+
"num_nextn_predict_layers": 1,
|
| 82 |
+
"pad_token_id": 154820,
|
| 83 |
+
"partial_rotary_factor": 1.0,
|
| 84 |
+
"pretraining_tp": 1,
|
| 85 |
+
"q_lora_rank": 768,
|
| 86 |
+
"qk_head_dim": 256,
|
| 87 |
+
"qk_nope_head_dim": 192,
|
| 88 |
+
"qk_rope_head_dim": 64,
|
| 89 |
+
"quantization_config": {
|
| 90 |
+
"config_groups": {
|
| 91 |
+
"group_0": {
|
| 92 |
+
"format": "float-quantized",
|
| 93 |
+
"input_activations": {
|
| 94 |
+
"actorder": null,
|
| 95 |
+
"block_structure": null,
|
| 96 |
+
"dynamic": true,
|
| 97 |
+
"group_size": null,
|
| 98 |
+
"num_bits": 8,
|
| 99 |
+
"observer": null,
|
| 100 |
+
"observer_kwargs": {},
|
| 101 |
+
"scale_dtype": null,
|
| 102 |
+
"strategy": "token",
|
| 103 |
+
"symmetric": true,
|
| 104 |
+
"type": "float",
|
| 105 |
+
"zp_dtype": null
|
| 106 |
+
},
|
| 107 |
+
"output_activations": null,
|
| 108 |
+
"targets": [
|
| 109 |
+
"Linear"
|
| 110 |
+
],
|
| 111 |
+
"weights": {
|
| 112 |
+
"actorder": null,
|
| 113 |
+
"block_structure": null,
|
| 114 |
+
"dynamic": false,
|
| 115 |
+
"group_size": null,
|
| 116 |
+
"num_bits": 8,
|
| 117 |
+
"observer": "minmax",
|
| 118 |
+
"observer_kwargs": {},
|
| 119 |
+
"scale_dtype": null,
|
| 120 |
+
"strategy": "channel",
|
| 121 |
+
"symmetric": true,
|
| 122 |
+
"type": "float",
|
| 123 |
+
"zp_dtype": null
|
| 124 |
+
}
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"format": "float-quantized",
|
| 128 |
+
"global_compression_ratio": null,
|
| 129 |
+
"ignore": [
|
| 130 |
+
"model.layers.1.self_attn.q_a_proj",
|
| 131 |
+
"model.layers.1.self_attn.q_b_proj",
|
| 132 |
+
"model.layers.1.self_attn.kv_a_proj_with_mqa",
|
| 133 |
+
"model.layers.1.self_attn.kv_b_proj",
|
| 134 |
+
"model.layers.1.self_attn.o_proj",
|
| 135 |
+
"model.layers.1.mlp.experts.0.gate_proj",
|
| 136 |
+
"model.layers.1.mlp.experts.0.up_proj",
|
| 137 |
+
"model.layers.1.mlp.experts.0.down_proj",
|
| 138 |
+
"model.layers.1.mlp.experts.1.gate_proj",
|
| 139 |
+
"model.layers.1.mlp.experts.1.up_proj",
|
| 140 |
+
"model.layers.1.mlp.experts.1.down_proj",
|
| 141 |
+
"model.layers.1.mlp.experts.2.gate_proj",
|
| 142 |
+
"model.layers.1.mlp.experts.2.up_proj",
|
| 143 |
+
"model.layers.1.mlp.experts.2.down_proj",
|
| 144 |
+
"model.layers.1.mlp.experts.3.gate_proj",
|
| 145 |
+
"model.layers.1.mlp.experts.3.up_proj",
|
| 146 |
+
"model.layers.1.mlp.experts.3.down_proj",
|
| 147 |
+
"model.layers.1.mlp.experts.4.gate_proj",
|
| 148 |
+
"model.layers.1.mlp.experts.4.up_proj",
|
| 149 |
+
"model.layers.1.mlp.experts.4.down_proj",
|
| 150 |
+
"model.layers.1.mlp.experts.5.gate_proj",
|
| 151 |
+
"model.layers.1.mlp.experts.5.up_proj",
|
| 152 |
+
"model.layers.1.mlp.experts.5.down_proj",
|
| 153 |
+
"model.layers.1.mlp.experts.6.gate_proj",
|
| 154 |
+
"model.layers.1.mlp.experts.6.up_proj",
|
| 155 |
+
"model.layers.1.mlp.experts.6.down_proj",
|
| 156 |
+
"model.layers.1.mlp.experts.7.gate_proj",
|
| 157 |
+
"model.layers.1.mlp.experts.7.up_proj",
|
| 158 |
+
"model.layers.1.mlp.experts.7.down_proj",
|
| 159 |
+
"model.layers.1.mlp.experts.8.gate_proj",
|
| 160 |
+
"model.layers.1.mlp.experts.8.up_proj",
|
| 161 |
+
"model.layers.1.mlp.experts.8.down_proj",
|
| 162 |
+
"model.layers.1.mlp.experts.9.gate_proj",
|
| 163 |
+
"model.layers.1.mlp.experts.9.up_proj",
|
| 164 |
+
"model.layers.1.mlp.experts.9.down_proj",
|
| 165 |
+
"model.layers.1.mlp.experts.10.gate_proj",
|
| 166 |
+
"model.layers.1.mlp.experts.10.up_proj",
|
| 167 |
+
"model.layers.1.mlp.experts.10.down_proj",
|
| 168 |
+
"model.layers.1.mlp.experts.11.gate_proj",
|
| 169 |
+
"model.layers.1.mlp.experts.11.up_proj",
|
| 170 |
+
"model.layers.1.mlp.experts.11.down_proj",
|
| 171 |
+
"model.layers.1.mlp.experts.12.gate_proj",
|
| 172 |
+
"model.layers.1.mlp.experts.12.up_proj",
|
| 173 |
+
"model.layers.1.mlp.experts.12.down_proj",
|
| 174 |
+
"model.layers.1.mlp.experts.13.gate_proj",
|
| 175 |
+
"model.layers.1.mlp.experts.13.up_proj",
|
| 176 |
+
"model.layers.1.mlp.experts.13.down_proj",
|
| 177 |
+
"model.layers.1.mlp.experts.14.gate_proj",
|
| 178 |
+
"model.layers.1.mlp.experts.14.up_proj",
|
| 179 |
+
"model.layers.1.mlp.experts.14.down_proj",
|
| 180 |
+
"model.layers.1.mlp.experts.15.gate_proj",
|
| 181 |
+
"model.layers.1.mlp.experts.15.up_proj",
|
| 182 |
+
"model.layers.1.mlp.experts.15.down_proj",
|
| 183 |
+
"model.layers.1.mlp.experts.16.gate_proj",
|
| 184 |
+
"model.layers.1.mlp.experts.16.up_proj",
|
| 185 |
+
"model.layers.1.mlp.experts.16.down_proj",
|
| 186 |
+
"model.layers.1.mlp.experts.17.gate_proj",
|
| 187 |
+
"model.layers.1.mlp.experts.17.up_proj",
|
| 188 |
+
"model.layers.1.mlp.experts.17.down_proj",
|
| 189 |
+
"model.layers.1.mlp.experts.18.gate_proj",
|
| 190 |
+
"model.layers.1.mlp.experts.18.up_proj",
|
| 191 |
+
"model.layers.1.mlp.experts.18.down_proj",
|
| 192 |
+
"model.layers.1.mlp.experts.19.gate_proj",
|
| 193 |
+
"model.layers.1.mlp.experts.19.up_proj",
|
| 194 |
+
"model.layers.1.mlp.experts.19.down_proj",
|
| 195 |
+
"model.layers.1.mlp.experts.20.gate_proj",
|
| 196 |
+
"model.layers.1.mlp.experts.20.up_proj",
|
| 197 |
+
"model.layers.1.mlp.experts.20.down_proj",
|
| 198 |
+
"model.layers.1.mlp.experts.21.gate_proj",
|
| 199 |
+
"model.layers.1.mlp.experts.21.up_proj",
|
| 200 |
+
"model.layers.1.mlp.experts.21.down_proj",
|
| 201 |
+
"model.layers.1.mlp.experts.22.gate_proj",
|
| 202 |
+
"model.layers.1.mlp.experts.22.up_proj",
|
| 203 |
+
"model.layers.1.mlp.experts.22.down_proj",
|
| 204 |
+
"model.layers.1.mlp.experts.23.gate_proj",
|
| 205 |
+
"model.layers.1.mlp.experts.23.up_proj",
|
| 206 |
+
"model.layers.1.mlp.experts.23.down_proj",
|
| 207 |
+
"model.layers.1.mlp.experts.24.gate_proj",
|
| 208 |
+
"model.layers.1.mlp.experts.24.up_proj",
|
| 209 |
+
"model.layers.1.mlp.experts.24.down_proj",
|
| 210 |
+
"model.layers.1.mlp.experts.25.gate_proj",
|
| 211 |
+
"model.layers.1.mlp.experts.25.up_proj",
|
| 212 |
+
"model.layers.1.mlp.experts.25.down_proj",
|
| 213 |
+
"model.layers.1.mlp.experts.26.gate_proj",
|
| 214 |
+
"model.layers.1.mlp.experts.26.up_proj",
|
| 215 |
+
"model.layers.1.mlp.experts.26.down_proj",
|
| 216 |
+
"model.layers.1.mlp.experts.27.gate_proj",
|
| 217 |
+
"model.layers.1.mlp.experts.27.up_proj",
|
| 218 |
+
"model.layers.1.mlp.experts.27.down_proj",
|
| 219 |
+
"model.layers.1.mlp.experts.28.gate_proj",
|
| 220 |
+
"model.layers.1.mlp.experts.28.up_proj",
|
| 221 |
+
"model.layers.1.mlp.experts.28.down_proj",
|
| 222 |
+
"model.layers.1.mlp.experts.29.gate_proj",
|
| 223 |
+
"model.layers.1.mlp.experts.29.up_proj",
|
| 224 |
+
"model.layers.1.mlp.experts.29.down_proj",
|
| 225 |
+
"model.layers.1.mlp.experts.30.gate_proj",
|
| 226 |
+
"model.layers.1.mlp.experts.30.up_proj",
|
| 227 |
+
"model.layers.1.mlp.experts.30.down_proj",
|
| 228 |
+
"model.layers.1.mlp.experts.31.gate_proj",
|
| 229 |
+
"model.layers.1.mlp.experts.31.up_proj",
|
| 230 |
+
"model.layers.1.mlp.experts.31.down_proj",
|
| 231 |
+
"model.layers.1.mlp.experts.32.gate_proj",
|
| 232 |
+
"model.layers.1.mlp.experts.32.up_proj",
|
| 233 |
+
"model.layers.1.mlp.experts.32.down_proj",
|
| 234 |
+
"model.layers.1.mlp.experts.33.gate_proj",
|
| 235 |
+
"model.layers.1.mlp.experts.33.up_proj",
|
| 236 |
+
"model.layers.1.mlp.experts.33.down_proj",
|
| 237 |
+
"model.layers.1.mlp.experts.34.gate_proj",
|
| 238 |
+
"model.layers.1.mlp.experts.34.up_proj",
|
| 239 |
+
"model.layers.1.mlp.experts.34.down_proj",
|
| 240 |
+
"model.layers.1.mlp.experts.35.gate_proj",
|
| 241 |
+
"model.layers.1.mlp.experts.35.up_proj",
|
| 242 |
+
"model.layers.1.mlp.experts.35.down_proj",
|
| 243 |
+
"model.layers.1.mlp.experts.36.gate_proj",
|
| 244 |
+
"model.layers.1.mlp.experts.36.up_proj",
|
| 245 |
+
"model.layers.1.mlp.experts.36.down_proj",
|
| 246 |
+
"model.layers.1.mlp.experts.37.gate_proj",
|
| 247 |
+
"model.layers.1.mlp.experts.37.up_proj",
|
| 248 |
+
"model.layers.1.mlp.experts.37.down_proj",
|
| 249 |
+
"model.layers.1.mlp.experts.38.gate_proj",
|
| 250 |
+
"model.layers.1.mlp.experts.38.up_proj",
|
| 251 |
+
"model.layers.1.mlp.experts.38.down_proj",
|
| 252 |
+
"model.layers.1.mlp.experts.39.gate_proj",
|
| 253 |
+
"model.layers.1.mlp.experts.39.up_proj",
|
| 254 |
+
"model.layers.1.mlp.experts.39.down_proj",
|
| 255 |
+
"model.layers.1.mlp.experts.40.gate_proj",
|
| 256 |
+
"model.layers.1.mlp.experts.40.up_proj",
|
| 257 |
+
"model.layers.1.mlp.experts.40.down_proj",
|
| 258 |
+
"model.layers.1.mlp.experts.41.gate_proj",
|
| 259 |
+
"model.layers.1.mlp.experts.41.up_proj",
|
| 260 |
+
"model.layers.1.mlp.experts.41.down_proj",
|
| 261 |
+
"model.layers.1.mlp.experts.42.gate_proj",
|
| 262 |
+
"model.layers.1.mlp.experts.42.up_proj",
|
| 263 |
+
"model.layers.1.mlp.experts.42.down_proj",
|
| 264 |
+
"model.layers.1.mlp.experts.43.gate_proj",
|
| 265 |
+
"model.layers.1.mlp.experts.43.up_proj",
|
| 266 |
+
"model.layers.1.mlp.experts.43.down_proj",
|
| 267 |
+
"model.layers.1.mlp.experts.44.gate_proj",
|
| 268 |
+
"model.layers.1.mlp.experts.44.up_proj",
|
| 269 |
+
"model.layers.1.mlp.experts.44.down_proj",
|
| 270 |
+
"model.layers.1.mlp.experts.45.gate_proj",
|
| 271 |
+
"model.layers.1.mlp.experts.45.up_proj",
|
| 272 |
+
"model.layers.1.mlp.experts.45.down_proj",
|
| 273 |
+
"model.layers.1.mlp.experts.46.gate_proj",
|
| 274 |
+
"model.layers.1.mlp.experts.46.up_proj",
|
| 275 |
+
"model.layers.1.mlp.experts.46.down_proj",
|
| 276 |
+
"model.layers.1.mlp.experts.47.gate_proj",
|
| 277 |
+
"model.layers.1.mlp.experts.47.up_proj",
|
| 278 |
+
"model.layers.1.mlp.experts.47.down_proj",
|
| 279 |
+
"model.layers.1.mlp.experts.48.gate_proj",
|
| 280 |
+
"model.layers.1.mlp.experts.48.up_proj",
|
| 281 |
+
"model.layers.1.mlp.experts.48.down_proj",
|
| 282 |
+
"model.layers.1.mlp.experts.49.gate_proj",
|
| 283 |
+
"model.layers.1.mlp.experts.49.up_proj",
|
| 284 |
+
"model.layers.1.mlp.experts.49.down_proj",
|
| 285 |
+
"model.layers.1.mlp.experts.50.gate_proj",
|
| 286 |
+
"model.layers.1.mlp.experts.50.up_proj",
|
| 287 |
+
"model.layers.1.mlp.experts.50.down_proj",
|
| 288 |
+
"model.layers.1.mlp.experts.51.gate_proj",
|
| 289 |
+
"model.layers.1.mlp.experts.51.up_proj",
|
| 290 |
+
"model.layers.1.mlp.experts.51.down_proj",
|
| 291 |
+
"model.layers.1.mlp.experts.52.gate_proj",
|
| 292 |
+
"model.layers.1.mlp.experts.52.up_proj",
|
| 293 |
+
"model.layers.1.mlp.experts.52.down_proj",
|
| 294 |
+
"model.layers.1.mlp.experts.53.gate_proj",
|
| 295 |
+
"model.layers.1.mlp.experts.53.up_proj",
|
| 296 |
+
"model.layers.1.mlp.experts.53.down_proj",
|
| 297 |
+
"model.layers.1.mlp.experts.54.gate_proj",
|
| 298 |
+
"model.layers.1.mlp.experts.54.up_proj",
|
| 299 |
+
"model.layers.1.mlp.experts.54.down_proj",
|
| 300 |
+
"model.layers.1.mlp.experts.55.gate_proj",
|
| 301 |
+
"model.layers.1.mlp.experts.55.up_proj",
|
| 302 |
+
"model.layers.1.mlp.experts.55.down_proj",
|
| 303 |
+
"model.layers.1.mlp.experts.56.gate_proj",
|
| 304 |
+
"model.layers.1.mlp.experts.56.up_proj",
|
| 305 |
+
"model.layers.1.mlp.experts.56.down_proj",
|
| 306 |
+
"model.layers.1.mlp.experts.57.gate_proj",
|
| 307 |
+
"model.layers.1.mlp.experts.57.up_proj",
|
| 308 |
+
"model.layers.1.mlp.experts.57.down_proj",
|
| 309 |
+
"model.layers.1.mlp.experts.58.gate_proj",
|
| 310 |
+
"model.layers.1.mlp.experts.58.up_proj",
|
| 311 |
+
"model.layers.1.mlp.experts.58.down_proj",
|
| 312 |
+
"model.layers.1.mlp.experts.59.gate_proj",
|
| 313 |
+
"model.layers.1.mlp.experts.59.up_proj",
|
| 314 |
+
"model.layers.1.mlp.experts.59.down_proj",
|
| 315 |
+
"model.layers.1.mlp.experts.60.gate_proj",
|
| 316 |
+
"model.layers.1.mlp.experts.60.up_proj",
|
| 317 |
+
"model.layers.1.mlp.experts.60.down_proj",
|
| 318 |
+
"model.layers.1.mlp.experts.61.gate_proj",
|
| 319 |
+
"model.layers.1.mlp.experts.61.up_proj",
|
| 320 |
+
"model.layers.1.mlp.experts.61.down_proj",
|
| 321 |
+
"model.layers.1.mlp.experts.62.gate_proj",
|
| 322 |
+
"model.layers.1.mlp.experts.62.up_proj",
|
| 323 |
+
"model.layers.1.mlp.experts.62.down_proj",
|
| 324 |
+
"model.layers.1.mlp.experts.63.gate_proj",
|
| 325 |
+
"model.layers.1.mlp.experts.63.up_proj",
|
| 326 |
+
"model.layers.1.mlp.experts.63.down_proj",
|
| 327 |
+
"model.layers.1.mlp.shared_experts.gate_proj",
|
| 328 |
+
"model.layers.1.mlp.shared_experts.up_proj",
|
| 329 |
+
"model.layers.1.mlp.shared_experts.down_proj",
|
| 330 |
+
"model.layers.39.self_attn.q_a_proj",
|
| 331 |
+
"model.layers.39.self_attn.q_b_proj",
|
| 332 |
+
"model.layers.39.self_attn.kv_a_proj_with_mqa",
|
| 333 |
+
"model.layers.39.self_attn.kv_b_proj",
|
| 334 |
+
"model.layers.39.self_attn.o_proj",
|
| 335 |
+
"model.layers.39.mlp.experts.0.gate_proj",
|
| 336 |
+
"model.layers.39.mlp.experts.0.up_proj",
|
| 337 |
+
"model.layers.39.mlp.experts.0.down_proj",
|
| 338 |
+
"model.layers.39.mlp.experts.1.gate_proj",
|
| 339 |
+
"model.layers.39.mlp.experts.1.up_proj",
|
| 340 |
+
"model.layers.39.mlp.experts.1.down_proj",
|
| 341 |
+
"model.layers.39.mlp.experts.2.gate_proj",
|
| 342 |
+
"model.layers.39.mlp.experts.2.up_proj",
|
| 343 |
+
"model.layers.39.mlp.experts.2.down_proj",
|
| 344 |
+
"model.layers.39.mlp.experts.3.gate_proj",
|
| 345 |
+
"model.layers.39.mlp.experts.3.up_proj",
|
| 346 |
+
"model.layers.39.mlp.experts.3.down_proj",
|
| 347 |
+
"model.layers.39.mlp.experts.4.gate_proj",
|
| 348 |
+
"model.layers.39.mlp.experts.4.up_proj",
|
| 349 |
+
"model.layers.39.mlp.experts.4.down_proj",
|
| 350 |
+
"model.layers.39.mlp.experts.5.gate_proj",
|
| 351 |
+
"model.layers.39.mlp.experts.5.up_proj",
|
| 352 |
+
"model.layers.39.mlp.experts.5.down_proj",
|
| 353 |
+
"model.layers.39.mlp.experts.6.gate_proj",
|
| 354 |
+
"model.layers.39.mlp.experts.6.up_proj",
|
| 355 |
+
"model.layers.39.mlp.experts.6.down_proj",
|
| 356 |
+
"model.layers.39.mlp.experts.7.gate_proj",
|
| 357 |
+
"model.layers.39.mlp.experts.7.up_proj",
|
| 358 |
+
"model.layers.39.mlp.experts.7.down_proj",
|
| 359 |
+
"model.layers.39.mlp.experts.8.gate_proj",
|
| 360 |
+
"model.layers.39.mlp.experts.8.up_proj",
|
| 361 |
+
"model.layers.39.mlp.experts.8.down_proj",
|
| 362 |
+
"model.layers.39.mlp.experts.9.gate_proj",
|
| 363 |
+
"model.layers.39.mlp.experts.9.up_proj",
|
| 364 |
+
"model.layers.39.mlp.experts.9.down_proj",
|
| 365 |
+
"model.layers.39.mlp.experts.10.gate_proj",
|
| 366 |
+
"model.layers.39.mlp.experts.10.up_proj",
|
| 367 |
+
"model.layers.39.mlp.experts.10.down_proj",
|
| 368 |
+
"model.layers.39.mlp.experts.11.gate_proj",
|
| 369 |
+
"model.layers.39.mlp.experts.11.up_proj",
|
| 370 |
+
"model.layers.39.mlp.experts.11.down_proj",
|
| 371 |
+
"model.layers.39.mlp.experts.12.gate_proj",
|
| 372 |
+
"model.layers.39.mlp.experts.12.up_proj",
|
| 373 |
+
"model.layers.39.mlp.experts.12.down_proj",
|
| 374 |
+
"model.layers.39.mlp.experts.13.gate_proj",
|
| 375 |
+
"model.layers.39.mlp.experts.13.up_proj",
|
| 376 |
+
"model.layers.39.mlp.experts.13.down_proj",
|
| 377 |
+
"model.layers.39.mlp.experts.14.gate_proj",
|
| 378 |
+
"model.layers.39.mlp.experts.14.up_proj",
|
| 379 |
+
"model.layers.39.mlp.experts.14.down_proj",
|
| 380 |
+
"model.layers.39.mlp.experts.15.gate_proj",
|
| 381 |
+
"model.layers.39.mlp.experts.15.up_proj",
|
| 382 |
+
"model.layers.39.mlp.experts.15.down_proj",
|
| 383 |
+
"model.layers.39.mlp.experts.16.gate_proj",
|
| 384 |
+
"model.layers.39.mlp.experts.16.up_proj",
|
| 385 |
+
"model.layers.39.mlp.experts.16.down_proj",
|
| 386 |
+
"model.layers.39.mlp.experts.17.gate_proj",
|
| 387 |
+
"model.layers.39.mlp.experts.17.up_proj",
|
| 388 |
+
"model.layers.39.mlp.experts.17.down_proj",
|
| 389 |
+
"model.layers.39.mlp.experts.18.gate_proj",
|
| 390 |
+
"model.layers.39.mlp.experts.18.up_proj",
|
| 391 |
+
"model.layers.39.mlp.experts.18.down_proj",
|
| 392 |
+
"model.layers.39.mlp.experts.19.gate_proj",
|
| 393 |
+
"model.layers.39.mlp.experts.19.up_proj",
|
| 394 |
+
"model.layers.39.mlp.experts.19.down_proj",
|
| 395 |
+
"model.layers.39.mlp.experts.20.gate_proj",
|
| 396 |
+
"model.layers.39.mlp.experts.20.up_proj",
|
| 397 |
+
"model.layers.39.mlp.experts.20.down_proj",
|
| 398 |
+
"model.layers.39.mlp.experts.21.gate_proj",
|
| 399 |
+
"model.layers.39.mlp.experts.21.up_proj",
|
| 400 |
+
"model.layers.39.mlp.experts.21.down_proj",
|
| 401 |
+
"model.layers.39.mlp.experts.22.gate_proj",
|
| 402 |
+
"model.layers.39.mlp.experts.22.up_proj",
|
| 403 |
+
"model.layers.39.mlp.experts.22.down_proj",
|
| 404 |
+
"model.layers.39.mlp.experts.23.gate_proj",
|
| 405 |
+
"model.layers.39.mlp.experts.23.up_proj",
|
| 406 |
+
"model.layers.39.mlp.experts.23.down_proj",
|
| 407 |
+
"model.layers.39.mlp.experts.24.gate_proj",
|
| 408 |
+
"model.layers.39.mlp.experts.24.up_proj",
|
| 409 |
+
"model.layers.39.mlp.experts.24.down_proj",
|
| 410 |
+
"model.layers.39.mlp.experts.25.gate_proj",
|
| 411 |
+
"model.layers.39.mlp.experts.25.up_proj",
|
| 412 |
+
"model.layers.39.mlp.experts.25.down_proj",
|
| 413 |
+
"model.layers.39.mlp.experts.26.gate_proj",
|
| 414 |
+
"model.layers.39.mlp.experts.26.up_proj",
|
| 415 |
+
"model.layers.39.mlp.experts.26.down_proj",
|
| 416 |
+
"model.layers.39.mlp.experts.27.gate_proj",
|
| 417 |
+
"model.layers.39.mlp.experts.27.up_proj",
|
| 418 |
+
"model.layers.39.mlp.experts.27.down_proj",
|
| 419 |
+
"model.layers.39.mlp.experts.28.gate_proj",
|
| 420 |
+
"model.layers.39.mlp.experts.28.up_proj",
|
| 421 |
+
"model.layers.39.mlp.experts.28.down_proj",
|
| 422 |
+
"model.layers.39.mlp.experts.29.gate_proj",
|
| 423 |
+
"model.layers.39.mlp.experts.29.up_proj",
|
| 424 |
+
"model.layers.39.mlp.experts.29.down_proj",
|
| 425 |
+
"model.layers.39.mlp.experts.30.gate_proj",
|
| 426 |
+
"model.layers.39.mlp.experts.30.up_proj",
|
| 427 |
+
"model.layers.39.mlp.experts.30.down_proj",
|
| 428 |
+
"model.layers.39.mlp.experts.31.gate_proj",
|
| 429 |
+
"model.layers.39.mlp.experts.31.up_proj",
|
| 430 |
+
"model.layers.39.mlp.experts.31.down_proj",
|
| 431 |
+
"model.layers.39.mlp.experts.32.gate_proj",
|
| 432 |
+
"model.layers.39.mlp.experts.32.up_proj",
|
| 433 |
+
"model.layers.39.mlp.experts.32.down_proj",
|
| 434 |
+
"model.layers.39.mlp.experts.33.gate_proj",
|
| 435 |
+
"model.layers.39.mlp.experts.33.up_proj",
|
| 436 |
+
"model.layers.39.mlp.experts.33.down_proj",
|
| 437 |
+
"model.layers.39.mlp.experts.34.gate_proj",
|
| 438 |
+
"model.layers.39.mlp.experts.34.up_proj",
|
| 439 |
+
"model.layers.39.mlp.experts.34.down_proj",
|
| 440 |
+
"model.layers.39.mlp.experts.35.gate_proj",
|
| 441 |
+
"model.layers.39.mlp.experts.35.up_proj",
|
| 442 |
+
"model.layers.39.mlp.experts.35.down_proj",
|
| 443 |
+
"model.layers.39.mlp.experts.36.gate_proj",
|
| 444 |
+
"model.layers.39.mlp.experts.36.up_proj",
|
| 445 |
+
"model.layers.39.mlp.experts.36.down_proj",
|
| 446 |
+
"model.layers.39.mlp.experts.37.gate_proj",
|
| 447 |
+
"model.layers.39.mlp.experts.37.up_proj",
|
| 448 |
+
"model.layers.39.mlp.experts.37.down_proj",
|
| 449 |
+
"model.layers.39.mlp.experts.38.gate_proj",
|
| 450 |
+
"model.layers.39.mlp.experts.38.up_proj",
|
| 451 |
+
"model.layers.39.mlp.experts.38.down_proj",
|
| 452 |
+
"model.layers.39.mlp.experts.39.gate_proj",
|
| 453 |
+
"model.layers.39.mlp.experts.39.up_proj",
|
| 454 |
+
"model.layers.39.mlp.experts.39.down_proj",
|
| 455 |
+
"model.layers.39.mlp.experts.40.gate_proj",
|
| 456 |
+
"model.layers.39.mlp.experts.40.up_proj",
|
| 457 |
+
"model.layers.39.mlp.experts.40.down_proj",
|
| 458 |
+
"model.layers.39.mlp.experts.41.gate_proj",
|
| 459 |
+
"model.layers.39.mlp.experts.41.up_proj",
|
| 460 |
+
"model.layers.39.mlp.experts.41.down_proj",
|
| 461 |
+
"model.layers.39.mlp.experts.42.gate_proj",
|
| 462 |
+
"model.layers.39.mlp.experts.42.up_proj",
|
| 463 |
+
"model.layers.39.mlp.experts.42.down_proj",
|
| 464 |
+
"model.layers.39.mlp.experts.43.gate_proj",
|
| 465 |
+
"model.layers.39.mlp.experts.43.up_proj",
|
| 466 |
+
"model.layers.39.mlp.experts.43.down_proj",
|
| 467 |
+
"model.layers.39.mlp.experts.44.gate_proj",
|
| 468 |
+
"model.layers.39.mlp.experts.44.up_proj",
|
| 469 |
+
"model.layers.39.mlp.experts.44.down_proj",
|
| 470 |
+
"model.layers.39.mlp.experts.45.gate_proj",
|
| 471 |
+
"model.layers.39.mlp.experts.45.up_proj",
|
| 472 |
+
"model.layers.39.mlp.experts.45.down_proj",
|
| 473 |
+
"model.layers.39.mlp.experts.46.gate_proj",
|
| 474 |
+
"model.layers.39.mlp.experts.46.up_proj",
|
| 475 |
+
"model.layers.39.mlp.experts.46.down_proj",
|
| 476 |
+
"model.layers.39.mlp.experts.47.gate_proj",
|
| 477 |
+
"model.layers.39.mlp.experts.47.up_proj",
|
| 478 |
+
"model.layers.39.mlp.experts.47.down_proj",
|
| 479 |
+
"model.layers.39.mlp.experts.48.gate_proj",
|
| 480 |
+
"model.layers.39.mlp.experts.48.up_proj",
|
| 481 |
+
"model.layers.39.mlp.experts.48.down_proj",
|
| 482 |
+
"model.layers.39.mlp.experts.49.gate_proj",
|
| 483 |
+
"model.layers.39.mlp.experts.49.up_proj",
|
| 484 |
+
"model.layers.39.mlp.experts.49.down_proj",
|
| 485 |
+
"model.layers.39.mlp.experts.50.gate_proj",
|
| 486 |
+
"model.layers.39.mlp.experts.50.up_proj",
|
| 487 |
+
"model.layers.39.mlp.experts.50.down_proj",
|
| 488 |
+
"model.layers.39.mlp.experts.51.gate_proj",
|
| 489 |
+
"model.layers.39.mlp.experts.51.up_proj",
|
| 490 |
+
"model.layers.39.mlp.experts.51.down_proj",
|
| 491 |
+
"model.layers.39.mlp.experts.52.gate_proj",
|
| 492 |
+
"model.layers.39.mlp.experts.52.up_proj",
|
| 493 |
+
"model.layers.39.mlp.experts.52.down_proj",
|
| 494 |
+
"model.layers.39.mlp.experts.53.gate_proj",
|
| 495 |
+
"model.layers.39.mlp.experts.53.up_proj",
|
| 496 |
+
"model.layers.39.mlp.experts.53.down_proj",
|
| 497 |
+
"model.layers.39.mlp.experts.54.gate_proj",
|
| 498 |
+
"model.layers.39.mlp.experts.54.up_proj",
|
| 499 |
+
"model.layers.39.mlp.experts.54.down_proj",
|
| 500 |
+
"model.layers.39.mlp.experts.55.gate_proj",
|
| 501 |
+
"model.layers.39.mlp.experts.55.up_proj",
|
| 502 |
+
"model.layers.39.mlp.experts.55.down_proj",
|
| 503 |
+
"model.layers.39.mlp.experts.56.gate_proj",
|
| 504 |
+
"model.layers.39.mlp.experts.56.up_proj",
|
| 505 |
+
"model.layers.39.mlp.experts.56.down_proj",
|
| 506 |
+
"model.layers.39.mlp.experts.57.gate_proj",
|
| 507 |
+
"model.layers.39.mlp.experts.57.up_proj",
|
| 508 |
+
"model.layers.39.mlp.experts.57.down_proj",
|
| 509 |
+
"model.layers.39.mlp.experts.58.gate_proj",
|
| 510 |
+
"model.layers.39.mlp.experts.58.up_proj",
|
| 511 |
+
"model.layers.39.mlp.experts.58.down_proj",
|
| 512 |
+
"model.layers.39.mlp.experts.59.gate_proj",
|
| 513 |
+
"model.layers.39.mlp.experts.59.up_proj",
|
| 514 |
+
"model.layers.39.mlp.experts.59.down_proj",
|
| 515 |
+
"model.layers.39.mlp.experts.60.gate_proj",
|
| 516 |
+
"model.layers.39.mlp.experts.60.up_proj",
|
| 517 |
+
"model.layers.39.mlp.experts.60.down_proj",
|
| 518 |
+
"model.layers.39.mlp.experts.61.gate_proj",
|
| 519 |
+
"model.layers.39.mlp.experts.61.up_proj",
|
| 520 |
+
"model.layers.39.mlp.experts.61.down_proj",
|
| 521 |
+
"model.layers.39.mlp.experts.62.gate_proj",
|
| 522 |
+
"model.layers.39.mlp.experts.62.up_proj",
|
| 523 |
+
"model.layers.39.mlp.experts.62.down_proj",
|
| 524 |
+
"model.layers.39.mlp.experts.63.gate_proj",
|
| 525 |
+
"model.layers.39.mlp.experts.63.up_proj",
|
| 526 |
+
"model.layers.39.mlp.experts.63.down_proj",
|
| 527 |
+
"model.layers.39.mlp.shared_experts.gate_proj",
|
| 528 |
+
"model.layers.39.mlp.shared_experts.up_proj",
|
| 529 |
+
"model.layers.39.mlp.shared_experts.down_proj",
|
| 530 |
+
"model.layers.46.self_attn.q_a_proj",
|
| 531 |
+
"model.layers.46.self_attn.q_b_proj",
|
| 532 |
+
"model.layers.46.self_attn.kv_a_proj_with_mqa",
|
| 533 |
+
"model.layers.46.self_attn.kv_b_proj",
|
| 534 |
+
"model.layers.46.self_attn.o_proj",
|
| 535 |
+
"model.layers.46.mlp.experts.0.gate_proj",
|
| 536 |
+
"model.layers.46.mlp.experts.0.up_proj",
|
| 537 |
+
"model.layers.46.mlp.experts.0.down_proj",
|
| 538 |
+
"model.layers.46.mlp.experts.1.gate_proj",
|
| 539 |
+
"model.layers.46.mlp.experts.1.up_proj",
|
| 540 |
+
"model.layers.46.mlp.experts.1.down_proj",
|
| 541 |
+
"model.layers.46.mlp.experts.2.gate_proj",
|
| 542 |
+
"model.layers.46.mlp.experts.2.up_proj",
|
| 543 |
+
"model.layers.46.mlp.experts.2.down_proj",
|
| 544 |
+
"model.layers.46.mlp.experts.3.gate_proj",
|
| 545 |
+
"model.layers.46.mlp.experts.3.up_proj",
|
| 546 |
+
"model.layers.46.mlp.experts.3.down_proj",
|
| 547 |
+
"model.layers.46.mlp.experts.4.gate_proj",
|
| 548 |
+
"model.layers.46.mlp.experts.4.up_proj",
|
| 549 |
+
"model.layers.46.mlp.experts.4.down_proj",
|
| 550 |
+
"model.layers.46.mlp.experts.5.gate_proj",
|
| 551 |
+
"model.layers.46.mlp.experts.5.up_proj",
|
| 552 |
+
"model.layers.46.mlp.experts.5.down_proj",
|
| 553 |
+
"model.layers.46.mlp.experts.6.gate_proj",
|
| 554 |
+
"model.layers.46.mlp.experts.6.up_proj",
|
| 555 |
+
"model.layers.46.mlp.experts.6.down_proj",
|
| 556 |
+
"model.layers.46.mlp.experts.7.gate_proj",
|
| 557 |
+
"model.layers.46.mlp.experts.7.up_proj",
|
| 558 |
+
"model.layers.46.mlp.experts.7.down_proj",
|
| 559 |
+
"model.layers.46.mlp.experts.8.gate_proj",
|
| 560 |
+
"model.layers.46.mlp.experts.8.up_proj",
|
| 561 |
+
"model.layers.46.mlp.experts.8.down_proj",
|
| 562 |
+
"model.layers.46.mlp.experts.9.gate_proj",
|
| 563 |
+
"model.layers.46.mlp.experts.9.up_proj",
|
| 564 |
+
"model.layers.46.mlp.experts.9.down_proj",
|
| 565 |
+
"model.layers.46.mlp.experts.10.gate_proj",
|
| 566 |
+
"model.layers.46.mlp.experts.10.up_proj",
|
| 567 |
+
"model.layers.46.mlp.experts.10.down_proj",
|
| 568 |
+
"model.layers.46.mlp.experts.11.gate_proj",
|
| 569 |
+
"model.layers.46.mlp.experts.11.up_proj",
|
| 570 |
+
"model.layers.46.mlp.experts.11.down_proj",
|
| 571 |
+
"model.layers.46.mlp.experts.12.gate_proj",
|
| 572 |
+
"model.layers.46.mlp.experts.12.up_proj",
|
| 573 |
+
"model.layers.46.mlp.experts.12.down_proj",
|
| 574 |
+
"model.layers.46.mlp.experts.13.gate_proj",
|
| 575 |
+
"model.layers.46.mlp.experts.13.up_proj",
|
| 576 |
+
"model.layers.46.mlp.experts.13.down_proj",
|
| 577 |
+
"model.layers.46.mlp.experts.14.gate_proj",
|
| 578 |
+
"model.layers.46.mlp.experts.14.up_proj",
|
| 579 |
+
"model.layers.46.mlp.experts.14.down_proj",
|
| 580 |
+
"model.layers.46.mlp.experts.15.gate_proj",
|
| 581 |
+
"model.layers.46.mlp.experts.15.up_proj",
|
| 582 |
+
"model.layers.46.mlp.experts.15.down_proj",
|
| 583 |
+
"model.layers.46.mlp.experts.16.gate_proj",
|
| 584 |
+
"model.layers.46.mlp.experts.16.up_proj",
|
| 585 |
+
"model.layers.46.mlp.experts.16.down_proj",
|
| 586 |
+
"model.layers.46.mlp.experts.17.gate_proj",
|
| 587 |
+
"model.layers.46.mlp.experts.17.up_proj",
|
| 588 |
+
"model.layers.46.mlp.experts.17.down_proj",
|
| 589 |
+
"model.layers.46.mlp.experts.18.gate_proj",
|
| 590 |
+
"model.layers.46.mlp.experts.18.up_proj",
|
| 591 |
+
"model.layers.46.mlp.experts.18.down_proj",
|
| 592 |
+
"model.layers.46.mlp.experts.19.gate_proj",
|
| 593 |
+
"model.layers.46.mlp.experts.19.up_proj",
|
| 594 |
+
"model.layers.46.mlp.experts.19.down_proj",
|
| 595 |
+
"model.layers.46.mlp.experts.20.gate_proj",
|
| 596 |
+
"model.layers.46.mlp.experts.20.up_proj",
|
| 597 |
+
"model.layers.46.mlp.experts.20.down_proj",
|
| 598 |
+
"model.layers.46.mlp.experts.21.gate_proj",
|
| 599 |
+
"model.layers.46.mlp.experts.21.up_proj",
|
| 600 |
+
"model.layers.46.mlp.experts.21.down_proj",
|
| 601 |
+
"model.layers.46.mlp.experts.22.gate_proj",
|
| 602 |
+
"model.layers.46.mlp.experts.22.up_proj",
|
| 603 |
+
"model.layers.46.mlp.experts.22.down_proj",
|
| 604 |
+
"model.layers.46.mlp.experts.23.gate_proj",
|
| 605 |
+
"model.layers.46.mlp.experts.23.up_proj",
|
| 606 |
+
"model.layers.46.mlp.experts.23.down_proj",
|
| 607 |
+
"model.layers.46.mlp.experts.24.gate_proj",
|
| 608 |
+
"model.layers.46.mlp.experts.24.up_proj",
|
| 609 |
+
"model.layers.46.mlp.experts.24.down_proj",
|
| 610 |
+
"model.layers.46.mlp.experts.25.gate_proj",
|
| 611 |
+
"model.layers.46.mlp.experts.25.up_proj",
|
| 612 |
+
"model.layers.46.mlp.experts.25.down_proj",
|
| 613 |
+
"model.layers.46.mlp.experts.26.gate_proj",
|
| 614 |
+
"model.layers.46.mlp.experts.26.up_proj",
|
| 615 |
+
"model.layers.46.mlp.experts.26.down_proj",
|
| 616 |
+
"model.layers.46.mlp.experts.27.gate_proj",
|
| 617 |
+
"model.layers.46.mlp.experts.27.up_proj",
|
| 618 |
+
"model.layers.46.mlp.experts.27.down_proj",
|
| 619 |
+
"model.layers.46.mlp.experts.28.gate_proj",
|
| 620 |
+
"model.layers.46.mlp.experts.28.up_proj",
|
| 621 |
+
"model.layers.46.mlp.experts.28.down_proj",
|
| 622 |
+
"model.layers.46.mlp.experts.29.gate_proj",
|
| 623 |
+
"model.layers.46.mlp.experts.29.up_proj",
|
| 624 |
+
"model.layers.46.mlp.experts.29.down_proj",
|
| 625 |
+
"model.layers.46.mlp.experts.30.gate_proj",
|
| 626 |
+
"model.layers.46.mlp.experts.30.up_proj",
|
| 627 |
+
"model.layers.46.mlp.experts.30.down_proj",
|
| 628 |
+
"model.layers.46.mlp.experts.31.gate_proj",
|
| 629 |
+
"model.layers.46.mlp.experts.31.up_proj",
|
| 630 |
+
"model.layers.46.mlp.experts.31.down_proj",
|
| 631 |
+
"model.layers.46.mlp.experts.32.gate_proj",
|
| 632 |
+
"model.layers.46.mlp.experts.32.up_proj",
|
| 633 |
+
"model.layers.46.mlp.experts.32.down_proj",
|
| 634 |
+
"model.layers.46.mlp.experts.33.gate_proj",
|
| 635 |
+
"model.layers.46.mlp.experts.33.up_proj",
|
| 636 |
+
"model.layers.46.mlp.experts.33.down_proj",
|
| 637 |
+
"model.layers.46.mlp.experts.34.gate_proj",
|
| 638 |
+
"model.layers.46.mlp.experts.34.up_proj",
|
| 639 |
+
"model.layers.46.mlp.experts.34.down_proj",
|
| 640 |
+
"model.layers.46.mlp.experts.35.gate_proj",
|
| 641 |
+
"model.layers.46.mlp.experts.35.up_proj",
|
| 642 |
+
"model.layers.46.mlp.experts.35.down_proj",
|
| 643 |
+
"model.layers.46.mlp.experts.36.gate_proj",
|
| 644 |
+
"model.layers.46.mlp.experts.36.up_proj",
|
| 645 |
+
"model.layers.46.mlp.experts.36.down_proj",
|
| 646 |
+
"model.layers.46.mlp.experts.37.gate_proj",
|
| 647 |
+
"model.layers.46.mlp.experts.37.up_proj",
|
| 648 |
+
"model.layers.46.mlp.experts.37.down_proj",
|
| 649 |
+
"model.layers.46.mlp.experts.38.gate_proj",
|
| 650 |
+
"model.layers.46.mlp.experts.38.up_proj",
|
| 651 |
+
"model.layers.46.mlp.experts.38.down_proj",
|
| 652 |
+
"model.layers.46.mlp.experts.39.gate_proj",
|
| 653 |
+
"model.layers.46.mlp.experts.39.up_proj",
|
| 654 |
+
"model.layers.46.mlp.experts.39.down_proj",
|
| 655 |
+
"model.layers.46.mlp.experts.40.gate_proj",
|
| 656 |
+
"model.layers.46.mlp.experts.40.up_proj",
|
| 657 |
+
"model.layers.46.mlp.experts.40.down_proj",
|
| 658 |
+
"model.layers.46.mlp.experts.41.gate_proj",
|
| 659 |
+
"model.layers.46.mlp.experts.41.up_proj",
|
| 660 |
+
"model.layers.46.mlp.experts.41.down_proj",
|
| 661 |
+
"model.layers.46.mlp.experts.42.gate_proj",
|
| 662 |
+
"model.layers.46.mlp.experts.42.up_proj",
|
| 663 |
+
"model.layers.46.mlp.experts.42.down_proj",
|
| 664 |
+
"model.layers.46.mlp.experts.43.gate_proj",
|
| 665 |
+
"model.layers.46.mlp.experts.43.up_proj",
|
| 666 |
+
"model.layers.46.mlp.experts.43.down_proj",
|
| 667 |
+
"model.layers.46.mlp.experts.44.gate_proj",
|
| 668 |
+
"model.layers.46.mlp.experts.44.up_proj",
|
| 669 |
+
"model.layers.46.mlp.experts.44.down_proj",
|
| 670 |
+
"model.layers.46.mlp.experts.45.gate_proj",
|
| 671 |
+
"model.layers.46.mlp.experts.45.up_proj",
|
| 672 |
+
"model.layers.46.mlp.experts.45.down_proj",
|
| 673 |
+
"model.layers.46.mlp.experts.46.gate_proj",
|
| 674 |
+
"model.layers.46.mlp.experts.46.up_proj",
|
| 675 |
+
"model.layers.46.mlp.experts.46.down_proj",
|
| 676 |
+
"model.layers.46.mlp.experts.47.gate_proj",
|
| 677 |
+
"model.layers.46.mlp.experts.47.up_proj",
|
| 678 |
+
"model.layers.46.mlp.experts.47.down_proj",
|
| 679 |
+
"model.layers.46.mlp.experts.48.gate_proj",
|
| 680 |
+
"model.layers.46.mlp.experts.48.up_proj",
|
| 681 |
+
"model.layers.46.mlp.experts.48.down_proj",
|
| 682 |
+
"model.layers.46.mlp.experts.49.gate_proj",
|
| 683 |
+
"model.layers.46.mlp.experts.49.up_proj",
|
| 684 |
+
"model.layers.46.mlp.experts.49.down_proj",
|
| 685 |
+
"model.layers.46.mlp.experts.50.gate_proj",
|
| 686 |
+
"model.layers.46.mlp.experts.50.up_proj",
|
| 687 |
+
"model.layers.46.mlp.experts.50.down_proj",
|
| 688 |
+
"model.layers.46.mlp.experts.51.gate_proj",
|
| 689 |
+
"model.layers.46.mlp.experts.51.up_proj",
|
| 690 |
+
"model.layers.46.mlp.experts.51.down_proj",
|
| 691 |
+
"model.layers.46.mlp.experts.52.gate_proj",
|
| 692 |
+
"model.layers.46.mlp.experts.52.up_proj",
|
| 693 |
+
"model.layers.46.mlp.experts.52.down_proj",
|
| 694 |
+
"model.layers.46.mlp.experts.53.gate_proj",
|
| 695 |
+
"model.layers.46.mlp.experts.53.up_proj",
|
| 696 |
+
"model.layers.46.mlp.experts.53.down_proj",
|
| 697 |
+
"model.layers.46.mlp.experts.54.gate_proj",
|
| 698 |
+
"model.layers.46.mlp.experts.54.up_proj",
|
| 699 |
+
"model.layers.46.mlp.experts.54.down_proj",
|
| 700 |
+
"model.layers.46.mlp.experts.55.gate_proj",
|
| 701 |
+
"model.layers.46.mlp.experts.55.up_proj",
|
| 702 |
+
"model.layers.46.mlp.experts.55.down_proj",
|
| 703 |
+
"model.layers.46.mlp.experts.56.gate_proj",
|
| 704 |
+
"model.layers.46.mlp.experts.56.up_proj",
|
| 705 |
+
"model.layers.46.mlp.experts.56.down_proj",
|
| 706 |
+
"model.layers.46.mlp.experts.57.gate_proj",
|
| 707 |
+
"model.layers.46.mlp.experts.57.up_proj",
|
| 708 |
+
"model.layers.46.mlp.experts.57.down_proj",
|
| 709 |
+
"model.layers.46.mlp.experts.58.gate_proj",
|
| 710 |
+
"model.layers.46.mlp.experts.58.up_proj",
|
| 711 |
+
"model.layers.46.mlp.experts.58.down_proj",
|
| 712 |
+
"model.layers.46.mlp.experts.59.gate_proj",
|
| 713 |
+
"model.layers.46.mlp.experts.59.up_proj",
|
| 714 |
+
"model.layers.46.mlp.experts.59.down_proj",
|
| 715 |
+
"model.layers.46.mlp.experts.60.gate_proj",
|
| 716 |
+
"model.layers.46.mlp.experts.60.up_proj",
|
| 717 |
+
"model.layers.46.mlp.experts.60.down_proj",
|
| 718 |
+
"model.layers.46.mlp.experts.61.gate_proj",
|
| 719 |
+
"model.layers.46.mlp.experts.61.up_proj",
|
| 720 |
+
"model.layers.46.mlp.experts.61.down_proj",
|
| 721 |
+
"model.layers.46.mlp.experts.62.gate_proj",
|
| 722 |
+
"model.layers.46.mlp.experts.62.up_proj",
|
| 723 |
+
"model.layers.46.mlp.experts.62.down_proj",
|
| 724 |
+
"model.layers.46.mlp.experts.63.gate_proj",
|
| 725 |
+
"model.layers.46.mlp.experts.63.up_proj",
|
| 726 |
+
"model.layers.46.mlp.experts.63.down_proj",
|
| 727 |
+
"model.layers.46.mlp.shared_experts.gate_proj",
|
| 728 |
+
"model.layers.46.mlp.shared_experts.up_proj",
|
| 729 |
+
"model.layers.46.mlp.shared_experts.down_proj",
|
| 730 |
+
"lm_head"
|
| 731 |
+
],
|
| 732 |
+
"kv_cache_scheme": null,
|
| 733 |
+
"quant_method": "compressed-tensors",
|
| 734 |
+
"quantization_status": "compressed",
|
| 735 |
+
"sparsity_config": {},
|
| 736 |
+
"transform_config": {},
|
| 737 |
+
"version": "0.13.1.a20260123"
|
| 738 |
+
},
|
| 739 |
+
"rms_norm_eps": 1e-05,
|
| 740 |
+
"rope_interleave": true,
|
| 741 |
+
"rope_parameters": {
|
| 742 |
+
"partial_rotary_factor": 1.0,
|
| 743 |
+
"rope_theta": 1000000,
|
| 744 |
+
"rope_type": "default"
|
| 745 |
+
},
|
| 746 |
+
"routed_scaling_factor": 1.8,
|
| 747 |
+
"scoring_func": "sigmoid",
|
| 748 |
+
"tie_word_embeddings": false,
|
| 749 |
+
"topk_group": 1,
|
| 750 |
+
"topk_method": "noaux_tc",
|
| 751 |
+
"transformers_version": "5.0.0rc3",
|
| 752 |
+
"use_cache": true,
|
| 753 |
+
"v_head_dim": 256,
|
| 754 |
+
"vocab_size": 154880
|
| 755 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
154820,
|
| 6 |
+
154827,
|
| 7 |
+
154829
|
| 8 |
+
],
|
| 9 |
+
"pad_token_id": 154820,
|
| 10 |
+
"temperature": 1.0,
|
| 11 |
+
"top_p": 0.95,
|
| 12 |
+
"transformers_version": "5.0.0rc3"
|
| 13 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b727e25aba0604c8d59222950edad4b4a386dbf90bfc41b370d02ffe3a95312c
|
| 3 |
+
size 32522127544
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19e773648cb4e65de8660ea6365e10acca112d42a854923df93db4a6f333a82d
|
| 3 |
+
size 20217442
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": null,
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"do_lower_case": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"extra_special_tokens": [
|
| 8 |
+
"<|endoftext|>",
|
| 9 |
+
"[MASK]",
|
| 10 |
+
"[gMASK]",
|
| 11 |
+
"[sMASK]",
|
| 12 |
+
"<sop>",
|
| 13 |
+
"<eop>",
|
| 14 |
+
"<|system|>",
|
| 15 |
+
"<|user|>",
|
| 16 |
+
"<|assistant|>",
|
| 17 |
+
"<|observation|>",
|
| 18 |
+
"<|begin_of_image|>",
|
| 19 |
+
"<|end_of_image|>",
|
| 20 |
+
"<|begin_of_video|>",
|
| 21 |
+
"<|end_of_video|>",
|
| 22 |
+
"<|begin_of_audio|>",
|
| 23 |
+
"<|end_of_audio|>",
|
| 24 |
+
"<|begin_of_transcription|>",
|
| 25 |
+
"<|end_of_transcription|>"
|
| 26 |
+
],
|
| 27 |
+
"is_local": false,
|
| 28 |
+
"model_max_length": 128000,
|
| 29 |
+
"model_specific_special_tokens": {},
|
| 30 |
+
"pad_token": "[MASK]",
|
| 31 |
+
"padding_side": "left",
|
| 32 |
+
"remove_space": false,
|
| 33 |
+
"tokenizer_class": "TokenizersBackend",
|
| 34 |
+
"unk_token": null
|
| 35 |
+
}
|