Instructions to use FramedStone/GLM-4.7-Q4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use FramedStone/GLM-4.7-Q4 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("FramedStone/GLM-4.7-Q4") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- Pi new
How to use FramedStone/GLM-4.7-Q4 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "FramedStone/GLM-4.7-Q4"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "FramedStone/GLM-4.7-Q4" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use FramedStone/GLM-4.7-Q4 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "FramedStone/GLM-4.7-Q4"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default FramedStone/GLM-4.7-Q4
Run Hermes
hermes
- MLX LM
How to use FramedStone/GLM-4.7-Q4 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "FramedStone/GLM-4.7-Q4"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "FramedStone/GLM-4.7-Q4" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FramedStone/GLM-4.7-Q4", "messages": [ {"role": "user", "content": "Hello"} ] }'
Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- README.md +39 -0
- chat_template.jinja +86 -0
- config.json +53 -0
- generation_config.json +11 -0
- model-00001-of-00039.safetensors +3 -0
- model-00002-of-00039.safetensors +3 -0
- model-00003-of-00039.safetensors +3 -0
- model-00004-of-00039.safetensors +3 -0
- model-00005-of-00039.safetensors +3 -0
- model-00006-of-00039.safetensors +3 -0
- model-00007-of-00039.safetensors +3 -0
- model-00008-of-00039.safetensors +3 -0
- model-00009-of-00039.safetensors +3 -0
- model-00010-of-00039.safetensors +3 -0
- model-00011-of-00039.safetensors +3 -0
- model-00012-of-00039.safetensors +3 -0
- model-00013-of-00039.safetensors +3 -0
- model-00014-of-00039.safetensors +3 -0
- model-00015-of-00039.safetensors +3 -0
- model-00016-of-00039.safetensors +3 -0
- model-00017-of-00039.safetensors +3 -0
- model-00018-of-00039.safetensors +3 -0
- model-00019-of-00039.safetensors +3 -0
- model-00020-of-00039.safetensors +3 -0
- model-00021-of-00039.safetensors +3 -0
- model-00022-of-00039.safetensors +3 -0
- model-00023-of-00039.safetensors +3 -0
- model-00024-of-00039.safetensors +3 -0
- model-00025-of-00039.safetensors +3 -0
- model-00026-of-00039.safetensors +3 -0
- model-00027-of-00039.safetensors +3 -0
- model-00028-of-00039.safetensors +3 -0
- model-00029-of-00039.safetensors +3 -0
- model-00030-of-00039.safetensors +3 -0
- model-00031-of-00039.safetensors +3 -0
- model-00032-of-00039.safetensors +3 -0
- model-00033-of-00039.safetensors +3 -0
- model-00034-of-00039.safetensors +3 -0
- model-00035-of-00039.safetensors +3 -0
- model-00036-of-00039.safetensors +3 -0
- model-00037-of-00039.safetensors +3 -0
- model-00038-of-00039.safetensors +3 -0
- model-00039-of-00039.safetensors +3 -0
- model.safetensors.index.json +0 -0
- tokenizer.json +3 -0
- tokenizer_config.json +62 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* 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
|
|
|
|
|
|
| 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,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- zh
|
| 5 |
+
library_name: mlx
|
| 6 |
+
license: mit
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
base_model: zai-org/GLM-4.7
|
| 9 |
+
tags:
|
| 10 |
+
- mlx
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# FramedStone/GLM-4.7-Q4
|
| 14 |
+
|
| 15 |
+
This model [FramedStone/GLM-4.7-Q4](https://huggingface.co/FramedStone/GLM-4.7-Q4) was
|
| 16 |
+
converted to MLX format from [zai-org/GLM-4.7](https://huggingface.co/zai-org/GLM-4.7)
|
| 17 |
+
using mlx-lm version **0.30.2**.
|
| 18 |
+
|
| 19 |
+
## Use with mlx
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
pip install mlx-lm
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from mlx_lm import load, generate
|
| 27 |
+
|
| 28 |
+
model, tokenizer = load("FramedStone/GLM-4.7-Q4")
|
| 29 |
+
|
| 30 |
+
prompt = "hello"
|
| 31 |
+
|
| 32 |
+
if tokenizer.chat_template is not None:
|
| 33 |
+
messages = [{"role": "user", "content": prompt}]
|
| 34 |
+
prompt = tokenizer.apply_chat_template(
|
| 35 |
+
messages, add_generation_prompt=True, return_dict=False,
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 39 |
+
```
|
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,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Glm4MoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": true,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"eos_token_id": [
|
| 8 |
+
151329,
|
| 9 |
+
151336,
|
| 10 |
+
151338
|
| 11 |
+
],
|
| 12 |
+
"first_k_dense_replace": 3,
|
| 13 |
+
"head_dim": 128,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 5120,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 12288,
|
| 18 |
+
"max_position_embeddings": 202752,
|
| 19 |
+
"model_type": "glm4_moe",
|
| 20 |
+
"moe_intermediate_size": 1536,
|
| 21 |
+
"n_group": 1,
|
| 22 |
+
"n_routed_experts": 160,
|
| 23 |
+
"n_shared_experts": 1,
|
| 24 |
+
"norm_topk_prob": true,
|
| 25 |
+
"num_attention_heads": 96,
|
| 26 |
+
"num_experts_per_tok": 8,
|
| 27 |
+
"num_hidden_layers": 92,
|
| 28 |
+
"num_key_value_heads": 8,
|
| 29 |
+
"num_nextn_predict_layers": 1,
|
| 30 |
+
"pad_token_id": 151329,
|
| 31 |
+
"partial_rotary_factor": 0.5,
|
| 32 |
+
"quantization": {
|
| 33 |
+
"group_size": 64,
|
| 34 |
+
"bits": 4,
|
| 35 |
+
"mode": "affine"
|
| 36 |
+
},
|
| 37 |
+
"quantization_config": {
|
| 38 |
+
"group_size": 64,
|
| 39 |
+
"bits": 4,
|
| 40 |
+
"mode": "affine"
|
| 41 |
+
},
|
| 42 |
+
"rms_norm_eps": 1e-05,
|
| 43 |
+
"rope_scaling": null,
|
| 44 |
+
"rope_theta": 1000000,
|
| 45 |
+
"routed_scaling_factor": 2.5,
|
| 46 |
+
"tie_word_embeddings": false,
|
| 47 |
+
"topk_group": 1,
|
| 48 |
+
"torch_dtype": "bfloat16",
|
| 49 |
+
"transformers_version": "4.54.0",
|
| 50 |
+
"use_cache": true,
|
| 51 |
+
"use_qk_norm": true,
|
| 52 |
+
"vocab_size": 151552
|
| 53 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"eos_token_id": [
|
| 4 |
+
151329,
|
| 5 |
+
151336,
|
| 6 |
+
151338
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151329,
|
| 9 |
+
"temperature": 1.0,
|
| 10 |
+
"transformers_version": "4.56.2"
|
| 11 |
+
}
|
model-00001-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fed97147143381f41e1fb4e7cf7da8e713011c32dcea7fca4fb034dbd9bf94a2
|
| 3 |
+
size 5360926816
|
model-00002-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2807d8ee7d1bef4d63be47dc555d6523a8394f4cafd3c6e5a20ac3feedec3f51
|
| 3 |
+
size 5268767075
|
model-00003-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:726319ba210242c814d47b3044846e79bccad8158217c0bb4fffb7ddb4757909
|
| 3 |
+
size 5137804969
|
model-00004-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b11becf9038976a9e2108f16902ce8a370f560bd2cb105b291fcb042f23a284
|
| 3 |
+
size 5229445422
|
model-00005-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:756df9248be2e9995cdda46ee9cc37fcfcf73ac202c7e970ecb3b3e3b2bdb931
|
| 3 |
+
size 5137804982
|
model-00006-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2509e4efe4805359b7ed8b4e992441e94ce67db931dfbe0de9644405fd27ad61
|
| 3 |
+
size 5137805042
|
model-00007-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:231d1ef883861b4089282ab1abcbef002f98f6680276f892cab648f9e733f63c
|
| 3 |
+
size 5229445386
|
model-00008-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f7128bce3d04fba09531d5823816ad115adb5c9efe0c126bd94724b694003ef
|
| 3 |
+
size 5137805058
|
model-00009-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2b505089df494e95fcf7ab1b1a06a85b42b8a144f6bdbf1a5fe1f2e0da7bb83
|
| 3 |
+
size 5137805050
|
model-00010-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac8c45e122d066103bccbc8ab1ae3aa083b9cbacdb9339c12484bbedf8bbb5b5
|
| 3 |
+
size 5229445426
|
model-00011-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:043ea77203a2ca7c52a6f1f85b458efffaf34d4c5516c446c9918da491458697
|
| 3 |
+
size 5137804994
|
model-00012-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bbff1e1d70f01fd29f6589ce336073d7245300c9e903350d18d9b053056dfac
|
| 3 |
+
size 5137805088
|
model-00013-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:192fae7edde9650e805a741c0dd62933c8be24ed42350618a086b125a2a04cfb
|
| 3 |
+
size 5229445408
|
model-00014-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:668640ad51b8b98e724a9dd2491518ecb3f62fc24e4c408edce61d3ebeab7b77
|
| 3 |
+
size 5137805058
|
model-00015-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ec9d33233813dde368d000cab1ddb13494770b0f93c066c5f9672c03ac05bab
|
| 3 |
+
size 5137805046
|
model-00016-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fae759cf440df10c57e07ee34e8fe4a7dd791d0ccc05207ad480c4f204b08483
|
| 3 |
+
size 5229445388
|
model-00017-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51e0d4cd25d2b7cf46447d8689ea7266b18f02e5e5645293f00690d4cb7bba76
|
| 3 |
+
size 5137805020
|
model-00018-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7227c30ae3b20a4525f8d28f8412b1fef19706888bcc3af7f59a79566006409c
|
| 3 |
+
size 5137805050
|
model-00019-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddf02e8a22178ef1a5c71fca8ad87871906980d5774cb469fafdcedfa008206f
|
| 3 |
+
size 5229445386
|
model-00020-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:085f15c8e10e04b422eeeece6ddbb1c7d7bed584cd67724937265eba8e31a873
|
| 3 |
+
size 5137805054
|
model-00021-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c4be4c7c8b5f10d6b569c415ca3ca0471f77aa3e74de342c791bac3b2b3db4c
|
| 3 |
+
size 5137805018
|
model-00022-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8004d39c72432be07f342a508dd2a337974eaf2b7f32397d8b8d05ad6f3bd656
|
| 3 |
+
size 5229445342
|
model-00023-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e23c379b5b5c70d25194b3378897bbac6640174c55cd02c0ab48e04f4e781d2a
|
| 3 |
+
size 5137805062
|
model-00024-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f6695cde4282503117cee8da906200f4f7e6569167532eae86f56ff717986dd
|
| 3 |
+
size 5137805094
|
model-00025-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:677783266a665d04fd244b888b044b3c29e11aa431cc9cee7dab712a9c68cd4a
|
| 3 |
+
size 5229445330
|
model-00026-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe93b91bafc1eafe78f8736c1fbcb73d6f0f024a04ff457be37f25ba7da9ea39
|
| 3 |
+
size 5137805026
|
model-00027-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e269e0c99bc3dbb2d310f5b1ad07bdf7976322fc2d3eb2ba452a954ea03c8c6
|
| 3 |
+
size 5137805032
|
model-00028-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e0e43f92dc7582d501d4903acfa722cee7feebeb4272d12f0cf9504ebac000e
|
| 3 |
+
size 5229445402
|
model-00029-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78a71a5a636fb41bd42b8544ed8d8e77624caf6d5b4130ab25eea936fb4efb96
|
| 3 |
+
size 5137805022
|
model-00030-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b6d46b4221cdc7bc8b466fc31476b2c2912319e8f8e714170f7c058d686add3
|
| 3 |
+
size 5137805092
|
model-00031-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9be713aed4e158b9cefbbf065f7fc95650732f421e8c0695fe0e695af5564b2
|
| 3 |
+
size 5229445418
|
model-00032-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:391e888f16b530f21ee4c9b82734233524269011ee3762de927e2fb5118cf772
|
| 3 |
+
size 5137805034
|
model-00033-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee734726dec4c7666ab7d5326c3ac36354cc33fd3c638ea0641ea32d570a5281
|
| 3 |
+
size 5137805040
|
model-00034-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00d0c37ad2c7a704aab96751050fc087e1baed2b84a9a1e3dea9961ae8219bff
|
| 3 |
+
size 5229445420
|
model-00035-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c195f3347a3da806161b87c135e7d537edb417f6186dda4dbeca0f59a6d87454
|
| 3 |
+
size 5137805066
|
model-00036-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c1b700fabbf2ee748bd6cad55033b961f066ca8a625a38ac07484800081412c
|
| 3 |
+
size 5137805092
|
model-00037-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d013d131f4724b6531e67c0917333a7412f4e285e643bed9551509741a540be9
|
| 3 |
+
size 5229445412
|
model-00038-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64ef883e1d485460a249a88b6b079bce43635859062cacfc39cde01eb8c567c6
|
| 3 |
+
size 5137805056
|
model-00039-of-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e58695d499b47924407fdb563ad61f62d016e87d2669179a235785c5133abba2
|
| 3 |
+
size 1866990874
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0ccf2252fe9cd23ada23a829ec409aab397dbd2ac4f372d3a1a23d1f7c72d6b
|
| 3 |
+
size 19970686
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|endoftext|>",
|
| 4 |
+
"[MASK]",
|
| 5 |
+
"[gMASK]",
|
| 6 |
+
"[sMASK]",
|
| 7 |
+
"<sop>",
|
| 8 |
+
"<eop>",
|
| 9 |
+
"<|system|>",
|
| 10 |
+
"<|user|>",
|
| 11 |
+
"<|assistant|>",
|
| 12 |
+
"<|observation|>",
|
| 13 |
+
"<|begin_of_image|>",
|
| 14 |
+
"<|end_of_image|>",
|
| 15 |
+
"<|begin_of_video|>",
|
| 16 |
+
"<|end_of_video|>",
|
| 17 |
+
"<|begin_of_audio|>",
|
| 18 |
+
"<|end_of_audio|>",
|
| 19 |
+
"<|begin_of_transcription|>",
|
| 20 |
+
"<|end_of_transcription|>",
|
| 21 |
+
"<|code_prefix|>",
|
| 22 |
+
"<|code_middle|>",
|
| 23 |
+
"<|code_suffix|>",
|
| 24 |
+
"/nothink"
|
| 25 |
+
],
|
| 26 |
+
"backend": "tokenizers",
|
| 27 |
+
"clean_up_tokenization_spaces": false,
|
| 28 |
+
"do_lower_case": false,
|
| 29 |
+
"eos_token": "<|endoftext|>",
|
| 30 |
+
"extra_special_tokens": [
|
| 31 |
+
"<|endoftext|>",
|
| 32 |
+
"[MASK]",
|
| 33 |
+
"[gMASK]",
|
| 34 |
+
"[sMASK]",
|
| 35 |
+
"<sop>",
|
| 36 |
+
"<eop>",
|
| 37 |
+
"<|system|>",
|
| 38 |
+
"<|user|>",
|
| 39 |
+
"<|assistant|>",
|
| 40 |
+
"<|observation|>",
|
| 41 |
+
"<|begin_of_image|>",
|
| 42 |
+
"<|end_of_image|>",
|
| 43 |
+
"<|begin_of_video|>",
|
| 44 |
+
"<|end_of_video|>",
|
| 45 |
+
"<|begin_of_audio|>",
|
| 46 |
+
"<|end_of_audio|>",
|
| 47 |
+
"<|begin_of_transcription|>",
|
| 48 |
+
"<|end_of_transcription|>",
|
| 49 |
+
"<|code_prefix|>",
|
| 50 |
+
"<|code_middle|>",
|
| 51 |
+
"<|code_suffix|>",
|
| 52 |
+
"/nothink"
|
| 53 |
+
],
|
| 54 |
+
"is_local": true,
|
| 55 |
+
"model_max_length": 128000,
|
| 56 |
+
"model_specific_special_tokens": {},
|
| 57 |
+
"pad_token": "<|endoftext|>",
|
| 58 |
+
"padding_side": "left",
|
| 59 |
+
"remove_space": false,
|
| 60 |
+
"tokenizer_class": "TokenizersBackend",
|
| 61 |
+
"tool_parser_type": "glm47"
|
| 62 |
+
}
|