anas ZHANGYUXUAN-zR commited on
Commit
d0e4102
·
0 Parent(s):

Duplicate from zai-org/GLM-4.7-Flash

Browse files

Co-authored-by: zR <ZHANGYUXUAN-zR@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .eval_results/gpqa.yaml +9 -0
  2. .eval_results/hle.yaml +9 -0
  3. .gitattributes +36 -0
  4. README.md +172 -0
  5. chat_template.jinja +86 -0
  6. config.json +45 -0
  7. generation_config.json +11 -0
  8. model-00001-of-00048.safetensors +3 -0
  9. model-00002-of-00048.safetensors +3 -0
  10. model-00003-of-00048.safetensors +3 -0
  11. model-00004-of-00048.safetensors +3 -0
  12. model-00005-of-00048.safetensors +3 -0
  13. model-00006-of-00048.safetensors +3 -0
  14. model-00007-of-00048.safetensors +3 -0
  15. model-00008-of-00048.safetensors +3 -0
  16. model-00009-of-00048.safetensors +3 -0
  17. model-00010-of-00048.safetensors +3 -0
  18. model-00011-of-00048.safetensors +3 -0
  19. model-00012-of-00048.safetensors +3 -0
  20. model-00013-of-00048.safetensors +3 -0
  21. model-00014-of-00048.safetensors +3 -0
  22. model-00015-of-00048.safetensors +3 -0
  23. model-00016-of-00048.safetensors +3 -0
  24. model-00017-of-00048.safetensors +3 -0
  25. model-00018-of-00048.safetensors +3 -0
  26. model-00019-of-00048.safetensors +3 -0
  27. model-00020-of-00048.safetensors +3 -0
  28. model-00021-of-00048.safetensors +3 -0
  29. model-00022-of-00048.safetensors +3 -0
  30. model-00023-of-00048.safetensors +3 -0
  31. model-00024-of-00048.safetensors +3 -0
  32. model-00025-of-00048.safetensors +3 -0
  33. model-00026-of-00048.safetensors +3 -0
  34. model-00027-of-00048.safetensors +3 -0
  35. model-00028-of-00048.safetensors +3 -0
  36. model-00029-of-00048.safetensors +3 -0
  37. model-00030-of-00048.safetensors +3 -0
  38. model-00031-of-00048.safetensors +3 -0
  39. model-00032-of-00048.safetensors +3 -0
  40. model-00033-of-00048.safetensors +3 -0
  41. model-00034-of-00048.safetensors +3 -0
  42. model-00035-of-00048.safetensors +3 -0
  43. model-00036-of-00048.safetensors +3 -0
  44. model-00037-of-00048.safetensors +3 -0
  45. model-00038-of-00048.safetensors +3 -0
  46. model-00039-of-00048.safetensors +3 -0
  47. model-00040-of-00048.safetensors +3 -0
  48. model-00041-of-00048.safetensors +3 -0
  49. model-00042-of-00048.safetensors +3 -0
  50. model-00043-of-00048.safetensors +3 -0
