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

Model: AlphaGaO/Qwen3-4B-GPTQ
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-11 07:41:18 +08:00
commit a5e8bf8139
13 changed files with 152422 additions and 0 deletions

36
.gitattributes vendored Normal file
View File

@@ -0,0 +1,36 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
tokenizer.json filter=lfs diff=lfs merge=lfs -text

359
README.md Normal file
View File

@@ -0,0 +1,359 @@
---
library_name: transformers
license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen3-4B/blob/main/LICENSE
pipeline_tag: text-generation
base_model:
- Qwen/Qwen3-4B-Base
---
# Qwen3-4B-GPTQ
GPTQ Quantized model, tuned with dataset AlphaGaO/fused_distillation_dataset
bits: 4 group_size: 128 is_marlin_format: True
<a href="https://chat.qwen.ai/" target="_blank" style="margin: 2px;">
<img alt="Chat" src="https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5" style="display: inline-block; vertical-align: middle;"/>
</a>
## Qwen3 Highlights
Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features:
- **Uniquely support of seamless switching between thinking mode** (for complex logical reasoning, math, and coding) and **non-thinking mode** (for efficient, general-purpose dialogue) **within single model**, ensuring optimal performance across various scenarios.
- **Significantly enhancement in its reasoning capabilities**, surpassing previous QwQ (in thinking mode) and Qwen2.5 instruct models (in non-thinking mode) on mathematics, code generation, and commonsense logical reasoning.
- **Superior human preference alignment**, excelling in creative writing, role-playing, multi-turn dialogues, and instruction following, to deliver a more natural, engaging, and immersive conversational experience.
- **Expertise in agent capabilities**, enabling precise integration with external tools in both thinking and unthinking modes and achieving leading performance among open-source models in complex agent-based tasks.
- **Support of 100+ languages and dialects** with strong capabilities for **multilingual instruction following** and **translation**.
## Model Overview
**Qwen3-4B** has the following features:
- Type: Causal Language Models
- Training Stage: Pretraining & Post-training
- Number of Parameters: 4.0B
- Number of Paramaters (Non-Embedding): 3.6B
- Number of Layers: 36
- Number of Attention Heads (GQA): 32 for Q and 8 for KV
- Context Length: 32,768 natively and [131,072 tokens with YaRN](#processing-long-texts).
For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our [blog](https://qwenlm.github.io/blog/qwen3/), [GitHub](https://github.com/QwenLM/Qwen3), and [Documentation](https://qwen.readthedocs.io/en/latest/).
> [!TIP]
> If you encounter significant endless repetitions, please refer to the [Best Practices](#best-practices) section for optimal sampling parameters, and set the ``presence_penalty`` to 1.5.
## Quickstart
The code of Qwen3 has been in the latest Hugging Face `transformers` and we advise you to use the latest version of `transformers`.
With `transformers<4.51.0`, you will encounter the following error:
```
KeyError: 'qwen3'
```
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Qwen/Qwen3-4B"
# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True # Switches between thinking and non-thinking modes. Default is True.
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
# conduct text completion
generated_ids = model.generate(
**model_inputs,
max_new_tokens=32768
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
# parsing thinking content
try:
# rindex finding 151668 (</think>)
index = len(output_ids) - output_ids[::-1].index(151668)
except ValueError:
index = 0
thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
print("thinking content:", thinking_content)
print("content:", content)
```
For deployment, you can use `sglang>=0.4.6.post1` or `vllm>=0.8.5` or to create an OpenAI-compatible API endpoint:
- SGLang:
```shell
python -m sglang.launch_server --model-path Qwen/Qwen3-4B --reasoning-parser qwen3
```
- vLLM:
```shell
vllm serve Qwen/Qwen3-4B --enable-reasoning --reasoning-parser deepseek_r1
```
For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.
## Switching Between Thinking and Non-Thinking Mode
> [!TIP]
> The `enable_thinking` switch is also available in APIs created by SGLang and vLLM.
> Please refer to our documentation for [SGLang](https://qwen.readthedocs.io/en/latest/deployment/sglang.html#thinking-non-thinking-modes) and [vLLM](https://qwen.readthedocs.io/en/latest/deployment/vllm.html#thinking-non-thinking-modes) users.
### `enable_thinking=True`
By default, Qwen3 has thinking capabilities enabled, similar to QwQ-32B. This means the model will use its reasoning abilities to enhance the quality of generated responses. For example, when explicitly setting `enable_thinking=True` or leaving it as the default value in `tokenizer.apply_chat_template`, the model will engage its thinking mode.
```python
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True # True is the default value for enable_thinking
)
```
In this mode, the model will generate think content wrapped in a `<think>...</think>` block, followed by the final response.
> [!NOTE]
> For thinking mode, use `Temperature=0.6`, `TopP=0.95`, `TopK=20`, and `MinP=0` (the default setting in `generation_config.json`). **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions. For more detailed guidance, please refer to the [Best Practices](#best-practices) section.
### `enable_thinking=False`
We provide a hard switch to strictly disable the model's thinking behavior, aligning its functionality with the previous Qwen2.5-Instruct models. This mode is particularly useful in scenarios where disabling thinking is essential for enhancing efficiency.
```python
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False # Setting enable_thinking=False disables thinking mode
)
```
In this mode, the model will not generate any think content and will not include a `<think>...</think>` block.
> [!NOTE]
> For non-thinking mode, we suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`. For more detailed guidance, please refer to the [Best Practices](#best-practices) section.
### Advanced Usage: Switching Between Thinking and Non-Thinking Modes via User Input
We provide a soft switch mechanism that allows users to dynamically control the model's behavior when `enable_thinking=True`. Specifically, you can add `/think` and `/no_think` to user prompts or system messages to switch the model's thinking mode from turn to turn. The model will follow the most recent instruction in multi-turn conversations.
Here is an example of a multi-turn conversation:
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
class QwenChatbot:
def __init__(self, model_name="Qwen/Qwen3-4B"):
self.tokenizer = AutoTokenizer.from_pretrained(model_name)
self.model = AutoModelForCausalLM.from_pretrained(model_name)
self.history = []
def generate_response(self, user_input):
messages = self.history + [{"role": "user", "content": user_input}]
text = self.tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
inputs = self.tokenizer(text, return_tensors="pt")
response_ids = self.model.generate(**inputs, max_new_tokens=32768)[0][len(inputs.input_ids[0]):].tolist()
response = self.tokenizer.decode(response_ids, skip_special_tokens=True)
# Update history
self.history.append({"role": "user", "content": user_input})
self.history.append({"role": "assistant", "content": response})
return response
# Example Usage
if __name__ == "__main__":
chatbot = QwenChatbot()
# First input (without /think or /no_think tags, thinking mode is enabled by default)
user_input_1 = "How many r's in strawberries?"
print(f"User: {user_input_1}")
response_1 = chatbot.generate_response(user_input_1)
print(f"Bot: {response_1}")
print("----------------------")
# Second input with /no_think
user_input_2 = "Then, how many r's in blueberries? /no_think"
print(f"User: {user_input_2}")
response_2 = chatbot.generate_response(user_input_2)
print(f"Bot: {response_2}")
print("----------------------")
# Third input with /think
user_input_3 = "Really? /think"
print(f"User: {user_input_3}")
response_3 = chatbot.generate_response(user_input_3)
print(f"Bot: {response_3}")
```
> [!NOTE]
> For API compatibility, when `enable_thinking=True`, regardless of whether the user uses `/think` or `/no_think`, the model will always output a block wrapped in `<think>...</think>`. However, the content inside this block may be empty if thinking is disabled.
> When `enable_thinking=False`, the soft switches are not valid. Regardless of any `/think` or `/no_think` tags input by the user, the model will not generate think content and will not include a `<think>...</think>` block.
## Agentic Use
Qwen3 excels in tool calling capabilities. We recommend using [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.
To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.
```python
from qwen_agent.agents import Assistant
# Define LLM
llm_cfg = {
'model': 'Qwen3-4B',
# Use the endpoint provided by Alibaba Model Studio:
# 'model_type': 'qwen_dashscope',
# 'api_key': os.getenv('DASHSCOPE_API_KEY'),
# Use a custom endpoint compatible with OpenAI API:
'model_server': 'http://localhost:8000/v1', # api_base
'api_key': 'EMPTY',
# Other parameters:
# 'generate_cfg': {
# # Add: When the response content is `<think>this is the thought</think>this is the answer;
# # Do not add: When the response has been separated by reasoning_content and content.
# 'thought_in_content': True,
# },
}
# Define Tools
tools = [
{'mcpServers': { # You can specify the MCP configuration file
'time': {
'command': 'uvx',
'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
},
'code_interpreter', # Built-in tools
]
# Define Agent
bot = Assistant(llm=llm_cfg, function_list=tools)
# Streaming generation
messages = [{'role': 'user', 'content': 'https://qwenlm.github.io/blog/ Introduce the latest developments of Qwen'}]
for responses in bot.run(messages=messages):
pass
print(responses)
```
## Processing Long Texts
Qwen3 natively supports context lengths of up to 32,768 tokens. For conversations where the total length (including both input and output) significantly exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively. We have validated the model's performance on context lengths of up to 131,072 tokens using the [YaRN](https://arxiv.org/abs/2309.00071) method.
YaRN is currently supported by several inference frameworks, e.g., `transformers` and `llama.cpp` for local use, `vllm` and `sglang` for deployment. In general, there are two approaches to enabling YaRN for supported frameworks:
- Modifying the model files:
In the `config.json` file, add the `rope_scaling` fields:
```json
{
...,
"rope_scaling": {
"rope_type": "yarn",
"factor": 4.0,
"original_max_position_embeddings": 32768
}
}
```
For `llama.cpp`, you need to regenerate the GGUF file after the modification.
- Passing command line arguments:
For `vllm`, you can use
```shell
vllm serve ... --rope-scaling '{"rope_type":"yarn","factor":4.0,"original_max_position_embeddings":32768}' --max-model-len 131072
```
For `sglang`, you can use
```shell
python -m sglang.launch_server ... --json-model-override-args '{"rope_scaling":{"rope_type":"yarn","factor":4.0,"original_max_position_embeddings":32768}}'
```
For `llama-server` from `llama.cpp`, you can use
```shell
llama-server ... --rope-scaling yarn --rope-scale 4 --yarn-orig-ctx 32768
```
> [!IMPORTANT]
> If you encounter the following warning
> ```
> Unrecognized keys in `rope_scaling` for 'rope_type'='yarn': {'original_max_position_embeddings'}
> ```
> please upgrade `transformers>=4.51.0`.
> [!NOTE]
> All the notable open-source frameworks implement static YaRN, which means the scaling factor remains constant regardless of input length, **potentially impacting performance on shorter texts.**
> We advise adding the `rope_scaling` configuration only when processing long contexts is required.
> It is also recommended to modify the `factor` as needed. For example, if the typical context length for your application is 65,536 tokens, it would be better to set `factor` as 2.0.
> [!NOTE]
> The default `max_position_embeddings` in `config.json` is set to 40,960. This allocation includes reserving 32,768 tokens for outputs and 8,192 tokens for typical prompts, which is sufficient for most scenarios involving short text processing. If the average context length does not exceed 32,768 tokens, we do not recommend enabling YaRN in this scenario, as it may potentially degrade model performance.
> [!TIP]
> The endpoint provided by Alibaba Model Studio supports dynamic YaRN by default and no extra configuration is needed.
## Best Practices
To achieve optimal performance, we recommend the following settings:
1. **Sampling Parameters**:
- For thinking mode (`enable_thinking=True`), use `Temperature=0.6`, `TopP=0.95`, `TopK=20`, and `MinP=0`. **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions.
- For non-thinking mode (`enable_thinking=False`), we suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`.
- For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
2. **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 38,912 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
3. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
- **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
- **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g., `"answer": "C"`."
4. **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. It is implemented in the provided chat template in Jinja2. However, for frameworks that do not directly use the Jinja2 chat template, it is up to the developers to ensure that the best practice is followed.
### Citation
If you find our work helpful, feel free to give us a cite.
```
@misc{qwen3,
title = {Qwen3},
url = {https://qwenlm.github.io/blog/qwen3/},
author = {Qwen Team},
month = {April},
year = {2025}
}
```

28
added_tokens.json Normal file
View File

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

51
config.json Normal file
View File

@@ -0,0 +1,51 @@
{
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 151643,
"eos_token_id": 151645,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2560,
"initializer_range": 0.02,
"intermediate_size": 9728,
"max_position_embeddings": 40960,
"max_window_layers": 36,
"model_type": "qwen3",
"num_attention_heads": 32,
"num_hidden_layers": 36,
"num_key_value_heads": 8,
"quantization_config": {
"bits": 4,
"checkpoint_format": "gptq",
"desc_act": true,
"group_size": 128,
"lm_head": false,
"meta": {
"damp_auto_increment": 0.0025,
"damp_percent": 0.01,
"mse": 0.0,
"quantizer": [
"gptqmodel:2.2.0"
],
"static_groups": false,
"true_sequential": true,
"uri": "https://github.com/modelcloud/gptqmodel"
},
"pack_dtype": "int32",
"quant_method": "gptq",
"sym": true
},
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sliding_window": null,
"tie_word_embeddings": true,
"torch_dtype": "bfloat16",
"transformers_version": "4.51.3",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936
}

13
generation_config.json Normal file
View File

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

151388
merges.txt Normal file

File diff suppressed because it is too large Load Diff

3
model.safetensors Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e11b6d23c0abc36f55b935661dda53fea501838e74dbd3f512262e70625925a
size 2669888648

253
quant_log.csv Normal file
View File

@@ -0,0 +1,253 @@
layer,module,loss,samples,damp,time
0,self_attn.k_proj,0.00260956,0.01000,0.829
0,self_attn.v_proj,0.00233771,0.01000,0.591
0,self_attn.q_proj,0.00945148,0.01000,0.609
0,self_attn.o_proj,0.00626256,0.01000,0.988
0,mlp.up_proj,0.49306521,0.01000,0.624
0,mlp.gate_proj,0.56335938,0.01000,0.567
0,mlp.down_proj,0.05435039,0.01000,2.701
1,self_attn.k_proj,0.00402028,0.01000,0.648
1,self_attn.v_proj,0.00413055,0.01000,0.553
1,self_attn.q_proj,0.01495032,0.01000,0.557
1,self_attn.o_proj,0.00761302,0.01000,0.994
1,mlp.up_proj,6.14568138,0.01000,0.673
1,mlp.gate_proj,13.63503647,0.01000,0.573
1,mlp.down_proj,0.06105804,0.01000,2.646
2,self_attn.k_proj,0.01301107,0.01000,0.640
2,self_attn.v_proj,0.01256006,0.01000,0.552
2,self_attn.q_proj,0.04551908,0.01000,0.557
2,self_attn.o_proj,0.00959794,0.01000,1.076
2,mlp.up_proj,15.95272827,0.01000,0.671
2,mlp.gate_proj,20.05839157,0.01000,0.615
2,mlp.down_proj,0.05727252,0.01000,2.898
3,self_attn.k_proj,0.02194048,0.01000,0.648
3,self_attn.v_proj,0.02231835,0.01000,0.556
3,self_attn.q_proj,0.08355284,0.01000,0.557
3,self_attn.o_proj,0.01671291,0.01000,1.074
3,mlp.up_proj,12.27301884,0.01000,0.705
3,mlp.gate_proj,23.91833115,0.01000,0.619
3,mlp.down_proj,0.16981319,0.01000,2.797
4,self_attn.k_proj,0.04863824,0.01000,0.635
4,self_attn.v_proj,0.04902033,0.01000,0.553
4,self_attn.q_proj,0.17482278,0.01000,0.557
4,self_attn.o_proj,0.02858547,0.01000,0.979
4,mlp.up_proj,10.48973846,0.01000,0.676
4,mlp.gate_proj,26.65770721,0.01000,0.563
4,mlp.down_proj,0.28997350,0.01000,2.733
5,self_attn.k_proj,0.04801822,0.01000,0.634
5,self_attn.v_proj,0.05179255,0.01000,0.554
5,self_attn.q_proj,0.18255764,0.01000,0.556
5,self_attn.o_proj,0.04555316,0.01000,0.979
5,mlp.up_proj,5.48301125,0.01000,0.633
5,mlp.gate_proj,10.99185562,0.01000,0.565
5,mlp.down_proj,0.45506358,0.01000,2.682
6,self_attn.k_proj,0.09959402,0.01000,0.627
6,self_attn.v_proj,0.11477924,0.01000,0.555
6,self_attn.q_proj,0.41121966,0.01000,0.557
6,self_attn.o_proj,0.13184954,0.01000,0.966
6,mlp.up_proj,7.32487488,0.01000,0.630
6,mlp.gate_proj,12.34899235,0.01000,0.565
6,mlp.down_proj,137.00463867,0.01000,2.872
7,self_attn.k_proj,0.21236567,0.01000,0.624
7,self_attn.v_proj,0.21460515,0.01000,0.555
7,self_attn.q_proj,0.78465915,0.01000,0.556
7,self_attn.o_proj,0.13444883,0.01000,0.989
7,mlp.up_proj,8.85077858,0.01000,0.629
7,mlp.gate_proj,14.10528946,0.01000,0.567
7,mlp.down_proj,0.73926550,0.01000,2.479
8,self_attn.k_proj,0.34496000,0.01000,0.620
8,self_attn.v_proj,0.37624916,0.01000,0.552
8,self_attn.q_proj,1.29985523,0.01000,0.556
8,self_attn.o_proj,0.22197893,0.01000,0.986
8,mlp.up_proj,9.42709351,0.01000,0.624
8,mlp.gate_proj,11.46964645,0.01000,0.565
8,mlp.down_proj,1.18484640,0.01000,2.471
9,self_attn.k_proj,0.47145227,0.01000,0.641
9,self_attn.v_proj,0.46269092,0.01000,0.552
9,self_attn.q_proj,1.65912795,0.01000,0.554
9,self_attn.o_proj,0.26991138,0.01000,0.960
9,mlp.up_proj,12.27880478,0.01000,0.625
9,mlp.gate_proj,18.87297821,0.01000,0.565
9,mlp.down_proj,1.32681251,0.01000,2.463
10,self_attn.k_proj,0.72835219,0.01000,0.620
10,self_attn.v_proj,0.85435569,0.01000,0.552
10,self_attn.q_proj,2.74349403,0.01000,0.554
10,self_attn.o_proj,0.36292076,0.01000,0.956
10,mlp.up_proj,11.62601280,0.01000,0.622
10,mlp.gate_proj,16.43843842,0.01000,0.566
10,mlp.down_proj,1.36114752,0.01000,2.477
11,self_attn.k_proj,0.39711615,0.01000,0.660
11,self_attn.v_proj,0.42185795,0.01000,0.594
11,self_attn.q_proj,1.41280699,0.01000,0.598
11,self_attn.o_proj,0.27962011,0.01000,0.957
11,mlp.up_proj,11.56846046,0.01000,0.629
11,mlp.gate_proj,14.54604149,0.01000,0.571
11,mlp.down_proj,1.35389423,0.01000,2.474
12,self_attn.k_proj,0.46813077,0.01000,0.613
12,self_attn.v_proj,0.50627100,0.01000,0.551
12,self_attn.q_proj,1.68932188,0.01000,0.554
12,self_attn.o_proj,0.32685736,0.01000,0.954
12,mlp.up_proj,11.97426701,0.01000,0.666
12,mlp.gate_proj,13.71073341,0.01000,0.606
12,mlp.down_proj,1.34886861,0.01000,2.631
13,self_attn.k_proj,0.34903091,0.01000,0.648
13,self_attn.v_proj,0.35327876,0.01000,0.588
13,self_attn.q_proj,1.34817195,0.01000,0.581
13,self_attn.o_proj,0.22018546,0.01000,0.977
13,mlp.up_proj,12.59172344,0.01000,0.665
13,mlp.gate_proj,13.15475464,0.01000,0.583
13,mlp.down_proj,1.50714171,0.01000,2.509
14,self_attn.k_proj,0.61326528,0.01000,0.655
14,self_attn.v_proj,0.64901257,0.01000,0.588
14,self_attn.q_proj,2.28437233,0.01000,0.598
14,self_attn.o_proj,0.45074007,0.01000,1.035
14,mlp.up_proj,12.52815437,0.01000,0.663
14,mlp.gate_proj,13.09080696,0.01000,0.601
14,mlp.down_proj,1.38611388,0.01000,2.572
15,self_attn.k_proj,0.60994160,0.01000,0.638
15,self_attn.v_proj,0.59522879,0.01000,0.553
15,self_attn.q_proj,2.29438472,0.01000,0.556
15,self_attn.o_proj,0.35033396,0.01000,0.986
15,mlp.up_proj,11.78823280,0.01000,0.640
15,mlp.gate_proj,11.89937019,0.01000,0.567
15,mlp.down_proj,1.51105714,0.01000,2.595
16,self_attn.k_proj,1.04074728,0.01000,0.646
16,self_attn.v_proj,1.19501519,0.01000,0.560
16,self_attn.q_proj,4.24412441,0.01000,0.563
16,self_attn.o_proj,0.47474825,0.01000,1.000
16,mlp.up_proj,13.40410614,0.01000,0.654
16,mlp.gate_proj,14.28797817,0.01000,0.578
16,mlp.down_proj,5.78086710,0.01000,2.659
17,self_attn.k_proj,0.93727171,0.01000,0.632
17,self_attn.v_proj,1.08398855,0.01000,0.552
17,self_attn.q_proj,4.18204689,0.01000,0.556
17,self_attn.o_proj,0.54972744,0.01000,0.985
17,mlp.up_proj,13.20138741,0.01000,0.647
17,mlp.gate_proj,13.71052074,0.01000,0.566
17,mlp.down_proj,2.41512918,0.01000,2.736
18,self_attn.k_proj,1.14480364,0.01000,0.650
18,self_attn.v_proj,1.27249444,0.01000,0.555
18,self_attn.q_proj,4.76111126,0.01000,0.558
18,self_attn.o_proj,0.54431963,0.01000,0.999
18,mlp.up_proj,15.39452362,0.01000,0.646
18,mlp.gate_proj,15.82460308,0.01000,0.567
18,mlp.down_proj,2.41237640,0.01000,2.696
19,self_attn.k_proj,2.23619556,0.01000,0.651
19,self_attn.v_proj,2.33040428,0.01000,0.555
19,self_attn.q_proj,9.37097549,0.01000,0.556
19,self_attn.o_proj,0.89986920,0.01000,0.987
19,mlp.up_proj,17.55361557,0.01000,0.651
19,mlp.gate_proj,17.96214294,0.01000,0.563
19,mlp.down_proj,2.75978541,0.01000,2.821
20,self_attn.k_proj,1.84364629,0.01000,0.692
20,self_attn.v_proj,2.03417015,0.01000,0.602
20,self_attn.q_proj,8.70787430,0.01000,0.605
20,self_attn.o_proj,0.82709742,0.01000,0.994
20,mlp.up_proj,19.15014076,0.01000,0.695
20,mlp.gate_proj,19.27664566,0.01000,0.609
20,mlp.down_proj,2.91169357,0.01000,2.637
21,self_attn.k_proj,2.38239908,0.01000,0.698
21,self_attn.v_proj,2.78411126,0.01000,0.601
21,self_attn.q_proj,10.69113255,0.01000,0.606
21,self_attn.o_proj,0.86217725,0.01000,1.063
21,mlp.up_proj,22.03649902,0.01000,0.657
21,mlp.gate_proj,22.27753639,0.01000,0.568
21,mlp.down_proj,3.55271626,0.01000,2.668
22,self_attn.k_proj,5.02607822,0.01000,0.646
22,self_attn.v_proj,5.24235153,0.01000,0.553
22,self_attn.q_proj,20.75082779,0.01000,0.559
22,self_attn.o_proj,1.57138991,0.01000,0.989
22,mlp.up_proj,24.25587654,0.01000,0.652
22,mlp.gate_proj,25.06272507,0.01000,0.567
22,mlp.down_proj,5.23081446,0.01000,2.644
23,self_attn.k_proj,4.54250908,0.01000,0.654
23,self_attn.v_proj,5.57414436,0.01000,0.558
23,self_attn.q_proj,20.68773270,0.01000,0.561
23,self_attn.o_proj,2.26957107,0.01000,0.998
23,mlp.up_proj,27.23978996,0.01000,0.660
23,mlp.gate_proj,29.70862198,0.01000,0.570
23,mlp.down_proj,6.30178261,0.01000,2.689
24,self_attn.k_proj,7.05984497,0.01000,0.643
24,self_attn.v_proj,8.92666817,0.01000,0.584
24,self_attn.q_proj,31.14116287,0.01000,0.586
24,self_attn.o_proj,2.77548218,0.01000,1.071
24,mlp.up_proj,29.65335464,0.01000,0.649
24,mlp.gate_proj,33.00664520,0.01000,0.565
24,mlp.down_proj,7.27749395,0.01000,2.815
25,self_attn.k_proj,5.49420643,0.01000,0.700
25,self_attn.v_proj,6.28153324,0.01000,0.608
25,self_attn.q_proj,22.71930885,0.01000,0.612
25,self_attn.o_proj,1.31197178,0.01000,1.056
25,mlp.up_proj,32.39283371,0.01000,0.647
25,mlp.gate_proj,36.58316803,0.01000,0.561
25,mlp.down_proj,8.68100739,0.01000,2.829
26,self_attn.k_proj,8.18059158,0.01000,0.703
26,self_attn.v_proj,9.73805428,0.01000,0.606
26,self_attn.q_proj,35.29013062,0.01000,0.609
26,self_attn.o_proj,1.64416206,0.01000,1.029
26,mlp.up_proj,37.90194702,0.01000,0.655
26,mlp.gate_proj,41.78019714,0.01000,0.570
26,mlp.down_proj,9.65947247,0.01000,2.646
27,self_attn.k_proj,9.37205124,0.01000,0.644
27,self_attn.v_proj,12.03858185,0.01000,0.552
27,self_attn.q_proj,41.76227951,0.01000,0.554
27,self_attn.o_proj,1.72142029,0.01000,0.998
27,mlp.up_proj,42.76330566,0.01000,0.647
27,mlp.gate_proj,45.72332764,0.01000,0.566
27,mlp.down_proj,13.29294109,0.01000,2.657
28,self_attn.k_proj,11.01844501,0.01000,0.636
28,self_attn.v_proj,12.33791637,0.01000,0.550
28,self_attn.q_proj,44.51463318,0.01000,0.554
28,self_attn.o_proj,2.65718555,0.01000,1.000
28,mlp.up_proj,49.45624161,0.01000,0.653
28,mlp.gate_proj,50.92063141,0.01000,0.563
28,mlp.down_proj,18.92489243,0.01000,2.806
29,self_attn.k_proj,23.87117004,0.01000,0.650
29,self_attn.v_proj,33.11904907,0.01000,0.551
29,self_attn.q_proj,99.74765778,0.01000,0.552
29,self_attn.o_proj,3.10340786,0.01000,0.981
29,mlp.up_proj,59.07789612,0.01000,0.652
29,mlp.gate_proj,58.26216125,0.01000,0.562
29,mlp.down_proj,20.03937149,0.01000,2.770
30,self_attn.k_proj,30.15834808,0.01000,0.636
30,self_attn.v_proj,37.56179428,0.01000,0.550
30,self_attn.q_proj,120.38098145,0.01000,0.552
30,self_attn.o_proj,4.69311810,0.01000,0.974
30,mlp.up_proj,64.21419525,0.01000,0.655
30,mlp.gate_proj,61.41302109,0.01000,0.566
30,mlp.down_proj,26.27643013,0.01000,2.646
31,self_attn.k_proj,39.68087006,0.01000,0.644
31,self_attn.v_proj,55.66039276,0.01000,0.550
31,self_attn.q_proj,148.81207275,0.01000,0.554
31,self_attn.o_proj,5.62770224,0.01000,0.992
31,mlp.up_proj,67.36556244,0.01000,0.656
31,mlp.gate_proj,61.42463684,0.01000,0.564
31,mlp.down_proj,33.80282211,0.01000,2.631
32,self_attn.k_proj,52.13278198,0.01000,0.647
32,self_attn.v_proj,80.29966736,0.01000,0.550
32,self_attn.q_proj,210.71531677,0.01000,0.547
32,self_attn.o_proj,7.62773275,0.01000,0.983
32,mlp.up_proj,70.70653534,0.01000,0.653
32,mlp.gate_proj,63.02287674,0.01000,0.565
32,mlp.down_proj,44.33407593,0.01000,2.744
33,self_attn.k_proj,91.17549133,0.01000,0.645
33,self_attn.v_proj,181.99508667,0.01000,0.548
33,self_attn.q_proj,422.93328857,0.01000,0.555
33,self_attn.o_proj,16.37356377,0.01000,0.993
33,mlp.up_proj,76.78594971,0.01000,0.654
33,mlp.gate_proj,67.32464600,0.01000,0.564
33,mlp.down_proj,56.63261795,0.01000,2.873
34,self_attn.k_proj,80.26489258,0.01000,0.644
34,self_attn.v_proj,133.13087463,0.01000,0.546
34,self_attn.q_proj,352.78515625,0.01000,0.548
34,self_attn.o_proj,23.87093353,0.01000,0.984
34,mlp.up_proj,84.84834290,0.01000,0.647
34,mlp.gate_proj,79.85603333,0.01000,0.565
34,mlp.down_proj,74.65843201,0.01000,2.654
35,self_attn.k_proj,48.68472672,0.01000,0.644
35,self_attn.v_proj,63.22115326,0.01000,0.549
35,self_attn.q_proj,187.34757996,0.01000,0.551
35,self_attn.o_proj,21.02386856,0.01000,0.983
35,mlp.up_proj,132.50225830,0.01000,0.646
35,mlp.gate_proj,127.69544983,0.01000,0.560
35,mlp.down_proj,131.40872192,0.01000,2.672
1 layer,module,loss,samples,damp,time
2 0,self_attn.k_proj,0.00260956,0.01000,0.829
3 0,self_attn.v_proj,0.00233771,0.01000,0.591
4 0,self_attn.q_proj,0.00945148,0.01000,0.609
5 0,self_attn.o_proj,0.00626256,0.01000,0.988
6 0,mlp.up_proj,0.49306521,0.01000,0.624
7 0,mlp.gate_proj,0.56335938,0.01000,0.567
8 0,mlp.down_proj,0.05435039,0.01000,2.701
9 1,self_attn.k_proj,0.00402028,0.01000,0.648
10 1,self_attn.v_proj,0.00413055,0.01000,0.553
11 1,self_attn.q_proj,0.01495032,0.01000,0.557
12 1,self_attn.o_proj,0.00761302,0.01000,0.994
13 1,mlp.up_proj,6.14568138,0.01000,0.673
14 1,mlp.gate_proj,13.63503647,0.01000,0.573
15 1,mlp.down_proj,0.06105804,0.01000,2.646
16 2,self_attn.k_proj,0.01301107,0.01000,0.640
17 2,self_attn.v_proj,0.01256006,0.01000,0.552
18 2,self_attn.q_proj,0.04551908,0.01000,0.557
19 2,self_attn.o_proj,0.00959794,0.01000,1.076
20 2,mlp.up_proj,15.95272827,0.01000,0.671
21 2,mlp.gate_proj,20.05839157,0.01000,0.615
22 2,mlp.down_proj,0.05727252,0.01000,2.898
23 3,self_attn.k_proj,0.02194048,0.01000,0.648
24 3,self_attn.v_proj,0.02231835,0.01000,0.556
25 3,self_attn.q_proj,0.08355284,0.01000,0.557
26 3,self_attn.o_proj,0.01671291,0.01000,1.074
27 3,mlp.up_proj,12.27301884,0.01000,0.705
28 3,mlp.gate_proj,23.91833115,0.01000,0.619
29 3,mlp.down_proj,0.16981319,0.01000,2.797
30 4,self_attn.k_proj,0.04863824,0.01000,0.635
31 4,self_attn.v_proj,0.04902033,0.01000,0.553
32 4,self_attn.q_proj,0.17482278,0.01000,0.557
33 4,self_attn.o_proj,0.02858547,0.01000,0.979
34 4,mlp.up_proj,10.48973846,0.01000,0.676
35 4,mlp.gate_proj,26.65770721,0.01000,0.563
36 4,mlp.down_proj,0.28997350,0.01000,2.733
37 5,self_attn.k_proj,0.04801822,0.01000,0.634
38 5,self_attn.v_proj,0.05179255,0.01000,0.554
39 5,self_attn.q_proj,0.18255764,0.01000,0.556
40 5,self_attn.o_proj,0.04555316,0.01000,0.979
41 5,mlp.up_proj,5.48301125,0.01000,0.633
42 5,mlp.gate_proj,10.99185562,0.01000,0.565
43 5,mlp.down_proj,0.45506358,0.01000,2.682
44 6,self_attn.k_proj,0.09959402,0.01000,0.627
45 6,self_attn.v_proj,0.11477924,0.01000,0.555
46 6,self_attn.q_proj,0.41121966,0.01000,0.557
47 6,self_attn.o_proj,0.13184954,0.01000,0.966
48 6,mlp.up_proj,7.32487488,0.01000,0.630
49 6,mlp.gate_proj,12.34899235,0.01000,0.565
50 6,mlp.down_proj,137.00463867,0.01000,2.872
51 7,self_attn.k_proj,0.21236567,0.01000,0.624
52 7,self_attn.v_proj,0.21460515,0.01000,0.555
53 7,self_attn.q_proj,0.78465915,0.01000,0.556
54 7,self_attn.o_proj,0.13444883,0.01000,0.989
55 7,mlp.up_proj,8.85077858,0.01000,0.629
56 7,mlp.gate_proj,14.10528946,0.01000,0.567
57 7,mlp.down_proj,0.73926550,0.01000,2.479
58 8,self_attn.k_proj,0.34496000,0.01000,0.620
59 8,self_attn.v_proj,0.37624916,0.01000,0.552
60 8,self_attn.q_proj,1.29985523,0.01000,0.556
61 8,self_attn.o_proj,0.22197893,0.01000,0.986
62 8,mlp.up_proj,9.42709351,0.01000,0.624
63 8,mlp.gate_proj,11.46964645,0.01000,0.565
64 8,mlp.down_proj,1.18484640,0.01000,2.471
65 9,self_attn.k_proj,0.47145227,0.01000,0.641
66 9,self_attn.v_proj,0.46269092,0.01000,0.552
67 9,self_attn.q_proj,1.65912795,0.01000,0.554
68 9,self_attn.o_proj,0.26991138,0.01000,0.960
69 9,mlp.up_proj,12.27880478,0.01000,0.625
70 9,mlp.gate_proj,18.87297821,0.01000,0.565
71 9,mlp.down_proj,1.32681251,0.01000,2.463
72 10,self_attn.k_proj,0.72835219,0.01000,0.620
73 10,self_attn.v_proj,0.85435569,0.01000,0.552
74 10,self_attn.q_proj,2.74349403,0.01000,0.554
75 10,self_attn.o_proj,0.36292076,0.01000,0.956
76 10,mlp.up_proj,11.62601280,0.01000,0.622
77 10,mlp.gate_proj,16.43843842,0.01000,0.566
78 10,mlp.down_proj,1.36114752,0.01000,2.477
79 11,self_attn.k_proj,0.39711615,0.01000,0.660
80 11,self_attn.v_proj,0.42185795,0.01000,0.594
81 11,self_attn.q_proj,1.41280699,0.01000,0.598
82 11,self_attn.o_proj,0.27962011,0.01000,0.957
83 11,mlp.up_proj,11.56846046,0.01000,0.629
84 11,mlp.gate_proj,14.54604149,0.01000,0.571
85 11,mlp.down_proj,1.35389423,0.01000,2.474
86 12,self_attn.k_proj,0.46813077,0.01000,0.613
87 12,self_attn.v_proj,0.50627100,0.01000,0.551
88 12,self_attn.q_proj,1.68932188,0.01000,0.554
89 12,self_attn.o_proj,0.32685736,0.01000,0.954
90 12,mlp.up_proj,11.97426701,0.01000,0.666
91 12,mlp.gate_proj,13.71073341,0.01000,0.606
92 12,mlp.down_proj,1.34886861,0.01000,2.631
93 13,self_attn.k_proj,0.34903091,0.01000,0.648
94 13,self_attn.v_proj,0.35327876,0.01000,0.588
95 13,self_attn.q_proj,1.34817195,0.01000,0.581
96 13,self_attn.o_proj,0.22018546,0.01000,0.977
97 13,mlp.up_proj,12.59172344,0.01000,0.665
98 13,mlp.gate_proj,13.15475464,0.01000,0.583
99 13,mlp.down_proj,1.50714171,0.01000,2.509
100 14,self_attn.k_proj,0.61326528,0.01000,0.655
101 14,self_attn.v_proj,0.64901257,0.01000,0.588
102 14,self_attn.q_proj,2.28437233,0.01000,0.598
103 14,self_attn.o_proj,0.45074007,0.01000,1.035
104 14,mlp.up_proj,12.52815437,0.01000,0.663
105 14,mlp.gate_proj,13.09080696,0.01000,0.601
106 14,mlp.down_proj,1.38611388,0.01000,2.572
107 15,self_attn.k_proj,0.60994160,0.01000,0.638
108 15,self_attn.v_proj,0.59522879,0.01000,0.553
109 15,self_attn.q_proj,2.29438472,0.01000,0.556
110 15,self_attn.o_proj,0.35033396,0.01000,0.986
111 15,mlp.up_proj,11.78823280,0.01000,0.640
112 15,mlp.gate_proj,11.89937019,0.01000,0.567
113 15,mlp.down_proj,1.51105714,0.01000,2.595
114 16,self_attn.k_proj,1.04074728,0.01000,0.646
115 16,self_attn.v_proj,1.19501519,0.01000,0.560
116 16,self_attn.q_proj,4.24412441,0.01000,0.563
117 16,self_attn.o_proj,0.47474825,0.01000,1.000
118 16,mlp.up_proj,13.40410614,0.01000,0.654
119 16,mlp.gate_proj,14.28797817,0.01000,0.578
120 16,mlp.down_proj,5.78086710,0.01000,2.659
121 17,self_attn.k_proj,0.93727171,0.01000,0.632
122 17,self_attn.v_proj,1.08398855,0.01000,0.552
123 17,self_attn.q_proj,4.18204689,0.01000,0.556
124 17,self_attn.o_proj,0.54972744,0.01000,0.985
125 17,mlp.up_proj,13.20138741,0.01000,0.647
126 17,mlp.gate_proj,13.71052074,0.01000,0.566
127 17,mlp.down_proj,2.41512918,0.01000,2.736
128 18,self_attn.k_proj,1.14480364,0.01000,0.650
129 18,self_attn.v_proj,1.27249444,0.01000,0.555
130 18,self_attn.q_proj,4.76111126,0.01000,0.558
131 18,self_attn.o_proj,0.54431963,0.01000,0.999
132 18,mlp.up_proj,15.39452362,0.01000,0.646
133 18,mlp.gate_proj,15.82460308,0.01000,0.567
134 18,mlp.down_proj,2.41237640,0.01000,2.696
135 19,self_attn.k_proj,2.23619556,0.01000,0.651
136 19,self_attn.v_proj,2.33040428,0.01000,0.555
137 19,self_attn.q_proj,9.37097549,0.01000,0.556
138 19,self_attn.o_proj,0.89986920,0.01000,0.987
139 19,mlp.up_proj,17.55361557,0.01000,0.651
140 19,mlp.gate_proj,17.96214294,0.01000,0.563
141 19,mlp.down_proj,2.75978541,0.01000,2.821
142 20,self_attn.k_proj,1.84364629,0.01000,0.692
143 20,self_attn.v_proj,2.03417015,0.01000,0.602
144 20,self_attn.q_proj,8.70787430,0.01000,0.605
145 20,self_attn.o_proj,0.82709742,0.01000,0.994
146 20,mlp.up_proj,19.15014076,0.01000,0.695
147 20,mlp.gate_proj,19.27664566,0.01000,0.609
148 20,mlp.down_proj,2.91169357,0.01000,2.637
149 21,self_attn.k_proj,2.38239908,0.01000,0.698
150 21,self_attn.v_proj,2.78411126,0.01000,0.601
151 21,self_attn.q_proj,10.69113255,0.01000,0.606
152 21,self_attn.o_proj,0.86217725,0.01000,1.063
153 21,mlp.up_proj,22.03649902,0.01000,0.657
154 21,mlp.gate_proj,22.27753639,0.01000,0.568
155 21,mlp.down_proj,3.55271626,0.01000,2.668
156 22,self_attn.k_proj,5.02607822,0.01000,0.646
157 22,self_attn.v_proj,5.24235153,0.01000,0.553
158 22,self_attn.q_proj,20.75082779,0.01000,0.559
159 22,self_attn.o_proj,1.57138991,0.01000,0.989
160 22,mlp.up_proj,24.25587654,0.01000,0.652
161 22,mlp.gate_proj,25.06272507,0.01000,0.567
162 22,mlp.down_proj,5.23081446,0.01000,2.644
163 23,self_attn.k_proj,4.54250908,0.01000,0.654
164 23,self_attn.v_proj,5.57414436,0.01000,0.558
165 23,self_attn.q_proj,20.68773270,0.01000,0.561
166 23,self_attn.o_proj,2.26957107,0.01000,0.998
167 23,mlp.up_proj,27.23978996,0.01000,0.660
168 23,mlp.gate_proj,29.70862198,0.01000,0.570
169 23,mlp.down_proj,6.30178261,0.01000,2.689
170 24,self_attn.k_proj,7.05984497,0.01000,0.643
171 24,self_attn.v_proj,8.92666817,0.01000,0.584
172 24,self_attn.q_proj,31.14116287,0.01000,0.586
173 24,self_attn.o_proj,2.77548218,0.01000,1.071
174 24,mlp.up_proj,29.65335464,0.01000,0.649
175 24,mlp.gate_proj,33.00664520,0.01000,0.565
176 24,mlp.down_proj,7.27749395,0.01000,2.815
177 25,self_attn.k_proj,5.49420643,0.01000,0.700
178 25,self_attn.v_proj,6.28153324,0.01000,0.608
179 25,self_attn.q_proj,22.71930885,0.01000,0.612
180 25,self_attn.o_proj,1.31197178,0.01000,1.056
181 25,mlp.up_proj,32.39283371,0.01000,0.647
182 25,mlp.gate_proj,36.58316803,0.01000,0.561
183 25,mlp.down_proj,8.68100739,0.01000,2.829
184 26,self_attn.k_proj,8.18059158,0.01000,0.703
185 26,self_attn.v_proj,9.73805428,0.01000,0.606
186 26,self_attn.q_proj,35.29013062,0.01000,0.609
187 26,self_attn.o_proj,1.64416206,0.01000,1.029
188 26,mlp.up_proj,37.90194702,0.01000,0.655
189 26,mlp.gate_proj,41.78019714,0.01000,0.570
190 26,mlp.down_proj,9.65947247,0.01000,2.646
191 27,self_attn.k_proj,9.37205124,0.01000,0.644
192 27,self_attn.v_proj,12.03858185,0.01000,0.552
193 27,self_attn.q_proj,41.76227951,0.01000,0.554
194 27,self_attn.o_proj,1.72142029,0.01000,0.998
195 27,mlp.up_proj,42.76330566,0.01000,0.647
196 27,mlp.gate_proj,45.72332764,0.01000,0.566
197 27,mlp.down_proj,13.29294109,0.01000,2.657
198 28,self_attn.k_proj,11.01844501,0.01000,0.636
199 28,self_attn.v_proj,12.33791637,0.01000,0.550
200 28,self_attn.q_proj,44.51463318,0.01000,0.554
201 28,self_attn.o_proj,2.65718555,0.01000,1.000
202 28,mlp.up_proj,49.45624161,0.01000,0.653
203 28,mlp.gate_proj,50.92063141,0.01000,0.563
204 28,mlp.down_proj,18.92489243,0.01000,2.806
205 29,self_attn.k_proj,23.87117004,0.01000,0.650
206 29,self_attn.v_proj,33.11904907,0.01000,0.551
207 29,self_attn.q_proj,99.74765778,0.01000,0.552
208 29,self_attn.o_proj,3.10340786,0.01000,0.981
209 29,mlp.up_proj,59.07789612,0.01000,0.652
210 29,mlp.gate_proj,58.26216125,0.01000,0.562
211 29,mlp.down_proj,20.03937149,0.01000,2.770
212 30,self_attn.k_proj,30.15834808,0.01000,0.636
213 30,self_attn.v_proj,37.56179428,0.01000,0.550
214 30,self_attn.q_proj,120.38098145,0.01000,0.552
215 30,self_attn.o_proj,4.69311810,0.01000,0.974
216 30,mlp.up_proj,64.21419525,0.01000,0.655
217 30,mlp.gate_proj,61.41302109,0.01000,0.566
218 30,mlp.down_proj,26.27643013,0.01000,2.646
219 31,self_attn.k_proj,39.68087006,0.01000,0.644
220 31,self_attn.v_proj,55.66039276,0.01000,0.550
221 31,self_attn.q_proj,148.81207275,0.01000,0.554
222 31,self_attn.o_proj,5.62770224,0.01000,0.992
223 31,mlp.up_proj,67.36556244,0.01000,0.656
224 31,mlp.gate_proj,61.42463684,0.01000,0.564
225 31,mlp.down_proj,33.80282211,0.01000,2.631
226 32,self_attn.k_proj,52.13278198,0.01000,0.647
227 32,self_attn.v_proj,80.29966736,0.01000,0.550
228 32,self_attn.q_proj,210.71531677,0.01000,0.547
229 32,self_attn.o_proj,7.62773275,0.01000,0.983
230 32,mlp.up_proj,70.70653534,0.01000,0.653
231 32,mlp.gate_proj,63.02287674,0.01000,0.565
232 32,mlp.down_proj,44.33407593,0.01000,2.744
233 33,self_attn.k_proj,91.17549133,0.01000,0.645
234 33,self_attn.v_proj,181.99508667,0.01000,0.548
235 33,self_attn.q_proj,422.93328857,0.01000,0.555
236 33,self_attn.o_proj,16.37356377,0.01000,0.993
237 33,mlp.up_proj,76.78594971,0.01000,0.654
238 33,mlp.gate_proj,67.32464600,0.01000,0.564
239 33,mlp.down_proj,56.63261795,0.01000,2.873
240 34,self_attn.k_proj,80.26489258,0.01000,0.644
241 34,self_attn.v_proj,133.13087463,0.01000,0.546
242 34,self_attn.q_proj,352.78515625,0.01000,0.548
243 34,self_attn.o_proj,23.87093353,0.01000,0.984
244 34,mlp.up_proj,84.84834290,0.01000,0.647
245 34,mlp.gate_proj,79.85603333,0.01000,0.565
246 34,mlp.down_proj,74.65843201,0.01000,2.654
247 35,self_attn.k_proj,48.68472672,0.01000,0.644
248 35,self_attn.v_proj,63.22115326,0.01000,0.549
249 35,self_attn.q_proj,187.34757996,0.01000,0.551
250 35,self_attn.o_proj,21.02386856,0.01000,0.983
251 35,mlp.up_proj,132.50225830,0.01000,0.646
252 35,mlp.gate_proj,127.69544983,0.01000,0.560
253 35,mlp.down_proj,131.40872192,0.01000,2.672

21
quantize_config.json Normal file
View File

@@ -0,0 +1,21 @@
{
"bits": 4,
"group_size": 128,
"desc_act": true,
"sym": true,
"lm_head": false,
"quant_method": "gptq",
"checkpoint_format": "gptq",
"pack_dtype": "int32",
"meta": {
"quantizer": [
"gptqmodel:2.2.0"
],
"uri": "https://github.com/modelcloud/gptqmodel",
"damp_percent": 0.01,
"damp_auto_increment": 0.0025,
"static_groups": false,
"true_sequential": true,
"mse": 0.0
}
}

25
special_tokens_map.json Normal file
View File

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

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

Binary file not shown.

241
tokenizer_config.json Normal file
View File

@@ -0,0 +1,241 @@
{
"add_bos_token": false,
"add_prefix_space": false,
"added_tokens_decoder": {
"151643": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151644": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151645": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151646": {
"content": "<|object_ref_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151647": {
"content": "<|object_ref_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151648": {
"content": "<|box_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151649": {
"content": "<|box_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151650": {
"content": "<|quad_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151651": {
"content": "<|quad_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151652": {
"content": "<|vision_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151653": {
"content": "<|vision_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151654": {
"content": "<|vision_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151655": {
"content": "<|image_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151656": {
"content": "<|video_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"151657": {
"content": "<tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151658": {
"content": "</tool_call>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151659": {
"content": "<|fim_prefix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151660": {
"content": "<|fim_middle|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151661": {
"content": "<|fim_suffix|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151662": {
"content": "<|fim_pad|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151663": {
"content": "<|repo_name|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151664": {
"content": "<|file_sep|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151665": {
"content": "<tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151666": {
"content": "</tool_response>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151667": {
"content": "<think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"151668": {
"content": "</think>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"additional_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"bos_token": null,
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in message.content %}\n {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"errors": "replace",
"extra_special_tokens": {},
"model_max_length": 131072,
"pad_token": "<unk>",
"split_special_tokens": false,
"tokenizer_class": "Qwen2TokenizerFast",
"unk_token": null,
"_commit_hash": null
}

1
vocab.json Normal file

File diff suppressed because one or more lines are too long