Add files using upload-large-folder tool
Browse files- .gitattributes +1 -0
- README.md +54 -0
- added_tokens.json +24 -0
- chat_template.jinja +54 -0
- config.json +956 -0
- merges.txt +0 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +208 -0
- vocab.json +0 -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,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: DavidAU/Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- merge
|
| 9 |
+
- programming
|
| 10 |
+
- code generation
|
| 11 |
+
- code
|
| 12 |
+
- codeqwen
|
| 13 |
+
- moe
|
| 14 |
+
- coding
|
| 15 |
+
- coder
|
| 16 |
+
- qwen2
|
| 17 |
+
- chat
|
| 18 |
+
- qwen
|
| 19 |
+
- qwen-coder
|
| 20 |
+
- mixture of experts
|
| 21 |
+
- qwen2moe
|
| 22 |
+
- 2X7B
|
| 23 |
+
- shared expert
|
| 24 |
+
- mlx
|
| 25 |
+
library_name: mlx
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B-dq68-mlx
|
| 29 |
+
|
| 30 |
+
This model [Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B-dq68-mlx](https://huggingface.co/Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B-dq68-mlx) was
|
| 31 |
+
converted to MLX format from [DavidAU/Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B](https://huggingface.co/DavidAU/Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B)
|
| 32 |
+
using mlx-lm version **0.26.0**.
|
| 33 |
+
|
| 34 |
+
## Use with mlx
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
pip install mlx-lm
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
```python
|
| 41 |
+
from mlx_lm import load, generate
|
| 42 |
+
|
| 43 |
+
model, tokenizer = load("Qwen2.5-2X7B-Coder-CodeV-R1-Coder-Instruct-OlympicCoder-19B-dq68-mlx")
|
| 44 |
+
|
| 45 |
+
prompt = "hello"
|
| 46 |
+
|
| 47 |
+
if tokenizer.chat_template is not None:
|
| 48 |
+
messages = [{"role": "user", "content": prompt}]
|
| 49 |
+
prompt = tokenizer.apply_chat_template(
|
| 50 |
+
messages, add_generation_prompt=True
|
| 51 |
+
)
|
| 52 |
+
|
| 53 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 54 |
+
```
|
added_tokens.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</tool_call>": 151658,
|
| 3 |
+
"<tool_call>": 151657,
|
| 4 |
+
"<|box_end|>": 151649,
|
| 5 |
+
"<|box_start|>": 151648,
|
| 6 |
+
"<|endoftext|>": 151643,
|
| 7 |
+
"<|file_sep|>": 151664,
|
| 8 |
+
"<|fim_middle|>": 151660,
|
| 9 |
+
"<|fim_pad|>": 151662,
|
| 10 |
+
"<|fim_prefix|>": 151659,
|
| 11 |
+
"<|fim_suffix|>": 151661,
|
| 12 |
+
"<|im_end|>": 151645,
|
| 13 |
+
"<|im_start|>": 151644,
|
| 14 |
+
"<|image_pad|>": 151655,
|
| 15 |
+
"<|object_ref_end|>": 151647,
|
| 16 |
+
"<|object_ref_start|>": 151646,
|
| 17 |
+
"<|quad_end|>": 151651,
|
| 18 |
+
"<|quad_start|>": 151650,
|
| 19 |
+
"<|repo_name|>": 151663,
|
| 20 |
+
"<|video_pad|>": 151656,
|
| 21 |
+
"<|vision_end|>": 151653,
|
| 22 |
+
"<|vision_pad|>": 151654,
|
| 23 |
+
"<|vision_start|>": 151652
|
| 24 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 4 |
+
{{- messages[0]['content'] }}
|
| 5 |
+
{%- else %}
|
| 6 |
+
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
| 7 |
+
{%- endif %}
|
| 8 |
+
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 9 |
+
{%- for tool in tools %}
|
| 10 |
+
{{- "\n" }}
|
| 11 |
+
{{- tool | tojson }}
|
| 12 |
+
{%- endfor %}
|
| 13 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 14 |
+
{%- else %}
|
| 15 |
+
{%- if messages[0]['role'] == 'system' %}
|
| 16 |
+
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
| 17 |
+
{%- else %}
|
| 18 |
+
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
| 19 |
+
{%- endif %}
|
| 20 |
+
{%- endif %}
|
| 21 |
+
{%- for message in messages %}
|
| 22 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
| 23 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
| 24 |
+
{%- elif message.role == "assistant" %}
|
| 25 |
+
{{- '<|im_start|>' + message.role }}
|
| 26 |
+
{%- if message.content %}
|
| 27 |
+
{{- '\n' + message.content }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{%- for tool_call in message.tool_calls %}
|
| 30 |
+
{%- if tool_call.function is defined %}
|
| 31 |
+
{%- set tool_call = tool_call.function %}
|
| 32 |
+
{%- endif %}
|
| 33 |
+
{{- '\n<tool_call>\n{"name": "' }}
|
| 34 |
+
{{- tool_call.name }}
|
| 35 |
+
{{- '", "arguments": ' }}
|
| 36 |
+
{{- tool_call.arguments | tojson }}
|
| 37 |
+
{{- '}\n</tool_call>' }}
|
| 38 |
+
{%- endfor %}
|
| 39 |
+
{{- '<|im_end|>\n' }}
|
| 40 |
+
{%- elif message.role == "tool" %}
|
| 41 |
+
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
| 42 |
+
{{- '<|im_start|>user' }}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{{- '\n<tool_response>\n' }}
|
| 45 |
+
{{- message.content }}
|
| 46 |
+
{{- '\n</tool_response>' }}
|
| 47 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 48 |
+
{{- '<|im_end|>\n' }}
|
| 49 |
+
{%- endif %}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{%- if add_generation_prompt %}
|
| 53 |
+
{{- '<|im_start|>assistant\n' }}
|
| 54 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,956 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2MoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"decoder_sparse_step": 1,
|
| 7 |
+
"embd_pdrop": 0.0,
|
| 8 |
+
"eos_token_id": 151645,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 3584,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 18944,
|
| 13 |
+
"max_position_embeddings": 32768,
|
| 14 |
+
"max_window_layers": 28,
|
| 15 |
+
"mlp_only_layers": [],
|
| 16 |
+
"model_type": "qwen2_moe",
|
| 17 |
+
"moe_intermediate_size": 18944,
|
| 18 |
+
"norm_topk_prob": true,
|
| 19 |
+
"num_attention_heads": 28,
|
| 20 |
+
"num_experts": 2,
|
| 21 |
+
"num_experts_per_tok": 2,
|
| 22 |
+
"num_hidden_layers": 28,
|
| 23 |
+
"num_key_value_heads": 4,
|
| 24 |
+
"output_router_logits": false,
|
| 25 |
+
"pad_token_id": 151643,
|
| 26 |
+
"qkv_bias": true,
|
| 27 |
+
"quantization": {
|
| 28 |
+
"group_size": 32,
|
| 29 |
+
"bits": 6,
|
| 30 |
+
"model.embed_tokens": true,
|
| 31 |
+
"model.layers.0.self_attn.q_proj": true,
|
| 32 |
+
"model.layers.0.self_attn.k_proj": true,
|
| 33 |
+
"model.layers.0.self_attn.v_proj": true,
|
| 34 |
+
"model.layers.0.self_attn.o_proj": true,
|
| 35 |
+
"model.layers.0.self_attn.rope": false,
|
| 36 |
+
"model.layers.0.mlp.gate": true,
|
| 37 |
+
"model.layers.0.mlp.switch_mlp.gate_proj": true,
|
| 38 |
+
"model.layers.0.mlp.switch_mlp.up_proj": true,
|
| 39 |
+
"model.layers.0.mlp.switch_mlp.down_proj": true,
|
| 40 |
+
"model.layers.0.mlp.switch_mlp.activation": false,
|
| 41 |
+
"model.layers.0.mlp.shared_expert.gate_proj": true,
|
| 42 |
+
"model.layers.0.mlp.shared_expert.down_proj": true,
|
| 43 |
+
"model.layers.0.mlp.shared_expert.up_proj": true,
|
| 44 |
+
"model.layers.0.mlp.shared_expert_gate": true,
|
| 45 |
+
"model.layers.0.input_layernorm": false,
|
| 46 |
+
"model.layers.0.post_attention_layernorm": false,
|
| 47 |
+
"model.layers.1.self_attn.q_proj": true,
|
| 48 |
+
"model.layers.1.self_attn.k_proj": true,
|
| 49 |
+
"model.layers.1.self_attn.v_proj": true,
|
| 50 |
+
"model.layers.1.self_attn.o_proj": true,
|
| 51 |
+
"model.layers.1.self_attn.rope": false,
|
| 52 |
+
"model.layers.1.mlp.gate": true,
|
| 53 |
+
"model.layers.1.mlp.switch_mlp.gate_proj": true,
|
| 54 |
+
"model.layers.1.mlp.switch_mlp.up_proj": true,
|
| 55 |
+
"model.layers.1.mlp.switch_mlp.down_proj": true,
|
| 56 |
+
"model.layers.1.mlp.switch_mlp.activation": false,
|
| 57 |
+
"model.layers.1.mlp.shared_expert.gate_proj": true,
|
| 58 |
+
"model.layers.1.mlp.shared_expert.down_proj": true,
|
| 59 |
+
"model.layers.1.mlp.shared_expert.up_proj": true,
|
| 60 |
+
"model.layers.1.mlp.shared_expert_gate": true,
|
| 61 |
+
"model.layers.1.input_layernorm": false,
|
| 62 |
+
"model.layers.1.post_attention_layernorm": false,
|
| 63 |
+
"model.layers.2.self_attn.q_proj": true,
|
| 64 |
+
"model.layers.2.self_attn.k_proj": true,
|
| 65 |
+
"model.layers.2.self_attn.v_proj": true,
|
| 66 |
+
"model.layers.2.self_attn.o_proj": true,
|
| 67 |
+
"model.layers.2.self_attn.rope": false,
|
| 68 |
+
"model.layers.2.mlp.gate": true,
|
| 69 |
+
"model.layers.2.mlp.switch_mlp.gate_proj": true,
|
| 70 |
+
"model.layers.2.mlp.switch_mlp.up_proj": true,
|
| 71 |
+
"model.layers.2.mlp.switch_mlp.down_proj": true,
|
| 72 |
+
"model.layers.2.mlp.switch_mlp.activation": false,
|
| 73 |
+
"model.layers.2.mlp.shared_expert.gate_proj": true,
|
| 74 |
+
"model.layers.2.mlp.shared_expert.down_proj": true,
|
| 75 |
+
"model.layers.2.mlp.shared_expert.up_proj": true,
|
| 76 |
+
"model.layers.2.mlp.shared_expert_gate": true,
|
| 77 |
+
"model.layers.2.input_layernorm": false,
|
| 78 |
+
"model.layers.2.post_attention_layernorm": false,
|
| 79 |
+
"model.layers.3.self_attn.q_proj": true,
|
| 80 |
+
"model.layers.3.self_attn.k_proj": true,
|
| 81 |
+
"model.layers.3.self_attn.v_proj": true,
|
| 82 |
+
"model.layers.3.self_attn.o_proj": true,
|
| 83 |
+
"model.layers.3.self_attn.rope": false,
|
| 84 |
+
"model.layers.3.mlp.gate": true,
|
| 85 |
+
"model.layers.3.mlp.switch_mlp.gate_proj": true,
|
| 86 |
+
"model.layers.3.mlp.switch_mlp.up_proj": true,
|
| 87 |
+
"model.layers.3.mlp.switch_mlp.down_proj": true,
|
| 88 |
+
"model.layers.3.mlp.switch_mlp.activation": false,
|
| 89 |
+
"model.layers.3.mlp.shared_expert.gate_proj": true,
|
| 90 |
+
"model.layers.3.mlp.shared_expert.down_proj": true,
|
| 91 |
+
"model.layers.3.mlp.shared_expert.up_proj": true,
|
| 92 |
+
"model.layers.3.mlp.shared_expert_gate": true,
|
| 93 |
+
"model.layers.3.input_layernorm": false,
|
| 94 |
+
"model.layers.3.post_attention_layernorm": false,
|
| 95 |
+
"model.layers.4.self_attn.q_proj": true,
|
| 96 |
+
"model.layers.4.self_attn.k_proj": true,
|
| 97 |
+
"model.layers.4.self_attn.v_proj": true,
|
| 98 |
+
"model.layers.4.self_attn.o_proj": true,
|
| 99 |
+
"model.layers.4.self_attn.rope": false,
|
| 100 |
+
"model.layers.4.mlp.gate": true,
|
| 101 |
+
"model.layers.4.mlp.switch_mlp.gate_proj": true,
|
| 102 |
+
"model.layers.4.mlp.switch_mlp.up_proj": true,
|
| 103 |
+
"model.layers.4.mlp.switch_mlp.down_proj": true,
|
| 104 |
+
"model.layers.4.mlp.switch_mlp.activation": false,
|
| 105 |
+
"model.layers.4.mlp.shared_expert.gate_proj": true,
|
| 106 |
+
"model.layers.4.mlp.shared_expert.down_proj": true,
|
| 107 |
+
"model.layers.4.mlp.shared_expert.up_proj": true,
|
| 108 |
+
"model.layers.4.mlp.shared_expert_gate": true,
|
| 109 |
+
"model.layers.4.input_layernorm": false,
|
| 110 |
+
"model.layers.4.post_attention_layernorm": false,
|
| 111 |
+
"model.layers.5.self_attn.q_proj": true,
|
| 112 |
+
"model.layers.5.self_attn.k_proj": true,
|
| 113 |
+
"model.layers.5.self_attn.v_proj": true,
|
| 114 |
+
"model.layers.5.self_attn.o_proj": true,
|
| 115 |
+
"model.layers.5.self_attn.rope": false,
|
| 116 |
+
"model.layers.5.mlp.gate": true,
|
| 117 |
+
"model.layers.5.mlp.switch_mlp.gate_proj": true,
|
| 118 |
+
"model.layers.5.mlp.switch_mlp.up_proj": true,
|
| 119 |
+
"model.layers.5.mlp.switch_mlp.down_proj": true,
|
| 120 |
+
"model.layers.5.mlp.switch_mlp.activation": false,
|
| 121 |
+
"model.layers.5.mlp.shared_expert.gate_proj": true,
|
| 122 |
+
"model.layers.5.mlp.shared_expert.down_proj": true,
|
| 123 |
+
"model.layers.5.mlp.shared_expert.up_proj": true,
|
| 124 |
+
"model.layers.5.mlp.shared_expert_gate": true,
|
| 125 |
+
"model.layers.5.input_layernorm": false,
|
| 126 |
+
"model.layers.5.post_attention_layernorm": false,
|
| 127 |
+
"model.layers.6.self_attn.q_proj": true,
|
| 128 |
+
"model.layers.6.self_attn.k_proj": true,
|
| 129 |
+
"model.layers.6.self_attn.v_proj": true,
|
| 130 |
+
"model.layers.6.self_attn.o_proj": true,
|
| 131 |
+
"model.layers.6.self_attn.rope": false,
|
| 132 |
+
"model.layers.6.mlp.gate": true,
|
| 133 |
+
"model.layers.6.mlp.switch_mlp.gate_proj": true,
|
| 134 |
+
"model.layers.6.mlp.switch_mlp.up_proj": true,
|
| 135 |
+
"model.layers.6.mlp.switch_mlp.down_proj": true,
|
| 136 |
+
"model.layers.6.mlp.switch_mlp.activation": false,
|
| 137 |
+
"model.layers.6.mlp.shared_expert.gate_proj": true,
|
| 138 |
+
"model.layers.6.mlp.shared_expert.down_proj": true,
|
| 139 |
+
"model.layers.6.mlp.shared_expert.up_proj": true,
|
| 140 |
+
"model.layers.6.mlp.shared_expert_gate": true,
|
| 141 |
+
"model.layers.6.input_layernorm": false,
|
| 142 |
+
"model.layers.6.post_attention_layernorm": false,
|
| 143 |
+
"model.layers.7.self_attn.q_proj": true,
|
| 144 |
+
"model.layers.7.self_attn.k_proj": true,
|
| 145 |
+
"model.layers.7.self_attn.v_proj": true,
|
| 146 |
+
"model.layers.7.self_attn.o_proj": true,
|
| 147 |
+
"model.layers.7.self_attn.rope": false,
|
| 148 |
+
"model.layers.7.mlp.gate": true,
|
| 149 |
+
"model.layers.7.mlp.switch_mlp.gate_proj": true,
|
| 150 |
+
"model.layers.7.mlp.switch_mlp.up_proj": true,
|
| 151 |
+
"model.layers.7.mlp.switch_mlp.down_proj": true,
|
| 152 |
+
"model.layers.7.mlp.switch_mlp.activation": false,
|
| 153 |
+
"model.layers.7.mlp.shared_expert.gate_proj": true,
|
| 154 |
+
"model.layers.7.mlp.shared_expert.down_proj": true,
|
| 155 |
+
"model.layers.7.mlp.shared_expert.up_proj": true,
|
| 156 |
+
"model.layers.7.mlp.shared_expert_gate": true,
|
| 157 |
+
"model.layers.7.input_layernorm": false,
|
| 158 |
+
"model.layers.7.post_attention_layernorm": false,
|
| 159 |
+
"model.layers.8.self_attn.q_proj": true,
|
| 160 |
+
"model.layers.8.self_attn.k_proj": true,
|
| 161 |
+
"model.layers.8.self_attn.v_proj": true,
|
| 162 |
+
"model.layers.8.self_attn.o_proj": true,
|
| 163 |
+
"model.layers.8.self_attn.rope": false,
|
| 164 |
+
"model.layers.8.mlp.gate": true,
|
| 165 |
+
"model.layers.8.mlp.switch_mlp.gate_proj": true,
|
| 166 |
+
"model.layers.8.mlp.switch_mlp.up_proj": true,
|
| 167 |
+
"model.layers.8.mlp.switch_mlp.down_proj": true,
|
| 168 |
+
"model.layers.8.mlp.switch_mlp.activation": false,
|
| 169 |
+
"model.layers.8.mlp.shared_expert.gate_proj": true,
|
| 170 |
+
"model.layers.8.mlp.shared_expert.down_proj": true,
|
| 171 |
+
"model.layers.8.mlp.shared_expert.up_proj": true,
|
| 172 |
+
"model.layers.8.mlp.shared_expert_gate": true,
|
| 173 |
+
"model.layers.8.input_layernorm": false,
|
| 174 |
+
"model.layers.8.post_attention_layernorm": false,
|
| 175 |
+
"model.layers.9.self_attn.q_proj": true,
|
| 176 |
+
"model.layers.9.self_attn.k_proj": true,
|
| 177 |
+
"model.layers.9.self_attn.v_proj": true,
|
| 178 |
+
"model.layers.9.self_attn.o_proj": true,
|
| 179 |
+
"model.layers.9.self_attn.rope": false,
|
| 180 |
+
"model.layers.9.mlp.gate": true,
|
| 181 |
+
"model.layers.9.mlp.switch_mlp.gate_proj": true,
|
| 182 |
+
"model.layers.9.mlp.switch_mlp.up_proj": true,
|
| 183 |
+
"model.layers.9.mlp.switch_mlp.down_proj": true,
|
| 184 |
+
"model.layers.9.mlp.switch_mlp.activation": false,
|
| 185 |
+
"model.layers.9.mlp.shared_expert.gate_proj": true,
|
| 186 |
+
"model.layers.9.mlp.shared_expert.down_proj": true,
|
| 187 |
+
"model.layers.9.mlp.shared_expert.up_proj": true,
|
| 188 |
+
"model.layers.9.mlp.shared_expert_gate": true,
|
| 189 |
+
"model.layers.9.input_layernorm": false,
|
| 190 |
+
"model.layers.9.post_attention_layernorm": false,
|
| 191 |
+
"model.layers.10.self_attn.q_proj": true,
|
| 192 |
+
"model.layers.10.self_attn.k_proj": true,
|
| 193 |
+
"model.layers.10.self_attn.v_proj": true,
|
| 194 |
+
"model.layers.10.self_attn.o_proj": true,
|
| 195 |
+
"model.layers.10.self_attn.rope": false,
|
| 196 |
+
"model.layers.10.mlp.gate": true,
|
| 197 |
+
"model.layers.10.mlp.switch_mlp.gate_proj": true,
|
| 198 |
+
"model.layers.10.mlp.switch_mlp.up_proj": true,
|
| 199 |
+
"model.layers.10.mlp.switch_mlp.down_proj": true,
|
| 200 |
+
"model.layers.10.mlp.switch_mlp.activation": false,
|
| 201 |
+
"model.layers.10.mlp.shared_expert.gate_proj": true,
|
| 202 |
+
"model.layers.10.mlp.shared_expert.down_proj": true,
|
| 203 |
+
"model.layers.10.mlp.shared_expert.up_proj": true,
|
| 204 |
+
"model.layers.10.mlp.shared_expert_gate": true,
|
| 205 |
+
"model.layers.10.input_layernorm": false,
|
| 206 |
+
"model.layers.10.post_attention_layernorm": false,
|
| 207 |
+
"model.layers.11.self_attn.q_proj": true,
|
| 208 |
+
"model.layers.11.self_attn.k_proj": true,
|
| 209 |
+
"model.layers.11.self_attn.v_proj": true,
|
| 210 |
+
"model.layers.11.self_attn.o_proj": true,
|
| 211 |
+
"model.layers.11.self_attn.rope": false,
|
| 212 |
+
"model.layers.11.mlp.gate": true,
|
| 213 |
+
"model.layers.11.mlp.switch_mlp.gate_proj": true,
|
| 214 |
+
"model.layers.11.mlp.switch_mlp.up_proj": true,
|
| 215 |
+
"model.layers.11.mlp.switch_mlp.down_proj": true,
|
| 216 |
+
"model.layers.11.mlp.switch_mlp.activation": false,
|
| 217 |
+
"model.layers.11.mlp.shared_expert.gate_proj": true,
|
| 218 |
+
"model.layers.11.mlp.shared_expert.down_proj": true,
|
| 219 |
+
"model.layers.11.mlp.shared_expert.up_proj": true,
|
| 220 |
+
"model.layers.11.mlp.shared_expert_gate": true,
|
| 221 |
+
"model.layers.11.input_layernorm": false,
|
| 222 |
+
"model.layers.11.post_attention_layernorm": false,
|
| 223 |
+
"model.layers.12.self_attn.q_proj": true,
|
| 224 |
+
"model.layers.12.self_attn.k_proj": true,
|
| 225 |
+
"model.layers.12.self_attn.v_proj": true,
|
| 226 |
+
"model.layers.12.self_attn.o_proj": true,
|
| 227 |
+
"model.layers.12.self_attn.rope": false,
|
| 228 |
+
"model.layers.12.mlp.gate": true,
|
| 229 |
+
"model.layers.12.mlp.switch_mlp.gate_proj": true,
|
| 230 |
+
"model.layers.12.mlp.switch_mlp.up_proj": true,
|
| 231 |
+
"model.layers.12.mlp.switch_mlp.down_proj": true,
|
| 232 |
+
"model.layers.12.mlp.switch_mlp.activation": false,
|
| 233 |
+
"model.layers.12.mlp.shared_expert.gate_proj": true,
|
| 234 |
+
"model.layers.12.mlp.shared_expert.down_proj": true,
|
| 235 |
+
"model.layers.12.mlp.shared_expert.up_proj": true,
|
| 236 |
+
"model.layers.12.mlp.shared_expert_gate": true,
|
| 237 |
+
"model.layers.12.input_layernorm": false,
|
| 238 |
+
"model.layers.12.post_attention_layernorm": false,
|
| 239 |
+
"model.layers.13.self_attn.q_proj": true,
|
| 240 |
+
"model.layers.13.self_attn.k_proj": true,
|
| 241 |
+
"model.layers.13.self_attn.v_proj": true,
|
| 242 |
+
"model.layers.13.self_attn.o_proj": true,
|
| 243 |
+
"model.layers.13.self_attn.rope": false,
|
| 244 |
+
"model.layers.13.mlp.gate": true,
|
| 245 |
+
"model.layers.13.mlp.switch_mlp.gate_proj": true,
|
| 246 |
+
"model.layers.13.mlp.switch_mlp.up_proj": true,
|
| 247 |
+
"model.layers.13.mlp.switch_mlp.down_proj": true,
|
| 248 |
+
"model.layers.13.mlp.switch_mlp.activation": false,
|
| 249 |
+
"model.layers.13.mlp.shared_expert.gate_proj": true,
|
| 250 |
+
"model.layers.13.mlp.shared_expert.down_proj": true,
|
| 251 |
+
"model.layers.13.mlp.shared_expert.up_proj": true,
|
| 252 |
+
"model.layers.13.mlp.shared_expert_gate": true,
|
| 253 |
+
"model.layers.13.input_layernorm": false,
|
| 254 |
+
"model.layers.13.post_attention_layernorm": false,
|
| 255 |
+
"model.layers.14.self_attn.q_proj": true,
|
| 256 |
+
"model.layers.14.self_attn.k_proj": true,
|
| 257 |
+
"model.layers.14.self_attn.v_proj": true,
|
| 258 |
+
"model.layers.14.self_attn.o_proj": true,
|
| 259 |
+
"model.layers.14.self_attn.rope": false,
|
| 260 |
+
"model.layers.14.mlp.gate": true,
|
| 261 |
+
"model.layers.14.mlp.switch_mlp.gate_proj": true,
|
| 262 |
+
"model.layers.14.mlp.switch_mlp.up_proj": true,
|
| 263 |
+
"model.layers.14.mlp.switch_mlp.down_proj": true,
|
| 264 |
+
"model.layers.14.mlp.switch_mlp.activation": false,
|
| 265 |
+
"model.layers.14.mlp.shared_expert.gate_proj": true,
|
| 266 |
+
"model.layers.14.mlp.shared_expert.down_proj": true,
|
| 267 |
+
"model.layers.14.mlp.shared_expert.up_proj": true,
|
| 268 |
+
"model.layers.14.mlp.shared_expert_gate": true,
|
| 269 |
+
"model.layers.14.input_layernorm": false,
|
| 270 |
+
"model.layers.14.post_attention_layernorm": false,
|
| 271 |
+
"model.layers.15.self_attn.q_proj": true,
|
| 272 |
+
"model.layers.15.self_attn.k_proj": true,
|
| 273 |
+
"model.layers.15.self_attn.v_proj": true,
|
| 274 |
+
"model.layers.15.self_attn.o_proj": true,
|
| 275 |
+
"model.layers.15.self_attn.rope": false,
|
| 276 |
+
"model.layers.15.mlp.gate": true,
|
| 277 |
+
"model.layers.15.mlp.switch_mlp.gate_proj": true,
|
| 278 |
+
"model.layers.15.mlp.switch_mlp.up_proj": true,
|
| 279 |
+
"model.layers.15.mlp.switch_mlp.down_proj": true,
|
| 280 |
+
"model.layers.15.mlp.switch_mlp.activation": false,
|
| 281 |
+
"model.layers.15.mlp.shared_expert.gate_proj": true,
|
| 282 |
+
"model.layers.15.mlp.shared_expert.down_proj": true,
|
| 283 |
+
"model.layers.15.mlp.shared_expert.up_proj": true,
|
| 284 |
+
"model.layers.15.mlp.shared_expert_gate": true,
|
| 285 |
+
"model.layers.15.input_layernorm": false,
|
| 286 |
+
"model.layers.15.post_attention_layernorm": false,
|
| 287 |
+
"model.layers.16.self_attn.q_proj": true,
|
| 288 |
+
"model.layers.16.self_attn.k_proj": true,
|
| 289 |
+
"model.layers.16.self_attn.v_proj": true,
|
| 290 |
+
"model.layers.16.self_attn.o_proj": true,
|
| 291 |
+
"model.layers.16.self_attn.rope": false,
|
| 292 |
+
"model.layers.16.mlp.gate": true,
|
| 293 |
+
"model.layers.16.mlp.switch_mlp.gate_proj": true,
|
| 294 |
+
"model.layers.16.mlp.switch_mlp.up_proj": true,
|
| 295 |
+
"model.layers.16.mlp.switch_mlp.down_proj": true,
|
| 296 |
+
"model.layers.16.mlp.switch_mlp.activation": false,
|
| 297 |
+
"model.layers.16.mlp.shared_expert.gate_proj": true,
|
| 298 |
+
"model.layers.16.mlp.shared_expert.down_proj": true,
|
| 299 |
+
"model.layers.16.mlp.shared_expert.up_proj": true,
|
| 300 |
+
"model.layers.16.mlp.shared_expert_gate": true,
|
| 301 |
+
"model.layers.16.input_layernorm": false,
|
| 302 |
+
"model.layers.16.post_attention_layernorm": false,
|
| 303 |
+
"model.layers.17.self_attn.q_proj": true,
|
| 304 |
+
"model.layers.17.self_attn.k_proj": true,
|
| 305 |
+
"model.layers.17.self_attn.v_proj": true,
|
| 306 |
+
"model.layers.17.self_attn.o_proj": true,
|
| 307 |
+
"model.layers.17.self_attn.rope": false,
|
| 308 |
+
"model.layers.17.mlp.gate": true,
|
| 309 |
+
"model.layers.17.mlp.switch_mlp.gate_proj": true,
|
| 310 |
+
"model.layers.17.mlp.switch_mlp.up_proj": true,
|
| 311 |
+
"model.layers.17.mlp.switch_mlp.down_proj": true,
|
| 312 |
+
"model.layers.17.mlp.switch_mlp.activation": false,
|
| 313 |
+
"model.layers.17.mlp.shared_expert.gate_proj": true,
|
| 314 |
+
"model.layers.17.mlp.shared_expert.down_proj": true,
|
| 315 |
+
"model.layers.17.mlp.shared_expert.up_proj": true,
|
| 316 |
+
"model.layers.17.mlp.shared_expert_gate": true,
|
| 317 |
+
"model.layers.17.input_layernorm": false,
|
| 318 |
+
"model.layers.17.post_attention_layernorm": false,
|
| 319 |
+
"model.layers.18.self_attn.q_proj": true,
|
| 320 |
+
"model.layers.18.self_attn.k_proj": true,
|
| 321 |
+
"model.layers.18.self_attn.v_proj": true,
|
| 322 |
+
"model.layers.18.self_attn.o_proj": true,
|
| 323 |
+
"model.layers.18.self_attn.rope": false,
|
| 324 |
+
"model.layers.18.mlp.gate": true,
|
| 325 |
+
"model.layers.18.mlp.switch_mlp.gate_proj": true,
|
| 326 |
+
"model.layers.18.mlp.switch_mlp.up_proj": true,
|
| 327 |
+
"model.layers.18.mlp.switch_mlp.down_proj": true,
|
| 328 |
+
"model.layers.18.mlp.switch_mlp.activation": false,
|
| 329 |
+
"model.layers.18.mlp.shared_expert.gate_proj": true,
|
| 330 |
+
"model.layers.18.mlp.shared_expert.down_proj": true,
|
| 331 |
+
"model.layers.18.mlp.shared_expert.up_proj": true,
|
| 332 |
+
"model.layers.18.mlp.shared_expert_gate": true,
|
| 333 |
+
"model.layers.18.input_layernorm": false,
|
| 334 |
+
"model.layers.18.post_attention_layernorm": false,
|
| 335 |
+
"model.layers.19.self_attn.q_proj": true,
|
| 336 |
+
"model.layers.19.self_attn.k_proj": true,
|
| 337 |
+
"model.layers.19.self_attn.v_proj": true,
|
| 338 |
+
"model.layers.19.self_attn.o_proj": true,
|
| 339 |
+
"model.layers.19.self_attn.rope": false,
|
| 340 |
+
"model.layers.19.mlp.gate": true,
|
| 341 |
+
"model.layers.19.mlp.switch_mlp.gate_proj": true,
|
| 342 |
+
"model.layers.19.mlp.switch_mlp.up_proj": true,
|
| 343 |
+
"model.layers.19.mlp.switch_mlp.down_proj": true,
|
| 344 |
+
"model.layers.19.mlp.switch_mlp.activation": false,
|
| 345 |
+
"model.layers.19.mlp.shared_expert.gate_proj": true,
|
| 346 |
+
"model.layers.19.mlp.shared_expert.down_proj": true,
|
| 347 |
+
"model.layers.19.mlp.shared_expert.up_proj": true,
|
| 348 |
+
"model.layers.19.mlp.shared_expert_gate": true,
|
| 349 |
+
"model.layers.19.input_layernorm": false,
|
| 350 |
+
"model.layers.19.post_attention_layernorm": false,
|
| 351 |
+
"model.layers.20.self_attn.q_proj": true,
|
| 352 |
+
"model.layers.20.self_attn.k_proj": true,
|
| 353 |
+
"model.layers.20.self_attn.v_proj": true,
|
| 354 |
+
"model.layers.20.self_attn.o_proj": true,
|
| 355 |
+
"model.layers.20.self_attn.rope": false,
|
| 356 |
+
"model.layers.20.mlp.gate": true,
|
| 357 |
+
"model.layers.20.mlp.switch_mlp.gate_proj": true,
|
| 358 |
+
"model.layers.20.mlp.switch_mlp.up_proj": true,
|
| 359 |
+
"model.layers.20.mlp.switch_mlp.down_proj": true,
|
| 360 |
+
"model.layers.20.mlp.switch_mlp.activation": false,
|
| 361 |
+
"model.layers.20.mlp.shared_expert.gate_proj": true,
|
| 362 |
+
"model.layers.20.mlp.shared_expert.down_proj": true,
|
| 363 |
+
"model.layers.20.mlp.shared_expert.up_proj": true,
|
| 364 |
+
"model.layers.20.mlp.shared_expert_gate": true,
|
| 365 |
+
"model.layers.20.input_layernorm": false,
|
| 366 |
+
"model.layers.20.post_attention_layernorm": false,
|
| 367 |
+
"model.layers.21.self_attn.q_proj": true,
|
| 368 |
+
"model.layers.21.self_attn.k_proj": true,
|
| 369 |
+
"model.layers.21.self_attn.v_proj": true,
|
| 370 |
+
"model.layers.21.self_attn.o_proj": true,
|
| 371 |
+
"model.layers.21.self_attn.rope": false,
|
| 372 |
+
"model.layers.21.mlp.gate": true,
|
| 373 |
+
"model.layers.21.mlp.switch_mlp.gate_proj": true,
|
| 374 |
+
"model.layers.21.mlp.switch_mlp.up_proj": true,
|
| 375 |
+
"model.layers.21.mlp.switch_mlp.down_proj": true,
|
| 376 |
+
"model.layers.21.mlp.switch_mlp.activation": false,
|
| 377 |
+
"model.layers.21.mlp.shared_expert.gate_proj": true,
|
| 378 |
+
"model.layers.21.mlp.shared_expert.down_proj": true,
|
| 379 |
+
"model.layers.21.mlp.shared_expert.up_proj": true,
|
| 380 |
+
"model.layers.21.mlp.shared_expert_gate": true,
|
| 381 |
+
"model.layers.21.input_layernorm": false,
|
| 382 |
+
"model.layers.21.post_attention_layernorm": false,
|
| 383 |
+
"model.layers.22.self_attn.q_proj": true,
|
| 384 |
+
"model.layers.22.self_attn.k_proj": true,
|
| 385 |
+
"model.layers.22.self_attn.v_proj": true,
|
| 386 |
+
"model.layers.22.self_attn.o_proj": true,
|
| 387 |
+
"model.layers.22.self_attn.rope": false,
|
| 388 |
+
"model.layers.22.mlp.gate": true,
|
| 389 |
+
"model.layers.22.mlp.switch_mlp.gate_proj": true,
|
| 390 |
+
"model.layers.22.mlp.switch_mlp.up_proj": true,
|
| 391 |
+
"model.layers.22.mlp.switch_mlp.down_proj": true,
|
| 392 |
+
"model.layers.22.mlp.switch_mlp.activation": false,
|
| 393 |
+
"model.layers.22.mlp.shared_expert.gate_proj": true,
|
| 394 |
+
"model.layers.22.mlp.shared_expert.down_proj": true,
|
| 395 |
+
"model.layers.22.mlp.shared_expert.up_proj": true,
|
| 396 |
+
"model.layers.22.mlp.shared_expert_gate": true,
|
| 397 |
+
"model.layers.22.input_layernorm": false,
|
| 398 |
+
"model.layers.22.post_attention_layernorm": false,
|
| 399 |
+
"model.layers.23.self_attn.q_proj": true,
|
| 400 |
+
"model.layers.23.self_attn.k_proj": true,
|
| 401 |
+
"model.layers.23.self_attn.v_proj": true,
|
| 402 |
+
"model.layers.23.self_attn.o_proj": true,
|
| 403 |
+
"model.layers.23.self_attn.rope": false,
|
| 404 |
+
"model.layers.23.mlp.gate": true,
|
| 405 |
+
"model.layers.23.mlp.switch_mlp.gate_proj": true,
|
| 406 |
+
"model.layers.23.mlp.switch_mlp.up_proj": true,
|
| 407 |
+
"model.layers.23.mlp.switch_mlp.down_proj": true,
|
| 408 |
+
"model.layers.23.mlp.switch_mlp.activation": false,
|
| 409 |
+
"model.layers.23.mlp.shared_expert.gate_proj": true,
|
| 410 |
+
"model.layers.23.mlp.shared_expert.down_proj": true,
|
| 411 |
+
"model.layers.23.mlp.shared_expert.up_proj": true,
|
| 412 |
+
"model.layers.23.mlp.shared_expert_gate": true,
|
| 413 |
+
"model.layers.23.input_layernorm": false,
|
| 414 |
+
"model.layers.23.post_attention_layernorm": false,
|
| 415 |
+
"model.layers.24.self_attn.q_proj": true,
|
| 416 |
+
"model.layers.24.self_attn.k_proj": true,
|
| 417 |
+
"model.layers.24.self_attn.v_proj": true,
|
| 418 |
+
"model.layers.24.self_attn.o_proj": true,
|
| 419 |
+
"model.layers.24.self_attn.rope": false,
|
| 420 |
+
"model.layers.24.mlp.gate": true,
|
| 421 |
+
"model.layers.24.mlp.switch_mlp.gate_proj": true,
|
| 422 |
+
"model.layers.24.mlp.switch_mlp.up_proj": true,
|
| 423 |
+
"model.layers.24.mlp.switch_mlp.down_proj": true,
|
| 424 |
+
"model.layers.24.mlp.switch_mlp.activation": false,
|
| 425 |
+
"model.layers.24.mlp.shared_expert.gate_proj": true,
|
| 426 |
+
"model.layers.24.mlp.shared_expert.down_proj": true,
|
| 427 |
+
"model.layers.24.mlp.shared_expert.up_proj": true,
|
| 428 |
+
"model.layers.24.mlp.shared_expert_gate": true,
|
| 429 |
+
"model.layers.24.input_layernorm": false,
|
| 430 |
+
"model.layers.24.post_attention_layernorm": false,
|
| 431 |
+
"model.layers.25.self_attn.q_proj": true,
|
| 432 |
+
"model.layers.25.self_attn.k_proj": true,
|
| 433 |
+
"model.layers.25.self_attn.v_proj": true,
|
| 434 |
+
"model.layers.25.self_attn.o_proj": true,
|
| 435 |
+
"model.layers.25.self_attn.rope": false,
|
| 436 |
+
"model.layers.25.mlp.gate": true,
|
| 437 |
+
"model.layers.25.mlp.switch_mlp.gate_proj": true,
|
| 438 |
+
"model.layers.25.mlp.switch_mlp.up_proj": true,
|
| 439 |
+
"model.layers.25.mlp.switch_mlp.down_proj": true,
|
| 440 |
+
"model.layers.25.mlp.switch_mlp.activation": false,
|
| 441 |
+
"model.layers.25.mlp.shared_expert.gate_proj": true,
|
| 442 |
+
"model.layers.25.mlp.shared_expert.down_proj": true,
|
| 443 |
+
"model.layers.25.mlp.shared_expert.up_proj": true,
|
| 444 |
+
"model.layers.25.mlp.shared_expert_gate": true,
|
| 445 |
+
"model.layers.25.input_layernorm": false,
|
| 446 |
+
"model.layers.25.post_attention_layernorm": false,
|
| 447 |
+
"model.layers.26.self_attn.q_proj": true,
|
| 448 |
+
"model.layers.26.self_attn.k_proj": true,
|
| 449 |
+
"model.layers.26.self_attn.v_proj": true,
|
| 450 |
+
"model.layers.26.self_attn.o_proj": true,
|
| 451 |
+
"model.layers.26.self_attn.rope": false,
|
| 452 |
+
"model.layers.26.mlp.gate": true,
|
| 453 |
+
"model.layers.26.mlp.switch_mlp.gate_proj": true,
|
| 454 |
+
"model.layers.26.mlp.switch_mlp.up_proj": true,
|
| 455 |
+
"model.layers.26.mlp.switch_mlp.down_proj": true,
|
| 456 |
+
"model.layers.26.mlp.switch_mlp.activation": false,
|
| 457 |
+
"model.layers.26.mlp.shared_expert.gate_proj": true,
|
| 458 |
+
"model.layers.26.mlp.shared_expert.down_proj": true,
|
| 459 |
+
"model.layers.26.mlp.shared_expert.up_proj": true,
|
| 460 |
+
"model.layers.26.mlp.shared_expert_gate": true,
|
| 461 |
+
"model.layers.26.input_layernorm": false,
|
| 462 |
+
"model.layers.26.post_attention_layernorm": false,
|
| 463 |
+
"model.layers.27.self_attn.q_proj": true,
|
| 464 |
+
"model.layers.27.self_attn.k_proj": true,
|
| 465 |
+
"model.layers.27.self_attn.v_proj": true,
|
| 466 |
+
"model.layers.27.self_attn.o_proj": true,
|
| 467 |
+
"model.layers.27.self_attn.rope": false,
|
| 468 |
+
"model.layers.27.mlp.gate": {
|
| 469 |
+
"bits": 8,
|
| 470 |
+
"group_size": 32
|
| 471 |
+
},
|
| 472 |
+
"model.layers.27.mlp.switch_mlp.gate_proj": true,
|
| 473 |
+
"model.layers.27.mlp.switch_mlp.up_proj": true,
|
| 474 |
+
"model.layers.27.mlp.switch_mlp.down_proj": true,
|
| 475 |
+
"model.layers.27.mlp.switch_mlp.activation": false,
|
| 476 |
+
"model.layers.27.mlp.shared_expert.gate_proj": true,
|
| 477 |
+
"model.layers.27.mlp.shared_expert.down_proj": true,
|
| 478 |
+
"model.layers.27.mlp.shared_expert.up_proj": true,
|
| 479 |
+
"model.layers.27.mlp.shared_expert_gate": true,
|
| 480 |
+
"model.layers.27.input_layernorm": false,
|
| 481 |
+
"model.layers.27.post_attention_layernorm": false,
|
| 482 |
+
"model.norm": false,
|
| 483 |
+
"lm_head": true
|
| 484 |
+
},
|
| 485 |
+
"quantization_config": {
|
| 486 |
+
"group_size": 32,
|
| 487 |
+
"bits": 6,
|
| 488 |
+
"model.embed_tokens": true,
|
| 489 |
+
"model.layers.0.self_attn.q_proj": true,
|
| 490 |
+
"model.layers.0.self_attn.k_proj": true,
|
| 491 |
+
"model.layers.0.self_attn.v_proj": true,
|
| 492 |
+
"model.layers.0.self_attn.o_proj": true,
|
| 493 |
+
"model.layers.0.self_attn.rope": false,
|
| 494 |
+
"model.layers.0.mlp.gate": true,
|
| 495 |
+
"model.layers.0.mlp.switch_mlp.gate_proj": true,
|
| 496 |
+
"model.layers.0.mlp.switch_mlp.up_proj": true,
|
| 497 |
+
"model.layers.0.mlp.switch_mlp.down_proj": true,
|
| 498 |
+
"model.layers.0.mlp.switch_mlp.activation": false,
|
| 499 |
+
"model.layers.0.mlp.shared_expert.gate_proj": true,
|
| 500 |
+
"model.layers.0.mlp.shared_expert.down_proj": true,
|
| 501 |
+
"model.layers.0.mlp.shared_expert.up_proj": true,
|
| 502 |
+
"model.layers.0.mlp.shared_expert_gate": true,
|
| 503 |
+
"model.layers.0.input_layernorm": false,
|
| 504 |
+
"model.layers.0.post_attention_layernorm": false,
|
| 505 |
+
"model.layers.1.self_attn.q_proj": true,
|
| 506 |
+
"model.layers.1.self_attn.k_proj": true,
|
| 507 |
+
"model.layers.1.self_attn.v_proj": true,
|
| 508 |
+
"model.layers.1.self_attn.o_proj": true,
|
| 509 |
+
"model.layers.1.self_attn.rope": false,
|
| 510 |
+
"model.layers.1.mlp.gate": true,
|
| 511 |
+
"model.layers.1.mlp.switch_mlp.gate_proj": true,
|
| 512 |
+
"model.layers.1.mlp.switch_mlp.up_proj": true,
|
| 513 |
+
"model.layers.1.mlp.switch_mlp.down_proj": true,
|
| 514 |
+
"model.layers.1.mlp.switch_mlp.activation": false,
|
| 515 |
+
"model.layers.1.mlp.shared_expert.gate_proj": true,
|
| 516 |
+
"model.layers.1.mlp.shared_expert.down_proj": true,
|
| 517 |
+
"model.layers.1.mlp.shared_expert.up_proj": true,
|
| 518 |
+
"model.layers.1.mlp.shared_expert_gate": true,
|
| 519 |
+
"model.layers.1.input_layernorm": false,
|
| 520 |
+
"model.layers.1.post_attention_layernorm": false,
|
| 521 |
+
"model.layers.2.self_attn.q_proj": true,
|
| 522 |
+
"model.layers.2.self_attn.k_proj": true,
|
| 523 |
+
"model.layers.2.self_attn.v_proj": true,
|
| 524 |
+
"model.layers.2.self_attn.o_proj": true,
|
| 525 |
+
"model.layers.2.self_attn.rope": false,
|
| 526 |
+
"model.layers.2.mlp.gate": true,
|
| 527 |
+
"model.layers.2.mlp.switch_mlp.gate_proj": true,
|
| 528 |
+
"model.layers.2.mlp.switch_mlp.up_proj": true,
|
| 529 |
+
"model.layers.2.mlp.switch_mlp.down_proj": true,
|
| 530 |
+
"model.layers.2.mlp.switch_mlp.activation": false,
|
| 531 |
+
"model.layers.2.mlp.shared_expert.gate_proj": true,
|
| 532 |
+
"model.layers.2.mlp.shared_expert.down_proj": true,
|
| 533 |
+
"model.layers.2.mlp.shared_expert.up_proj": true,
|
| 534 |
+
"model.layers.2.mlp.shared_expert_gate": true,
|
| 535 |
+
"model.layers.2.input_layernorm": false,
|
| 536 |
+
"model.layers.2.post_attention_layernorm": false,
|
| 537 |
+
"model.layers.3.self_attn.q_proj": true,
|
| 538 |
+
"model.layers.3.self_attn.k_proj": true,
|
| 539 |
+
"model.layers.3.self_attn.v_proj": true,
|
| 540 |
+
"model.layers.3.self_attn.o_proj": true,
|
| 541 |
+
"model.layers.3.self_attn.rope": false,
|
| 542 |
+
"model.layers.3.mlp.gate": true,
|
| 543 |
+
"model.layers.3.mlp.switch_mlp.gate_proj": true,
|
| 544 |
+
"model.layers.3.mlp.switch_mlp.up_proj": true,
|
| 545 |
+
"model.layers.3.mlp.switch_mlp.down_proj": true,
|
| 546 |
+
"model.layers.3.mlp.switch_mlp.activation": false,
|
| 547 |
+
"model.layers.3.mlp.shared_expert.gate_proj": true,
|
| 548 |
+
"model.layers.3.mlp.shared_expert.down_proj": true,
|
| 549 |
+
"model.layers.3.mlp.shared_expert.up_proj": true,
|
| 550 |
+
"model.layers.3.mlp.shared_expert_gate": true,
|
| 551 |
+
"model.layers.3.input_layernorm": false,
|
| 552 |
+
"model.layers.3.post_attention_layernorm": false,
|
| 553 |
+
"model.layers.4.self_attn.q_proj": true,
|
| 554 |
+
"model.layers.4.self_attn.k_proj": true,
|
| 555 |
+
"model.layers.4.self_attn.v_proj": true,
|
| 556 |
+
"model.layers.4.self_attn.o_proj": true,
|
| 557 |
+
"model.layers.4.self_attn.rope": false,
|
| 558 |
+
"model.layers.4.mlp.gate": true,
|
| 559 |
+
"model.layers.4.mlp.switch_mlp.gate_proj": true,
|
| 560 |
+
"model.layers.4.mlp.switch_mlp.up_proj": true,
|
| 561 |
+
"model.layers.4.mlp.switch_mlp.down_proj": true,
|
| 562 |
+
"model.layers.4.mlp.switch_mlp.activation": false,
|
| 563 |
+
"model.layers.4.mlp.shared_expert.gate_proj": true,
|
| 564 |
+
"model.layers.4.mlp.shared_expert.down_proj": true,
|
| 565 |
+
"model.layers.4.mlp.shared_expert.up_proj": true,
|
| 566 |
+
"model.layers.4.mlp.shared_expert_gate": true,
|
| 567 |
+
"model.layers.4.input_layernorm": false,
|
| 568 |
+
"model.layers.4.post_attention_layernorm": false,
|
| 569 |
+
"model.layers.5.self_attn.q_proj": true,
|
| 570 |
+
"model.layers.5.self_attn.k_proj": true,
|
| 571 |
+
"model.layers.5.self_attn.v_proj": true,
|
| 572 |
+
"model.layers.5.self_attn.o_proj": true,
|
| 573 |
+
"model.layers.5.self_attn.rope": false,
|
| 574 |
+
"model.layers.5.mlp.gate": true,
|
| 575 |
+
"model.layers.5.mlp.switch_mlp.gate_proj": true,
|
| 576 |
+
"model.layers.5.mlp.switch_mlp.up_proj": true,
|
| 577 |
+
"model.layers.5.mlp.switch_mlp.down_proj": true,
|
| 578 |
+
"model.layers.5.mlp.switch_mlp.activation": false,
|
| 579 |
+
"model.layers.5.mlp.shared_expert.gate_proj": true,
|
| 580 |
+
"model.layers.5.mlp.shared_expert.down_proj": true,
|
| 581 |
+
"model.layers.5.mlp.shared_expert.up_proj": true,
|
| 582 |
+
"model.layers.5.mlp.shared_expert_gate": true,
|
| 583 |
+
"model.layers.5.input_layernorm": false,
|
| 584 |
+
"model.layers.5.post_attention_layernorm": false,
|
| 585 |
+
"model.layers.6.self_attn.q_proj": true,
|
| 586 |
+
"model.layers.6.self_attn.k_proj": true,
|
| 587 |
+
"model.layers.6.self_attn.v_proj": true,
|
| 588 |
+
"model.layers.6.self_attn.o_proj": true,
|
| 589 |
+
"model.layers.6.self_attn.rope": false,
|
| 590 |
+
"model.layers.6.mlp.gate": true,
|
| 591 |
+
"model.layers.6.mlp.switch_mlp.gate_proj": true,
|
| 592 |
+
"model.layers.6.mlp.switch_mlp.up_proj": true,
|
| 593 |
+
"model.layers.6.mlp.switch_mlp.down_proj": true,
|
| 594 |
+
"model.layers.6.mlp.switch_mlp.activation": false,
|
| 595 |
+
"model.layers.6.mlp.shared_expert.gate_proj": true,
|
| 596 |
+
"model.layers.6.mlp.shared_expert.down_proj": true,
|
| 597 |
+
"model.layers.6.mlp.shared_expert.up_proj": true,
|
| 598 |
+
"model.layers.6.mlp.shared_expert_gate": true,
|
| 599 |
+
"model.layers.6.input_layernorm": false,
|
| 600 |
+
"model.layers.6.post_attention_layernorm": false,
|
| 601 |
+
"model.layers.7.self_attn.q_proj": true,
|
| 602 |
+
"model.layers.7.self_attn.k_proj": true,
|
| 603 |
+
"model.layers.7.self_attn.v_proj": true,
|
| 604 |
+
"model.layers.7.self_attn.o_proj": true,
|
| 605 |
+
"model.layers.7.self_attn.rope": false,
|
| 606 |
+
"model.layers.7.mlp.gate": true,
|
| 607 |
+
"model.layers.7.mlp.switch_mlp.gate_proj": true,
|
| 608 |
+
"model.layers.7.mlp.switch_mlp.up_proj": true,
|
| 609 |
+
"model.layers.7.mlp.switch_mlp.down_proj": true,
|
| 610 |
+
"model.layers.7.mlp.switch_mlp.activation": false,
|
| 611 |
+
"model.layers.7.mlp.shared_expert.gate_proj": true,
|
| 612 |
+
"model.layers.7.mlp.shared_expert.down_proj": true,
|
| 613 |
+
"model.layers.7.mlp.shared_expert.up_proj": true,
|
| 614 |
+
"model.layers.7.mlp.shared_expert_gate": true,
|
| 615 |
+
"model.layers.7.input_layernorm": false,
|
| 616 |
+
"model.layers.7.post_attention_layernorm": false,
|
| 617 |
+
"model.layers.8.self_attn.q_proj": true,
|
| 618 |
+
"model.layers.8.self_attn.k_proj": true,
|
| 619 |
+
"model.layers.8.self_attn.v_proj": true,
|
| 620 |
+
"model.layers.8.self_attn.o_proj": true,
|
| 621 |
+
"model.layers.8.self_attn.rope": false,
|
| 622 |
+
"model.layers.8.mlp.gate": true,
|
| 623 |
+
"model.layers.8.mlp.switch_mlp.gate_proj": true,
|
| 624 |
+
"model.layers.8.mlp.switch_mlp.up_proj": true,
|
| 625 |
+
"model.layers.8.mlp.switch_mlp.down_proj": true,
|
| 626 |
+
"model.layers.8.mlp.switch_mlp.activation": false,
|
| 627 |
+
"model.layers.8.mlp.shared_expert.gate_proj": true,
|
| 628 |
+
"model.layers.8.mlp.shared_expert.down_proj": true,
|
| 629 |
+
"model.layers.8.mlp.shared_expert.up_proj": true,
|
| 630 |
+
"model.layers.8.mlp.shared_expert_gate": true,
|
| 631 |
+
"model.layers.8.input_layernorm": false,
|
| 632 |
+
"model.layers.8.post_attention_layernorm": false,
|
| 633 |
+
"model.layers.9.self_attn.q_proj": true,
|
| 634 |
+
"model.layers.9.self_attn.k_proj": true,
|
| 635 |
+
"model.layers.9.self_attn.v_proj": true,
|
| 636 |
+
"model.layers.9.self_attn.o_proj": true,
|
| 637 |
+
"model.layers.9.self_attn.rope": false,
|
| 638 |
+
"model.layers.9.mlp.gate": true,
|
| 639 |
+
"model.layers.9.mlp.switch_mlp.gate_proj": true,
|
| 640 |
+
"model.layers.9.mlp.switch_mlp.up_proj": true,
|
| 641 |
+
"model.layers.9.mlp.switch_mlp.down_proj": true,
|
| 642 |
+
"model.layers.9.mlp.switch_mlp.activation": false,
|
| 643 |
+
"model.layers.9.mlp.shared_expert.gate_proj": true,
|
| 644 |
+
"model.layers.9.mlp.shared_expert.down_proj": true,
|
| 645 |
+
"model.layers.9.mlp.shared_expert.up_proj": true,
|
| 646 |
+
"model.layers.9.mlp.shared_expert_gate": true,
|
| 647 |
+
"model.layers.9.input_layernorm": false,
|
| 648 |
+
"model.layers.9.post_attention_layernorm": false,
|
| 649 |
+
"model.layers.10.self_attn.q_proj": true,
|
| 650 |
+
"model.layers.10.self_attn.k_proj": true,
|
| 651 |
+
"model.layers.10.self_attn.v_proj": true,
|
| 652 |
+
"model.layers.10.self_attn.o_proj": true,
|
| 653 |
+
"model.layers.10.self_attn.rope": false,
|
| 654 |
+
"model.layers.10.mlp.gate": true,
|
| 655 |
+
"model.layers.10.mlp.switch_mlp.gate_proj": true,
|
| 656 |
+
"model.layers.10.mlp.switch_mlp.up_proj": true,
|
| 657 |
+
"model.layers.10.mlp.switch_mlp.down_proj": true,
|
| 658 |
+
"model.layers.10.mlp.switch_mlp.activation": false,
|
| 659 |
+
"model.layers.10.mlp.shared_expert.gate_proj": true,
|
| 660 |
+
"model.layers.10.mlp.shared_expert.down_proj": true,
|
| 661 |
+
"model.layers.10.mlp.shared_expert.up_proj": true,
|
| 662 |
+
"model.layers.10.mlp.shared_expert_gate": true,
|
| 663 |
+
"model.layers.10.input_layernorm": false,
|
| 664 |
+
"model.layers.10.post_attention_layernorm": false,
|
| 665 |
+
"model.layers.11.self_attn.q_proj": true,
|
| 666 |
+
"model.layers.11.self_attn.k_proj": true,
|
| 667 |
+
"model.layers.11.self_attn.v_proj": true,
|
| 668 |
+
"model.layers.11.self_attn.o_proj": true,
|
| 669 |
+
"model.layers.11.self_attn.rope": false,
|
| 670 |
+
"model.layers.11.mlp.gate": true,
|
| 671 |
+
"model.layers.11.mlp.switch_mlp.gate_proj": true,
|
| 672 |
+
"model.layers.11.mlp.switch_mlp.up_proj": true,
|
| 673 |
+
"model.layers.11.mlp.switch_mlp.down_proj": true,
|
| 674 |
+
"model.layers.11.mlp.switch_mlp.activation": false,
|
| 675 |
+
"model.layers.11.mlp.shared_expert.gate_proj": true,
|
| 676 |
+
"model.layers.11.mlp.shared_expert.down_proj": true,
|
| 677 |
+
"model.layers.11.mlp.shared_expert.up_proj": true,
|
| 678 |
+
"model.layers.11.mlp.shared_expert_gate": true,
|
| 679 |
+
"model.layers.11.input_layernorm": false,
|
| 680 |
+
"model.layers.11.post_attention_layernorm": false,
|
| 681 |
+
"model.layers.12.self_attn.q_proj": true,
|
| 682 |
+
"model.layers.12.self_attn.k_proj": true,
|
| 683 |
+
"model.layers.12.self_attn.v_proj": true,
|
| 684 |
+
"model.layers.12.self_attn.o_proj": true,
|
| 685 |
+
"model.layers.12.self_attn.rope": false,
|
| 686 |
+
"model.layers.12.mlp.gate": true,
|
| 687 |
+
"model.layers.12.mlp.switch_mlp.gate_proj": true,
|
| 688 |
+
"model.layers.12.mlp.switch_mlp.up_proj": true,
|
| 689 |
+
"model.layers.12.mlp.switch_mlp.down_proj": true,
|
| 690 |
+
"model.layers.12.mlp.switch_mlp.activation": false,
|
| 691 |
+
"model.layers.12.mlp.shared_expert.gate_proj": true,
|
| 692 |
+
"model.layers.12.mlp.shared_expert.down_proj": true,
|
| 693 |
+
"model.layers.12.mlp.shared_expert.up_proj": true,
|
| 694 |
+
"model.layers.12.mlp.shared_expert_gate": true,
|
| 695 |
+
"model.layers.12.input_layernorm": false,
|
| 696 |
+
"model.layers.12.post_attention_layernorm": false,
|
| 697 |
+
"model.layers.13.self_attn.q_proj": true,
|
| 698 |
+
"model.layers.13.self_attn.k_proj": true,
|
| 699 |
+
"model.layers.13.self_attn.v_proj": true,
|
| 700 |
+
"model.layers.13.self_attn.o_proj": true,
|
| 701 |
+
"model.layers.13.self_attn.rope": false,
|
| 702 |
+
"model.layers.13.mlp.gate": true,
|
| 703 |
+
"model.layers.13.mlp.switch_mlp.gate_proj": true,
|
| 704 |
+
"model.layers.13.mlp.switch_mlp.up_proj": true,
|
| 705 |
+
"model.layers.13.mlp.switch_mlp.down_proj": true,
|
| 706 |
+
"model.layers.13.mlp.switch_mlp.activation": false,
|
| 707 |
+
"model.layers.13.mlp.shared_expert.gate_proj": true,
|
| 708 |
+
"model.layers.13.mlp.shared_expert.down_proj": true,
|
| 709 |
+
"model.layers.13.mlp.shared_expert.up_proj": true,
|
| 710 |
+
"model.layers.13.mlp.shared_expert_gate": true,
|
| 711 |
+
"model.layers.13.input_layernorm": false,
|
| 712 |
+
"model.layers.13.post_attention_layernorm": false,
|
| 713 |
+
"model.layers.14.self_attn.q_proj": true,
|
| 714 |
+
"model.layers.14.self_attn.k_proj": true,
|
| 715 |
+
"model.layers.14.self_attn.v_proj": true,
|
| 716 |
+
"model.layers.14.self_attn.o_proj": true,
|
| 717 |
+
"model.layers.14.self_attn.rope": false,
|
| 718 |
+
"model.layers.14.mlp.gate": true,
|
| 719 |
+
"model.layers.14.mlp.switch_mlp.gate_proj": true,
|
| 720 |
+
"model.layers.14.mlp.switch_mlp.up_proj": true,
|
| 721 |
+
"model.layers.14.mlp.switch_mlp.down_proj": true,
|
| 722 |
+
"model.layers.14.mlp.switch_mlp.activation": false,
|
| 723 |
+
"model.layers.14.mlp.shared_expert.gate_proj": true,
|
| 724 |
+
"model.layers.14.mlp.shared_expert.down_proj": true,
|
| 725 |
+
"model.layers.14.mlp.shared_expert.up_proj": true,
|
| 726 |
+
"model.layers.14.mlp.shared_expert_gate": true,
|
| 727 |
+
"model.layers.14.input_layernorm": false,
|
| 728 |
+
"model.layers.14.post_attention_layernorm": false,
|
| 729 |
+
"model.layers.15.self_attn.q_proj": true,
|
| 730 |
+
"model.layers.15.self_attn.k_proj": true,
|
| 731 |
+
"model.layers.15.self_attn.v_proj": true,
|
| 732 |
+
"model.layers.15.self_attn.o_proj": true,
|
| 733 |
+
"model.layers.15.self_attn.rope": false,
|
| 734 |
+
"model.layers.15.mlp.gate": true,
|
| 735 |
+
"model.layers.15.mlp.switch_mlp.gate_proj": true,
|
| 736 |
+
"model.layers.15.mlp.switch_mlp.up_proj": true,
|
| 737 |
+
"model.layers.15.mlp.switch_mlp.down_proj": true,
|
| 738 |
+
"model.layers.15.mlp.switch_mlp.activation": false,
|
| 739 |
+
"model.layers.15.mlp.shared_expert.gate_proj": true,
|
| 740 |
+
"model.layers.15.mlp.shared_expert.down_proj": true,
|
| 741 |
+
"model.layers.15.mlp.shared_expert.up_proj": true,
|
| 742 |
+
"model.layers.15.mlp.shared_expert_gate": true,
|
| 743 |
+
"model.layers.15.input_layernorm": false,
|
| 744 |
+
"model.layers.15.post_attention_layernorm": false,
|
| 745 |
+
"model.layers.16.self_attn.q_proj": true,
|
| 746 |
+
"model.layers.16.self_attn.k_proj": true,
|
| 747 |
+
"model.layers.16.self_attn.v_proj": true,
|
| 748 |
+
"model.layers.16.self_attn.o_proj": true,
|
| 749 |
+
"model.layers.16.self_attn.rope": false,
|
| 750 |
+
"model.layers.16.mlp.gate": true,
|
| 751 |
+
"model.layers.16.mlp.switch_mlp.gate_proj": true,
|
| 752 |
+
"model.layers.16.mlp.switch_mlp.up_proj": true,
|
| 753 |
+
"model.layers.16.mlp.switch_mlp.down_proj": true,
|
| 754 |
+
"model.layers.16.mlp.switch_mlp.activation": false,
|
| 755 |
+
"model.layers.16.mlp.shared_expert.gate_proj": true,
|
| 756 |
+
"model.layers.16.mlp.shared_expert.down_proj": true,
|
| 757 |
+
"model.layers.16.mlp.shared_expert.up_proj": true,
|
| 758 |
+
"model.layers.16.mlp.shared_expert_gate": true,
|
| 759 |
+
"model.layers.16.input_layernorm": false,
|
| 760 |
+
"model.layers.16.post_attention_layernorm": false,
|
| 761 |
+
"model.layers.17.self_attn.q_proj": true,
|
| 762 |
+
"model.layers.17.self_attn.k_proj": true,
|
| 763 |
+
"model.layers.17.self_attn.v_proj": true,
|
| 764 |
+
"model.layers.17.self_attn.o_proj": true,
|
| 765 |
+
"model.layers.17.self_attn.rope": false,
|
| 766 |
+
"model.layers.17.mlp.gate": true,
|
| 767 |
+
"model.layers.17.mlp.switch_mlp.gate_proj": true,
|
| 768 |
+
"model.layers.17.mlp.switch_mlp.up_proj": true,
|
| 769 |
+
"model.layers.17.mlp.switch_mlp.down_proj": true,
|
| 770 |
+
"model.layers.17.mlp.switch_mlp.activation": false,
|
| 771 |
+
"model.layers.17.mlp.shared_expert.gate_proj": true,
|
| 772 |
+
"model.layers.17.mlp.shared_expert.down_proj": true,
|
| 773 |
+
"model.layers.17.mlp.shared_expert.up_proj": true,
|
| 774 |
+
"model.layers.17.mlp.shared_expert_gate": true,
|
| 775 |
+
"model.layers.17.input_layernorm": false,
|
| 776 |
+
"model.layers.17.post_attention_layernorm": false,
|
| 777 |
+
"model.layers.18.self_attn.q_proj": true,
|
| 778 |
+
"model.layers.18.self_attn.k_proj": true,
|
| 779 |
+
"model.layers.18.self_attn.v_proj": true,
|
| 780 |
+
"model.layers.18.self_attn.o_proj": true,
|
| 781 |
+
"model.layers.18.self_attn.rope": false,
|
| 782 |
+
"model.layers.18.mlp.gate": true,
|
| 783 |
+
"model.layers.18.mlp.switch_mlp.gate_proj": true,
|
| 784 |
+
"model.layers.18.mlp.switch_mlp.up_proj": true,
|
| 785 |
+
"model.layers.18.mlp.switch_mlp.down_proj": true,
|
| 786 |
+
"model.layers.18.mlp.switch_mlp.activation": false,
|
| 787 |
+
"model.layers.18.mlp.shared_expert.gate_proj": true,
|
| 788 |
+
"model.layers.18.mlp.shared_expert.down_proj": true,
|
| 789 |
+
"model.layers.18.mlp.shared_expert.up_proj": true,
|
| 790 |
+
"model.layers.18.mlp.shared_expert_gate": true,
|
| 791 |
+
"model.layers.18.input_layernorm": false,
|
| 792 |
+
"model.layers.18.post_attention_layernorm": false,
|
| 793 |
+
"model.layers.19.self_attn.q_proj": true,
|
| 794 |
+
"model.layers.19.self_attn.k_proj": true,
|
| 795 |
+
"model.layers.19.self_attn.v_proj": true,
|
| 796 |
+
"model.layers.19.self_attn.o_proj": true,
|
| 797 |
+
"model.layers.19.self_attn.rope": false,
|
| 798 |
+
"model.layers.19.mlp.gate": true,
|
| 799 |
+
"model.layers.19.mlp.switch_mlp.gate_proj": true,
|
| 800 |
+
"model.layers.19.mlp.switch_mlp.up_proj": true,
|
| 801 |
+
"model.layers.19.mlp.switch_mlp.down_proj": true,
|
| 802 |
+
"model.layers.19.mlp.switch_mlp.activation": false,
|
| 803 |
+
"model.layers.19.mlp.shared_expert.gate_proj": true,
|
| 804 |
+
"model.layers.19.mlp.shared_expert.down_proj": true,
|
| 805 |
+
"model.layers.19.mlp.shared_expert.up_proj": true,
|
| 806 |
+
"model.layers.19.mlp.shared_expert_gate": true,
|
| 807 |
+
"model.layers.19.input_layernorm": false,
|
| 808 |
+
"model.layers.19.post_attention_layernorm": false,
|
| 809 |
+
"model.layers.20.self_attn.q_proj": true,
|
| 810 |
+
"model.layers.20.self_attn.k_proj": true,
|
| 811 |
+
"model.layers.20.self_attn.v_proj": true,
|
| 812 |
+
"model.layers.20.self_attn.o_proj": true,
|
| 813 |
+
"model.layers.20.self_attn.rope": false,
|
| 814 |
+
"model.layers.20.mlp.gate": true,
|
| 815 |
+
"model.layers.20.mlp.switch_mlp.gate_proj": true,
|
| 816 |
+
"model.layers.20.mlp.switch_mlp.up_proj": true,
|
| 817 |
+
"model.layers.20.mlp.switch_mlp.down_proj": true,
|
| 818 |
+
"model.layers.20.mlp.switch_mlp.activation": false,
|
| 819 |
+
"model.layers.20.mlp.shared_expert.gate_proj": true,
|
| 820 |
+
"model.layers.20.mlp.shared_expert.down_proj": true,
|
| 821 |
+
"model.layers.20.mlp.shared_expert.up_proj": true,
|
| 822 |
+
"model.layers.20.mlp.shared_expert_gate": true,
|
| 823 |
+
"model.layers.20.input_layernorm": false,
|
| 824 |
+
"model.layers.20.post_attention_layernorm": false,
|
| 825 |
+
"model.layers.21.self_attn.q_proj": true,
|
| 826 |
+
"model.layers.21.self_attn.k_proj": true,
|
| 827 |
+
"model.layers.21.self_attn.v_proj": true,
|
| 828 |
+
"model.layers.21.self_attn.o_proj": true,
|
| 829 |
+
"model.layers.21.self_attn.rope": false,
|
| 830 |
+
"model.layers.21.mlp.gate": true,
|
| 831 |
+
"model.layers.21.mlp.switch_mlp.gate_proj": true,
|
| 832 |
+
"model.layers.21.mlp.switch_mlp.up_proj": true,
|
| 833 |
+
"model.layers.21.mlp.switch_mlp.down_proj": true,
|
| 834 |
+
"model.layers.21.mlp.switch_mlp.activation": false,
|
| 835 |
+
"model.layers.21.mlp.shared_expert.gate_proj": true,
|
| 836 |
+
"model.layers.21.mlp.shared_expert.down_proj": true,
|
| 837 |
+
"model.layers.21.mlp.shared_expert.up_proj": true,
|
| 838 |
+
"model.layers.21.mlp.shared_expert_gate": true,
|
| 839 |
+
"model.layers.21.input_layernorm": false,
|
| 840 |
+
"model.layers.21.post_attention_layernorm": false,
|
| 841 |
+
"model.layers.22.self_attn.q_proj": true,
|
| 842 |
+
"model.layers.22.self_attn.k_proj": true,
|
| 843 |
+
"model.layers.22.self_attn.v_proj": true,
|
| 844 |
+
"model.layers.22.self_attn.o_proj": true,
|
| 845 |
+
"model.layers.22.self_attn.rope": false,
|
| 846 |
+
"model.layers.22.mlp.gate": true,
|
| 847 |
+
"model.layers.22.mlp.switch_mlp.gate_proj": true,
|
| 848 |
+
"model.layers.22.mlp.switch_mlp.up_proj": true,
|
| 849 |
+
"model.layers.22.mlp.switch_mlp.down_proj": true,
|
| 850 |
+
"model.layers.22.mlp.switch_mlp.activation": false,
|
| 851 |
+
"model.layers.22.mlp.shared_expert.gate_proj": true,
|
| 852 |
+
"model.layers.22.mlp.shared_expert.down_proj": true,
|
| 853 |
+
"model.layers.22.mlp.shared_expert.up_proj": true,
|
| 854 |
+
"model.layers.22.mlp.shared_expert_gate": true,
|
| 855 |
+
"model.layers.22.input_layernorm": false,
|
| 856 |
+
"model.layers.22.post_attention_layernorm": false,
|
| 857 |
+
"model.layers.23.self_attn.q_proj": true,
|
| 858 |
+
"model.layers.23.self_attn.k_proj": true,
|
| 859 |
+
"model.layers.23.self_attn.v_proj": true,
|
| 860 |
+
"model.layers.23.self_attn.o_proj": true,
|
| 861 |
+
"model.layers.23.self_attn.rope": false,
|
| 862 |
+
"model.layers.23.mlp.gate": true,
|
| 863 |
+
"model.layers.23.mlp.switch_mlp.gate_proj": true,
|
| 864 |
+
"model.layers.23.mlp.switch_mlp.up_proj": true,
|
| 865 |
+
"model.layers.23.mlp.switch_mlp.down_proj": true,
|
| 866 |
+
"model.layers.23.mlp.switch_mlp.activation": false,
|
| 867 |
+
"model.layers.23.mlp.shared_expert.gate_proj": true,
|
| 868 |
+
"model.layers.23.mlp.shared_expert.down_proj": true,
|
| 869 |
+
"model.layers.23.mlp.shared_expert.up_proj": true,
|
| 870 |
+
"model.layers.23.mlp.shared_expert_gate": true,
|
| 871 |
+
"model.layers.23.input_layernorm": false,
|
| 872 |
+
"model.layers.23.post_attention_layernorm": false,
|
| 873 |
+
"model.layers.24.self_attn.q_proj": true,
|
| 874 |
+
"model.layers.24.self_attn.k_proj": true,
|
| 875 |
+
"model.layers.24.self_attn.v_proj": true,
|
| 876 |
+
"model.layers.24.self_attn.o_proj": true,
|
| 877 |
+
"model.layers.24.self_attn.rope": false,
|
| 878 |
+
"model.layers.24.mlp.gate": true,
|
| 879 |
+
"model.layers.24.mlp.switch_mlp.gate_proj": true,
|
| 880 |
+
"model.layers.24.mlp.switch_mlp.up_proj": true,
|
| 881 |
+
"model.layers.24.mlp.switch_mlp.down_proj": true,
|
| 882 |
+
"model.layers.24.mlp.switch_mlp.activation": false,
|
| 883 |
+
"model.layers.24.mlp.shared_expert.gate_proj": true,
|
| 884 |
+
"model.layers.24.mlp.shared_expert.down_proj": true,
|
| 885 |
+
"model.layers.24.mlp.shared_expert.up_proj": true,
|
| 886 |
+
"model.layers.24.mlp.shared_expert_gate": true,
|
| 887 |
+
"model.layers.24.input_layernorm": false,
|
| 888 |
+
"model.layers.24.post_attention_layernorm": false,
|
| 889 |
+
"model.layers.25.self_attn.q_proj": true,
|
| 890 |
+
"model.layers.25.self_attn.k_proj": true,
|
| 891 |
+
"model.layers.25.self_attn.v_proj": true,
|
| 892 |
+
"model.layers.25.self_attn.o_proj": true,
|
| 893 |
+
"model.layers.25.self_attn.rope": false,
|
| 894 |
+
"model.layers.25.mlp.gate": true,
|
| 895 |
+
"model.layers.25.mlp.switch_mlp.gate_proj": true,
|
| 896 |
+
"model.layers.25.mlp.switch_mlp.up_proj": true,
|
| 897 |
+
"model.layers.25.mlp.switch_mlp.down_proj": true,
|
| 898 |
+
"model.layers.25.mlp.switch_mlp.activation": false,
|
| 899 |
+
"model.layers.25.mlp.shared_expert.gate_proj": true,
|
| 900 |
+
"model.layers.25.mlp.shared_expert.down_proj": true,
|
| 901 |
+
"model.layers.25.mlp.shared_expert.up_proj": true,
|
| 902 |
+
"model.layers.25.mlp.shared_expert_gate": true,
|
| 903 |
+
"model.layers.25.input_layernorm": false,
|
| 904 |
+
"model.layers.25.post_attention_layernorm": false,
|
| 905 |
+
"model.layers.26.self_attn.q_proj": true,
|
| 906 |
+
"model.layers.26.self_attn.k_proj": true,
|
| 907 |
+
"model.layers.26.self_attn.v_proj": true,
|
| 908 |
+
"model.layers.26.self_attn.o_proj": true,
|
| 909 |
+
"model.layers.26.self_attn.rope": false,
|
| 910 |
+
"model.layers.26.mlp.gate": true,
|
| 911 |
+
"model.layers.26.mlp.switch_mlp.gate_proj": true,
|
| 912 |
+
"model.layers.26.mlp.switch_mlp.up_proj": true,
|
| 913 |
+
"model.layers.26.mlp.switch_mlp.down_proj": true,
|
| 914 |
+
"model.layers.26.mlp.switch_mlp.activation": false,
|
| 915 |
+
"model.layers.26.mlp.shared_expert.gate_proj": true,
|
| 916 |
+
"model.layers.26.mlp.shared_expert.down_proj": true,
|
| 917 |
+
"model.layers.26.mlp.shared_expert.up_proj": true,
|
| 918 |
+
"model.layers.26.mlp.shared_expert_gate": true,
|
| 919 |
+
"model.layers.26.input_layernorm": false,
|
| 920 |
+
"model.layers.26.post_attention_layernorm": false,
|
| 921 |
+
"model.layers.27.self_attn.q_proj": true,
|
| 922 |
+
"model.layers.27.self_attn.k_proj": true,
|
| 923 |
+
"model.layers.27.self_attn.v_proj": true,
|
| 924 |
+
"model.layers.27.self_attn.o_proj": true,
|
| 925 |
+
"model.layers.27.self_attn.rope": false,
|
| 926 |
+
"model.layers.27.mlp.gate": {
|
| 927 |
+
"bits": 8,
|
| 928 |
+
"group_size": 32
|
| 929 |
+
},
|
| 930 |
+
"model.layers.27.mlp.switch_mlp.gate_proj": true,
|
| 931 |
+
"model.layers.27.mlp.switch_mlp.up_proj": true,
|
| 932 |
+
"model.layers.27.mlp.switch_mlp.down_proj": true,
|
| 933 |
+
"model.layers.27.mlp.switch_mlp.activation": false,
|
| 934 |
+
"model.layers.27.mlp.shared_expert.gate_proj": true,
|
| 935 |
+
"model.layers.27.mlp.shared_expert.down_proj": true,
|
| 936 |
+
"model.layers.27.mlp.shared_expert.up_proj": true,
|
| 937 |
+
"model.layers.27.mlp.shared_expert_gate": true,
|
| 938 |
+
"model.layers.27.input_layernorm": false,
|
| 939 |
+
"model.layers.27.post_attention_layernorm": false,
|
| 940 |
+
"model.norm": false,
|
| 941 |
+
"lm_head": true
|
| 942 |
+
},
|
| 943 |
+
"resid_pdrop": 0.0,
|
| 944 |
+
"rms_norm_eps": 1e-06,
|
| 945 |
+
"rope_scaling": null,
|
| 946 |
+
"rope_theta": 1000000.0,
|
| 947 |
+
"router_aux_loss_coef": 0.001,
|
| 948 |
+
"shared_expert_intermediate_size": 18944,
|
| 949 |
+
"sliding_window": null,
|
| 950 |
+
"tie_word_embeddings": false,
|
| 951 |
+
"torch_dtype": "bfloat16",
|
| 952 |
+
"transformers_version": "4.52.0.dev0",
|
| 953 |
+
"use_cache": false,
|
| 954 |
+
"use_sliding_window": false,
|
| 955 |
+
"vocab_size": 152064
|
| 956 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0471407a9d561944152bf1819d2f9c03fa5e29d92b8b99379687362607e21c0a
|
| 3 |
+
size 5342259216
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a05fdb1e2e46d8a67cf9c3751cf0532cbaa2e001409b1871f5a480f5bd2a7653
|
| 3 |
+
size 5366400061
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddda968643112f060d20b4c726a67ada2e29f11edd8c60f58c3c165d7874b6cd
|
| 3 |
+
size 5340675829
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23c2d673ce068efff391a79b76c5ac1c6f55b9e44f28f9be93ff2d8452a5f7b7
|
| 3 |
+
size 595715839
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|im_end|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
|
| 3 |
+
size 11421896
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
}
|
| 181 |
+
},
|
| 182 |
+
"additional_special_tokens": [
|
| 183 |
+
"<|im_start|>",
|
| 184 |
+
"<|im_end|>",
|
| 185 |
+
"<|object_ref_start|>",
|
| 186 |
+
"<|object_ref_end|>",
|
| 187 |
+
"<|box_start|>",
|
| 188 |
+
"<|box_end|>",
|
| 189 |
+
"<|quad_start|>",
|
| 190 |
+
"<|quad_end|>",
|
| 191 |
+
"<|vision_start|>",
|
| 192 |
+
"<|vision_end|>",
|
| 193 |
+
"<|vision_pad|>",
|
| 194 |
+
"<|image_pad|>",
|
| 195 |
+
"<|video_pad|>"
|
| 196 |
+
],
|
| 197 |
+
"bos_token": null,
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"extra_special_tokens": {},
|
| 202 |
+
"model_max_length": 115520,
|
| 203 |
+
"pad_token": "<|im_end|>",
|
| 204 |
+
"padding_side": "left",
|
| 205 |
+
"split_special_tokens": false,
|
| 206 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 207 |
+
"unk_token": null
|
| 208 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|