.eval_results/gpqa.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ - dataset:
2
+ id: Idavidrein/gpqa
3
+ task_id: diamond
4
+ value: 75.2
5
+ date: '2026-01-27'
6
+ source:
7
+ url: https://huggingface.co/zai-org/GLM-4.7-Flash
8
+ name: Model Card
9
+ user: burtenshaw
.eval_results/hle.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ - dataset:
2
+ id: cais/hle
3
+ task_id: hle
4
+ value: 14.4
5
+ date: '2026-01-28'
6
+ source:
7
+ url: https://huggingface.co/zai-org/GLM-4.7-Flash
8
+ name: Model Card
9
+ user: burtenshaw
.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,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - zh
5
+ library_name: transformers
6
+ license: mit
7
+ pipeline_tag: text-generation
8
+ ---
9
+
10
+ # GLM-4.7-Flash
11
+
12
+ <div align="center">
13
+ <img src=https://raw.githubusercontent.com/zai-org/GLM-4.5/refs/heads/main/resources/logo.svg width="15%"/>
14
+ </div>
15
+ <p align="center">
16
+ 👋 Join our <a href="https://discord.gg/QR7SARHRxK" target="_blank">Discord</a> community.
17
+ <br>
18
+ 📖 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>.
19
+ <br>
20
+ 📍 Use GLM-4.7-Flash API services on <a href="https://docs.z.ai/guides/llm/glm-4.7">Z.ai API Platform. </a>
21
+ <br>
22
+ 👉 One click to <a href="https://chat.z.ai">GLM-4.7</a>.
23
+ </p>
24
+
25
+ ## Introduction
26
+
27
+ 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.
28
+
29
+
30
+ ### Performances on Benchmarks
31
+
32
+
33
+ | Benchmark | GLM-4.7-Flash | Qwen3-30B-A3B-Thinking-2507 | GPT-OSS-20B |
34
+ |--------------------|---------------|-----------------------------|-------------|
35
+ | AIME 25 | 91.6 | 85.0 | 91.7 |
36
+ | GPQA | 75.2 | 73.4 | 71.5 |
37
+ | LCB v6 | 64.0 | 66.0 | 61.0 |
38
+ | HLE | 14.4 | 9.8 | 10.9 |
39
+ | SWE-bench Verified | 59.2 | 22.0 | 34.0 |
40
+ | τ²-Bench | 79.5 | 49.0 | 47.7 |
41
+ | BrowseComp | 42.8 | 2.29 | 28.3 |
42
+
43
+
44
+ ### Evaluation Parameters
45
+
46
+ **Default Settings (Most Tasks)**
47
+
48
+ * temperature: `1.0`
49
+ * top-p: `0.95`
50
+ * max new tokens: `131072`
51
+
52
+ For multi-turn agentic tasks (τ²-Bench and Terminal Bench 2), please turn on [Preserved Thinking mode](https://docs.z.ai/guides/capabilities/thinking-mode).
53
+
54
+ **Terminal Bench, SWE Bench Verified**
55
+
56
+ * temperature: `0.7`
57
+ * top-p: `1.0`
58
+ * max new tokens: `16384`
59
+
60
+ **τ^2-Bench**
61
+
62
+ * Temperature: `0`
63
+ * Max new tokens: `16384`
64
+
65
+ For τ^2-Bench evaluation, we added an additional prompt to the Retail and Telecom user interaction to avoid failure modes caused by users ending the interaction incorrectly. For the Airline domain, we applied the domain fixes as proposed in the [Claude Opus 4.5](https://assets.anthropic.com/m/64823ba7485345a7/Claude-Opus-4-5-System-Card.pdf) release report.
66
+
67
+ ## Serve GLM-4.7-Flash Locally
68
+
69
+ For local deployment, GLM-4.7-Flash supports inference frameworks including vLLM and SGLang. Comprehensive deployment
70
+ instructions are available in the official [Github](https://github.com/zai-org/GLM-4.5) repository.
71
+
72
+ vLLM and SGLang only support GLM-4.7-Flash on their main branches.
73
+
74
+ ### vLLM
75
+
76
+ + using pip (must use pypi.org as the index url):
77
+
78
+ ```shell
79
+ pip install -U vllm --pre --index-url https://pypi.org/simple --extra-index-url https://wheels.vllm.ai/nightly
80
+ pip install git+https://github.com/huggingface/transformers.git
81
+ ```
82
+
83
+ ### SGLang
84
+
85
+ + Install the supported versions of SGLang and Transformers (using `uv` is recommended):
86
+
87
+ ```shell
88
+ uv pip install sglang==0.3.2.dev9039+pr-17247.g90c446848 --extra-index-url https://sgl-project.github.io/whl/pr/
89
+ uv pip install git+https://github.com/huggingface/transformers.git@76732b4e7120808ff989edbd16401f61fa6a0afa
90
+ ```
91
+
92
+ ### transformers
93
+
94
+ using with transformers as
95
+
96
+ ```shell
97
+ pip install git+https://github.com/huggingface/transformers.git
98
+ ```
99
+
100
+ and then run:
101
+
102
+ ```python
103
+ import torch
104
+ from transformers import AutoModelForCausalLM, AutoTokenizer
105
+
106
+ MODEL_PATH = "zai-org/GLM-4.7-Flash"
107
+ messages = [{"role": "user", "content": "hello"}]
108
+ tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH)
109
+ inputs = tokenizer.apply_chat_template(
110
+ messages,
111
+ tokenize=True,
112
+ add_generation_prompt=True,
113
+ return_dict=True,
114
+ return_tensors="pt",
115
+ )
116
+ model = AutoModelForCausalLM.from_pretrained(
117
+ pretrained_model_name_or_path=MODEL_PATH,
118
+ torch_dtype=torch.bfloat16,
119
+ device_map="auto",
120
+ )
121
+ inputs = inputs.to(model.device)
122
+ generated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)
123
+ output_text = tokenizer.decode(generated_ids[0][inputs.input_ids.shape[1]:])
124
+ print(output_text)
125
+ ```
126
+
127
+ ### vLLM
128
+
129
+ ```shell
130
+ vllm serve zai-org/GLM-4.7-Flash \
131
+ --tensor-parallel-size 4 \
132
+ --speculative-config.method mtp \
133
+ --speculative-config.num_speculative_tokens 1 \
134
+ --tool-call-parser glm47 \
135
+ --reasoning-parser glm45 \
136
+ --enable-auto-tool-choice \
137
+ --served-model-name glm-4.7-flash
138
+ ```
139
+
140
+ ### SGLang
141
+
142
+ ```shell
143
+ python3 -m sglang.launch_server \
144
+ --model-path zai-org/GLM-4.7-Flash \
145
+ --tp-size 4 \
146
+ --tool-call-parser glm47 \
147
+ --reasoning-parser glm45 \
148
+ --speculative-algorithm EAGLE \
149
+ --speculative-num-steps 3 \
150
+ --speculative-eagle-topk 1 \
151
+ --speculative-num-draft-tokens 4 \
152
+ --mem-fraction-static 0.8 \
153
+ --served-model-name glm-4.7-flash \
154
+ --host 0.0.0.0 \
155
+ --port 8000
156
+ ```
157
+ + For Blackwell GPUs, include `--attention-backend triton --speculative-draft-attention-backend triton` in your SGLang launch command.
158
+
159
+ ## Citation
160
+
161
+ If you find our work useful in your research, please consider citing the following paper:
162
+
163
+ ```bibtex
164
+ @misc{5team2025glm45agenticreasoningcoding,
165
+ title={GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models},
166
+ 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},
167
+ year={2025},
168
+ eprint={2508.06471},
169
+ archivePrefix={arXiv},
170
+ primaryClass={cs.CL},
171
+ url={https://arxiv.org/abs/2508.06471},
172
+ }
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,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Glm4MoeLiteForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "pad_token_id": 154820,
8
+ "eos_token_id": [
9
+ 154820,
10
+ 154827,
11
+ 154829
12
+ ],
13
+ "hidden_act": "silu",
14
+ "hidden_size": 2048,
15
+ "intermediate_size": 10240,
16
+ "max_position_embeddings": 202752,
17
+ "model_type": "glm4_moe_lite",
18
+ "moe_intermediate_size": 1536,
19
+ "topk_method": "noaux_tc",
20
+ "norm_topk_prob": true,
21
+ "num_attention_heads": 20,
22
+ "n_group": 1,
23
+ "topk_group": 1,
24
+ "n_routed_experts": 64,
25
+ "n_shared_experts": 1,
26
+ "routed_scaling_factor": 1.8,
27
+ "num_experts_per_tok": 4,
28
+ "first_k_dense_replace": 1,
29
+ "num_hidden_layers": 47,
30
+ "num_key_value_heads": 20,
31
+ "num_nextn_predict_layers": 1,
32
+ "partial_rotary_factor": 1.0,
33
+ "rms_norm_eps": 1e-05,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000,
36
+ "tie_word_embeddings": false,
37
+ "dtype": "bfloat16",
38
+ "transformers_version": "5.0.0rc0",
39
+ "q_lora_rank": 768,
40
+ "kv_lora_rank": 512,
41
+ "qk_nope_head_dim": 192,
42
+ "qk_rope_head_dim": 64,
43
+ "v_head_dim": 256,
44
+ "vocab_size": 154880
45
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 154820,
5
+ 154827,
6
+ 154829
7
+ ],
8
+ "pad_token_id": 154820,
9
+ "temperature": 1.0,
10
+ "transformers_version": "5.0.0.dev0"
11
+ }
model-00001-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90abe0d075755853145c96906a1300f57c167fcc9aa67221239b448abf54933c
3
+ size 1438134344
model-00002-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c51e2434efe609cbe652014a924e088a5ea97be35ca29cfa893a1a9a90304b1
3
+ size 1270648128
model-00003-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab6ebdd01af10c9bde1ec0b2a182d6f7ff8df831add6810695e5f3b50918040d
3
+ size 1270648128
model-00004-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:932e4dbb8f7583d2b6392a6e850dd7aa05636827e8b90ff7858cae709838dca7
3
+ size 1270648128
model-00005-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f56a3e52bf5905c2df07ef53575ae8e62622138a15b0affc2b3f84785ca81e9
3
+ size 1270648128
model-00006-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83aa0eeca6e5a9394bb8a1c9cab46cc603799d729cf64ed4bbc341e0a7085feb
3
+ size 1270648128
model-00007-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9679076d3bd10c5f1287d12418fddb41c8b54b8c8ccc0672796ef7e8431b797
3
+ size 1270648128
model-00008-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d1231577a057ff957d480c277e497910acbba75fc9232f8fd8f44c1a647d7a2
3
+ size 1270648128
model-00009-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095d626626773284535ba4114c2b320003ba3c8430bd104f5e7bba3772b2a1b1
3
+ size 1270648128
model-00010-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3f8d197b0d253082f547d67989b1e3928a742b508f6f8d4abf119f3ba2990ed
3
+ size 1270648128
model-00011-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8b7eeef625a6ed9ced479e064870f0ebf0da67056cd5e582300d0ebcf44de21
3
+ size 1270648328
model-00012-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49adb8b9f02d1643ab22406b0e05938ce3d7a8986fd0981e0af5d4cd47ee8b12
3
+ size 1270648328
model-00013-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f269382ae6ce42cd05937fcd5551e08da151c810a87bb0e1994ff9bb5f9eb7c9
3
+ size 1270648328
model-00014-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acd6f36aadceda658a5db6fc6a04160ae2ca1ae78d4a9c84aeabcea8e80b44c8
3
+ size 1270648328
model-00015-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:606079fe1e000d658142c59fee66aa8d7c949d758612debd78d21cde2fae392c
3
+ size 1270648328
model-00016-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b53fb45f7689b505fc185180503ea9d45af67042ba38914e53bbdee97173c974
3
+ size 1270648328
model-00017-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a51e478badd50bb9b5299e3ad7979bfd40da8ab96983de0cd16a0fb5fddb4bc9
3
+ size 1270648328
model-00018-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:680295c83f29a90c97f2d68c1290a152330c2dbd3654abdf0f074e6d8018062c
3
+ size 1270648328
model-00019-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:355f9437e291b0846b5ecac1d644766ec17bd4863da441e4e786f33d7bac3347
3
+ size 1270648328
model-00020-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f8d4698fc5ce834021254b407c61e5376a693dcafeb996a8fc708639b44aed8
3
+ size 1270648328
model-00021-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:111570fc7f55bcb9beb7bcb969475b27ffbcad97b95788464ff91a1e07ff897a
3
+ size 1270648328
model-00022-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ced6a73df393df3bd559fc69093763fb5cc9fedee31e245a52a7786939199896
3
+ size 1270648328
model-00023-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b287bb0ce12a1ac975978c94548f2bbab3267e83e0c888871a3ada3ddf91405d
3
+ size 1270648328
model-00024-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e77476f0f57dc0386b64741d9251632d46e646faab6780d10a5a6a5f456668
3
+ size 1270648328
model-00025-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f9e643d9d3e9152b9156424615c8054cffe6b8bc1b776567da17bbd3b97ebcb
3
+ size 1270648328
model-00026-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:634da561277b9b77410a319bd930e940d443055fb688a2e4b9574aae1569192d
3
+ size 1270648328
model-00027-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3286537b5a5dd2b4742878476601a4f5b1f061e948386babe05076fd058fa5ec
3
+ size 1270648328
model-00028-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56335c906d44c1c6f37530d65182cd6af4fb146fa8a68e8e510d6419b5b007e7
3
+ size 1270648328
model-00029-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e6591dfb36a59918f91c152ba0baf184b4372c667fe46f74024e5d8ae86f378
3
+ size 1270648328
model-00030-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62373b800980841e6ca5c4c48db570729246092d03ac756bdeb55ecfdd599a2c
3
+ size 1270648328
model-00031-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:332d82cefb0b4d87c48e3e989c97d3e74b6f64326313694ed226a72bf26e3b99
3
+ size 1270648328
model-00032-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f9897915eef55f41b221ff072d8b0b401e447007d648b63ddabf9b795361c18
3
+ size 1270648328
model-00033-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29059fb79e6fefaad49b7c2833370cd78079b403cc98bc28ce95976207840f7f
3
+ size 1270648328
model-00034-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f989cc8af19949a310599c5ab8d65f0ae8406908e1a702588b892604179061a1
3
+ size 1270648328
model-00035-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaa91e9b1a075d1753e45a01db198ed48f2739392e46e1843a4dcaaab6cd02eb
3
+ size 1270648328
model-00036-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf807da31533424a54196cd07da6caa1a22199b72d822bd8c2f387172b6e1c65
3
+ size 1270648328
model-00037-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:887aeb5568ef6189a7618309e50f0277ad339da86133526ca6d820b88ecbb5d4
3
+ size 1270648328
model-00038-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:036a38cc10858a8cc5a2fcd09fdab1b53258d04ff87dc4d3d21f140c54b029dd
3
+ size 1270648328
model-00039-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62ae341291fe720719ab6cdcf2348752f262f4575a3f8221b353deb224bcbd1d
3
+ size 1270648328
model-00040-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd8af33462a3f7b4dbc5393da4016acffabafc20b826f952e912adb2a2845fe3
3
+ size 1270648328
model-00041-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39098c9b6770ff5c185a70b8f0d6cfca22f95e3c47dc38de88c3d2ec2b1cf5bc
3
+ size 1270648328
model-00042-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffe0b23aab19b608ca59f46628064c3d53d846c81d6f978c2579b38e09e35747
3
+ size 1270648328
model-00043-of-00048.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efe1da68f8c30d7e77a68d48eb7d65d28709f536062dba8168490370cca47ba4
3
+ size 1270648328