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

Model: iic/ERank-14B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-22 02:45:20 +08:00
commit c401682413
25 changed files with 910163 additions and 0 deletions

47
.gitattributes vendored Normal file
View File

@@ -0,0 +1,47 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bin.* filter=lfs diff=lfs merge=lfs -text
*.bz2 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
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack 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
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
saved_model/**/* 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
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zstandard filter=lfs diff=lfs merge=lfs -text
*.tfevents* filter=lfs diff=lfs merge=lfs -text
*.db* filter=lfs diff=lfs merge=lfs -text
*.ark* filter=lfs diff=lfs merge=lfs -text
**/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
**/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
**/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.gguf* filter=lfs diff=lfs merge=lfs -text
*.ggml filter=lfs diff=lfs merge=lfs -text
*.llamafile* filter=lfs diff=lfs merge=lfs -text
*.pt2 filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text

142
README.md Normal file
View File

@@ -0,0 +1,142 @@
---
license: apache-2.0
---
<div align="center">
<h1>ERank: Fusing Supervised Fine-Tuning and Reinforcement Learning for Effective and Efficient Text Reranking</h1>
</div>
<p align="center">
<a href="https://arxiv.org/abs/2509.00520">Arxiv</a>
</p>
## Introduction
We introduce ERANK, a highly effective and efficient pointwise reranker built from a reasoning LLM, which excels across diverse relevance scenarios with low latency.
Surprisingly, it also outperforms recent listwise rerankers on the most challenging reasoning-intensive tasks.
<img src="./assets/overview.png">
ERank is trained with a novel two-stage training pipeline, i.e., Supervised Fine-Tuning (SFT) and Reinforcement
Learning (RL).
During the SFT stage, unlike traidtional pointwise rerankers that train the LLMs for binary relevance classification, we encourage the LLM to generatively output fine grained integer scores.
In the RL training, we introduce a novel listwise derived reward, which instills global ranking awareness into the efficient
pointwise architecture.
## Model List
We provide the trained reranking models in various sizes (4B, 14B and 32B), all of which support customizing the input instruction according to different tasks.
| Model | Size | Layers | Sequence Length | Instruction Aware |
|------------------------------------------|------|--------|-----------------|-------------------|
| [ERank-4B](https://huggingface.co/Alibaba-NLP/ERank-4B) | 4B | 36 | 32K | Yes |
| [ERank-14B](https://huggingface.co/Alibaba-NLP/ERank-14B) | 14B | 40 | 128K | Yes |
| [ERank-32B](https://huggingface.co/Alibaba-NLP/ERank-32B) | 32B | 64 | 128K | Yes |
## Evaluation
We evaluate ERank on both reasoning-intensive benchmarks (BRIGHT and FollowIR) and traditional semantic relevance benchmarks (BEIR and TREC DL).
All methods use the original queries without hybrid scores.
| Paradigm | Method | Average | BRIGHT | FollowIR | BEIR | TREC DL |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| - | First-stage retriever | 25.9 | 13.7 | 0 | 40.8 | 49.3 |
| Listwise | Rank-R1-7B | 34.6 | 15.7 | 3.6 | **49.0** | 70.0 |
| Listwise | Rearank-7B | 35.3 | 17.4 | 2.3 | **49.0** | **72.5** |
| Pointwise | JudgeRank-8B | 32.1 | 17.0 | 9.9 | 39.1 | 62.6 |
| Pointwise | Rank1-7B | 34.6 | 18.2 | 9.1 | 44.2 | 67.1 |
| Pointwise | **ERank-4B (Ours)** | 36.8 | 22.7 | 11.0 | 44.8 | 68.9 |
| Pointwise | **ERank-14B (Ours)** | 36.9 | 23.1 | 10.3 | 47.1 | 67.1 |
| Pointwise | **ERank-32B (Ours)** | **38.1** | **24.4** | **12.1** | 47.7 | 68.1 |
On the most challenging BRIGHT benchmark, with top-100 documents retrieved by ReasonIR-8B using GPT-4 reason-query, ERank with BM25 hybrid achieves the state-of-the-art NDCG@10.
| Method | nDCG@10 |
| :--- | :--- |
| ReasonIR-8B | 30.5 |
| Rank-R1-7B | 24.1 |
| Rank1-7B | 24.3 |
| Rearank-7B | 27.5 |
| JudgeRank-8B | 20.2 |
| *+ BM25 hybrid* | 22.7 |
| Rank-R1-32B-v0.2 | 37.7 |
| *+ BM25 hybrid* | 40.0 |
| **ERank-4B (Ours)** | 30.5 |
| *+ BM25 hybrid* | 38.7 |
| **ERank-14B (Ours)** | 31.8 |
| *+ BM25 hybrid* | 39.3 |
| **ERank-32B (Ours)** | 32.8 |
| *+ BM25 hybrid* | **40.2** |
Since ERank is a pointwise reranker, it has low latency compared with listwise models.
<div align="center">
<img src="./assets/latency.png" width=400px>
</div>
For more details, please refer to our [Paper](https://arxiv.org/abs/2509.00520).
## Usage
We have implemented the inference code based on Transformer and vLLM, respectively.
```python
from examples.ERank_Transformer import ERank_Transformer
from examples.ERank_vLLM import ERank_vLLM
from examples.utils import hybrid_scores
# select a model
# model_name_or_path = "Alibaba-NLP/ERank-4B"
model_name_or_path = "Alibaba-NLP/ERank-14B"
# model_name_or_path = "Alibaba-NLP/ERank-32B"
# use vLLM or Transformer
# reranker = ERank_Transformer(model_name_or_path)
reranker = ERank_vLLM(model_name_or_path)
# input data
instruction = "Retrieve relevant documents for the query."
query = "I am happy"
docs = [
{"content": "excited", "first_stage_score": 46.7},
{"content": "sad", "first_stage_score": 1.5},
{"content": "peaceful", "first_stage_score": 2.3},
]
# rerank
results = reranker.rerank(query, docs, instruction, truncate_length=2048)
print(results)
# [
# {'content': 'excited', 'first_stage_score': 46.7, 'rank_score': 4.84},
# {'content': 'peaceful', 'first_stage_score': 2.3, 'rank_score': 2.98}
# {'content': 'sad', 'first_stage_score': 1.5, 'rank_score': 0.0},
# ]
# Optional: hybrid with first-stage scores
alpha = 0.2
hybrid_results = hybrid_scores(results, alpha)
print(hybrid_results)
# [
# {'content': 'excited', 'first_stage_score': 46.7, 'rank_score': 4.84, 'hybrid_score': 1.18},
# {'content': 'peaceful', 'first_stage_score': 2.3, 'rank_score': 2.98, 'hybrid_score':0.01},
# {'content': 'sad', 'first_stage_score': 1.5, 'rank_score': 0.0, 'hybrid_score': -1.19}
# ]
```
Please refer to the `examples` directory for details, in which we also provide the instructions used in the prompt during evaluation.
## Citation
If you find our work helpful, feel free to give us a cite.
```
@misc{ERank,
title={ERank: Fusing Supervised Fine-Tuning and Reinforcement Learning for Effective and Efficient Text Reranking},
author={Yuzheng Cai and Yanzhao Zhang and Dingkun Long and Mingxin Li and Pengjun Xie and Weiguo Zheng},
year={2025},
eprint={2509.00520},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2509.00520},
}
```

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
}

BIN
assets/latency.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

BIN
assets/overview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 KiB

30
config.json Normal file
View File

@@ -0,0 +1,30 @@
{
"architectures": [
"Qwen3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"eos_token_id": 151645,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 5120,
"initializer_range": 0.02,
"intermediate_size": 17408,
"max_position_embeddings": 32768,
"max_window_layers": 40,
"model_type": "qwen3",
"num_attention_heads": 40,
"num_hidden_layers": 40,
"num_key_value_heads": 8,
"pad_token_id": 151643,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 1000000,
"sliding_window": null,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.51.3",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936
}

1
configuration.json Normal file
View File

@@ -0,0 +1 @@
{"framework":"Pytorch","task":"text-generation"}

View File

@@ -0,0 +1,146 @@
from torch.nn import functional as F
from transformers import AutoModelForCausalLM, AutoTokenizer
from utils import prompt_template, truncate, hybrid_scores
class ERank_Transformer:
def __init__(self, model_name_or_path: str):
"""
Initializes the ERank_Transformer reranker.
Args:
model_name_or_path (str): The name or path of the model to be loaded.
This can be a Hugging Face model ID or a local path.
"""
self.tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
self.reranker = AutoModelForCausalLM.from_pretrained(model_name_or_path).eval()
self.reranker.to("cuda")
def rerank(self, query: str, docs: list, instruction: str, truncate_length: int=None) -> list:
"""
Reranks a list of documents based on a query and a specific instruction.
Args:
query (str): The search query provided by the user.
docs (list): A list of dictionaries, where each dictionary represents a document
and must contain a "content" key.
instruction (str): The instruction for the model, guiding it on how to evaluate the documents.
truncate_length (int, optional): The maximum length to truncate the query and document content to. Defaults to None.
Returns:
list: A new list of document dictionaries, sorted by their "rank_score" in descending order.
"""
# prepare messages
messages = [
[{
"role": "user",
"content": prompt_template.format(
query=truncate(self.tokenizer, query, length=truncate_length) if truncate_length else query,
doc=truncate(self.tokenizer, doc["content"], length=truncate_length) if truncate_length else doc["content"],
instruction=instruction
)
}] for doc in docs
]
# encode tokens
texts = [
self.tokenizer.apply_chat_template(
each,
tokenize=False,
add_generation_prompt=True,
) for each in messages
]
inputs = self.tokenizer(texts, padding=True, return_tensors="pt").to(self.reranker.device)
# LLM completion
outputs = self.reranker.generate(
**inputs,
max_new_tokens=8192,
output_scores=True,
return_dict_in_generate=True
)
# extract and organize results
results = []
scores = outputs.scores
generated_ids = outputs.sequences
answer_token_ids = self.tokenizer.encode("<answer>", add_special_tokens=False)
for idx in range(len(texts)):
# find <answer> in the generated sequence
output_ids = generated_ids[idx].tolist()
start_index = -1
for i in range(len(output_ids)-len(answer_token_ids)-1, -1, -1):
if output_ids[i:i + len(answer_token_ids)] == answer_token_ids:
start_index = i + len(answer_token_ids)
break
# start from the index after <answer>
answer = ""
prob = 1.0
if start_index != -1:
for t in range(start_index - inputs.input_ids.size(1), len(scores)):
generated_token_id = generated_ids[idx][inputs.input_ids.size(1) + t]
token = self.tokenizer.decode(generated_token_id)
if token.isdigit():
logits = scores[t][idx]
probs = F.softmax(logits, dim=-1)
prob *= probs[generated_token_id].item()
answer += token
else:
break
# in case the answer is not a digit or exceeds 10
try:
answer = int(answer)
assert answer <= 10
except:
answer = -1
# append to the final results
results.append({
**docs[idx],
"rank_score": answer * prob
})
# sort the reranking results for the query
results.sort(key=lambda x:x["rank_score"], reverse=True)
return results
if __name__ == "__main__":
# select a model
model_name_or_path = "Ucreate/ERank-4B"
# model_name_or_path = "Ucreate/ERank-14B"
# model_name_or_path = "Ucreate/ERank-32B"
reranker = ERank_Transformer(model_name_or_path)
# input data
instruction = "Retrieve relevant documents for the query."
query = "I am happy"
docs = [
{"content": "excited", "first_stage_score": 46.7},
{"content": "sad", "first_stage_score": 1.5},
{"content": "peaceful", "first_stage_score": 2.3},
]
# rerank
results = reranker.rerank(query, docs, instruction, truncate_length=2048)
print(results)
# [
# {'content': 'excited', 'first_stage_score': 46.7, 'rank_score': 4.84},
# {'content': 'peaceful', 'first_stage_score': 2.3, 'rank_score': 2.98}
# {'content': 'sad', 'first_stage_score': 1.5, 'rank_score': 0.0},
# ]
# Optional: hybrid with first-stage scores
alpha = 0.2
hybrid_results = hybrid_scores(results, alpha)
print(hybrid_results)
# [
# {'content': 'excited', 'first_stage_score': 46.7, 'rank_score': 4.84, 'hybrid_score': 1.18},
# {'content': 'peaceful', 'first_stage_score': 2.3, 'rank_score': 2.98, 'hybrid_score':0.01},
# {'content': 'sad', 'first_stage_score': 1.5, 'rank_score': 0.0, 'hybrid_score': -1.19}
# ]

97
examples/ERank_vLLM.py Normal file
View File

@@ -0,0 +1,97 @@
import torch
import math
from vllm import LLM, SamplingParams
from utils import prompt_template, truncate
class ERank_vLLM:
def __init__(self, model_name_or_path: str):
"""
Initializes the ERank_vLLM reranker.
Args:
model_name_or_path (str): The name or path of the model to be loaded.
This can be a Hugging Face model ID or a local path.
"""
num_gpu = torch.cuda.device_count()
self.ranker = LLM(
model=model_name_or_path,
tensor_parallel_size=num_gpu,
gpu_memory_utilization=0.95,
enable_prefix_caching=True
)
self.tokenizer = self.ranker.get_tokenizer()
self.sampling_params = SamplingParams(
temperature=0,
max_tokens=4096,
logprobs=20
)
def rerank(self, query: str, docs: list, instruction: str, truncate_length: int=None) -> list:
"""
Reranks a list of documents based on a query and a specific instruction.
Args:
query (str): The search query provided by the user.
docs (list): A list of dictionaries, where each dictionary represents a document
and must contain a "content" key.
instruction (str): The instruction for the model, guiding it on how to evaluate the documents.
truncate_length (int, optional): The maximum length to truncate the query and document content to. Defaults to None.
Returns:
list: A new list of document dictionaries, sorted by their "rank_score" in descending order.
"""
# prepare messages
messages = [
[{
"role": "user",
"content": prompt_template.format(
query=truncate(self.tokenizer, query, length=truncate_length) if truncate_length else query,
doc=truncate(self.tokenizer, doc["content"], length=truncate_length) if truncate_length else doc["content"],
instruction=instruction
)
}] for doc in docs
]
# LLM generate
outputs = self.ranker.chat(messages, self.sampling_params)
# extract and organize results
results = []
for doc, output in zip(docs, outputs):
# extract the answer and its probability
cur = ""
answer = ""
is_ans = False
prob = 1.0
for each in output.outputs[0].logprobs[-10:]:
_, detail = next(iter(each.items()))
token = detail.decoded_token
logprob = detail.logprob
if is_ans and token.isdigit():
answer += token
prob *= math.exp(logprob)
else:
cur += token
if cur.endswith("<answer>"):
is_ans = True
# in case the answer is not a digit or exceeds 10
try:
answer = int(answer)
assert answer <= 10
except:
answer = -1
# append to the final results
results.append({
**doc,
"rank_score": answer * prob
})
# sort the reranking results for the query
results.sort(key=lambda x:x["rank_score"], reverse=True)
return results

View File

@@ -0,0 +1,10 @@
{
"BRIGHT (AoPS)": "We want to find different but similar math problems to the query. A document is relevant if it uses the same class of functions and shares any overlapping techniques.",
"BRIGHT (LeetCode)": "I am looking to find different problems that share similar data structures (of any kind) or algorithms (e.g. DFS, DP, sorting, traversals, etc.). I am looking for problems that share one or both of these similarities to the query. Does the passage below share any similarities? e.g. if there was a textbook on leetcode problems, this would be in the same book even though it could be in a different chapter.",
"BRIGHT (Pony)": "I will use the programming language pony. But to solve the problem above, I need to know things about pony. A passage is relevant if it contains docs that match any part (even basic parts) of the code I will have to write for the above program.",
"BRIGHT (TheoremQA-Q)": "We want to find a document which uses the same mathematical process as the query. A document is relevant if it uses the same mathematical process as the query.",
"BRIGHT (TheoremQA-T)": "We want to find a document which uses the same mathematical process as the query. A document is relevant if it uses the same mathematical process as the query.",
"BRIGHT (others)": "A document is relevant if it contains information that helps answer or address the query. A document is not relevant if it doesn't contain information that helps answer the query, even if it mentions similar topics.",
"BEIR / TREC DL": "Given a query, retrieval relevant passage.",
"FollowIR": "Retrieval the relevant passage for the given query. Be careful about the extra requirements about relevance in the query."
}

44
examples/utils.py Normal file
View File

@@ -0,0 +1,44 @@
import numpy as np
prompt_template = """Given a query and a document, please give a relevance score of 0~10.
The goal or relevance definition is: {instruction}
Here is the query:
{query}
Here is the document:
{doc}
After thinking, directly choose a relevance score from [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10].
- 0 represents completely not related
- 10 means perfectly related.
Desired output format:
<think>put your thinking here</think><answer>Only allows an integer here</answer>
Your output:"""
def truncate(tokenizer, text, length):
if length == None or text == None:
return text
return tokenizer.convert_tokens_to_string(tokenizer.tokenize(text)[:length])
def hybrid_scores(results, alpha):
first_stage_scores = [each["first_stage_score"] for each in results]
rank_scores = [each["rank_score"] for each in results]
first_stage_mean, first_stage_std = np.mean(first_stage_scores), np.std(first_stage_scores)
rank_mean, rank_std = np.mean(rank_scores), np.std(rank_scores)
hybrid_results = []
for result in results:
normalized_first_stage_score = (result["first_stage_score"] - first_stage_mean) / first_stage_std
normalized_rank_score = (result["rank_score"] - rank_mean) / rank_std
hybrid_results.append({
**result,
"hybrid_score": float(alpha * normalized_first_stage_score + (1-alpha) * normalized_rank_score)
})
hybrid_results.sort(key=lambda x:x['hybrid_score'], reverse=True)
return hybrid_results

6
generation_config.json Normal file
View File

@@ -0,0 +1,6 @@
{
"bos_token_id": 151643,
"eos_token_id": 151643,
"max_new_tokens": 2048,
"transformers_version": "4.51.3"
}

151388
merges.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:669d1775f66bdbed1ebbb2dff6e86e7df10895b06f8bfcc80f4e2459842ca64c
size 4131596312

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25fd64099d1c4f965e2053004be31a10d89d34306a7109a5ab645cd194273c0e
size 4823539672

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37f26fbf5da66ed356d1b18d5a966fc6354c2f5e6c39f216720aa9a4477d242d
size 859886464

View File

@@ -0,0 +1,450 @@
{
"metadata": {
"total_size": 29536614400
},
"weight_map": {
"lm_head.weight": "model-00003-of-00007.safetensors",
"model.embed_tokens.weight": "model-00002-of-00007.safetensors",
"model.layers.0.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.0.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.0.mlp.gate_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.0.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.0.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.0.self_attn.k_norm.weight": "model-00007-of-00007.safetensors",
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.0.self_attn.o_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.0.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.0.self_attn.q_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.0.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.1.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.1.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.1.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.1.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.1.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.1.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.1.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.1.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.1.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.1.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.10.input_layernorm.weight": "model-00007-of-00007.safetensors",
"model.layers.10.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.10.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.10.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.10.self_attn.k_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.10.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.10.self_attn.q_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.10.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.10.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.11.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.11.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.11.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.11.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.11.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.11.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.11.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.11.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.11.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.12.input_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.12.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.12.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.12.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.12.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.12.self_attn.k_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.12.self_attn.k_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.12.self_attn.q_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.12.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.13.input_layernorm.weight": "model-00007-of-00007.safetensors",
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.13.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.13.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.13.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.13.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.13.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.13.self_attn.o_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.13.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.13.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.13.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.14.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.14.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.14.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.14.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.14.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.14.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.14.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.14.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.14.self_attn.q_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.14.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.15.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.15.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.15.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.15.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.15.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.15.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.15.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.15.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.15.self_attn.q_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.15.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.15.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.16.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.16.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.16.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.16.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.16.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.16.self_attn.q_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.16.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.16.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.17.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.17.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.17.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.17.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.17.self_attn.k_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.17.self_attn.k_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.17.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.17.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.17.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.17.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.18.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.18.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.18.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.18.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.18.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.18.self_attn.q_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.18.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.18.self_attn.v_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.19.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.19.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.19.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.19.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.19.post_attention_layernorm.weight": "model-00007-of-00007.safetensors",
"model.layers.19.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.19.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.19.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.19.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.19.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.19.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.2.input_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.2.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.2.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.2.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.2.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
"model.layers.2.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.2.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.2.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.2.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.2.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.20.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.20.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.20.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.20.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.20.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.20.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.20.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.20.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.20.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.21.input_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.21.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.21.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.21.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.21.post_attention_layernorm.weight": "model-00007-of-00007.safetensors",
"model.layers.21.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.21.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.21.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.21.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.21.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.22.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.22.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.22.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.22.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.22.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.22.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.22.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.22.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.22.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.22.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.23.input_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.23.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.23.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.23.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.23.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.23.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.23.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.23.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.23.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.23.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.24.input_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.24.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.24.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.24.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
"model.layers.24.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.24.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.24.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.24.self_attn.q_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.24.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.24.self_attn.v_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.25.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.25.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.25.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.25.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.25.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.25.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.25.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.25.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.25.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.25.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.26.input_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.26.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.26.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.26.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.26.self_attn.k_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.26.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.26.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.27.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.27.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.27.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.27.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
"model.layers.27.self_attn.k_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.27.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.27.self_attn.q_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.27.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.27.self_attn.v_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.28.input_layernorm.weight": "model-00006-of-00007.safetensors",
"model.layers.28.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.28.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.28.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.28.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.28.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.28.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.28.self_attn.q_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.28.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.29.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.29.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.29.mlp.gate_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.29.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.29.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.29.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.29.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.29.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.29.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.29.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.3.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.3.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.3.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.3.mlp.up_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.3.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.3.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.3.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.3.self_attn.q_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.3.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.3.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.30.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.30.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.30.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.30.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.30.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.30.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.30.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.30.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.30.self_attn.v_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.31.input_layernorm.weight": "model-00007-of-00007.safetensors",
"model.layers.31.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.31.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.31.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.31.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.31.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.31.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.31.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.31.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.31.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.32.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.32.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.32.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.32.mlp.up_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.32.post_attention_layernorm.weight": "model-00006-of-00007.safetensors",
"model.layers.32.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.32.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.32.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.32.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.32.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.32.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.33.input_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.33.mlp.down_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.33.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.33.mlp.up_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.33.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.33.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.33.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.33.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.33.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.33.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.33.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.34.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.34.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.34.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.34.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.34.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.34.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.34.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.34.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.34.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.34.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.34.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.35.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.35.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.35.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.35.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.35.post_attention_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.35.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.35.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.35.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.35.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.35.self_attn.q_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.35.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.36.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.36.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.36.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.36.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.36.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.36.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.36.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.36.self_attn.o_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.36.self_attn.q_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.36.self_attn.q_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.36.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.37.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.37.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.37.mlp.gate_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.37.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.37.post_attention_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.37.self_attn.k_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.37.self_attn.k_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.37.self_attn.o_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.37.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.37.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.37.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.38.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.38.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.38.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.38.mlp.up_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.38.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.38.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.38.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.38.self_attn.o_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.38.self_attn.q_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.38.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.38.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.39.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.39.mlp.down_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.39.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.39.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.39.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.39.self_attn.k_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.39.self_attn.k_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.39.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.39.self_attn.q_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.39.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.39.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.4.input_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.4.mlp.down_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.4.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.4.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.4.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.4.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.4.self_attn.q_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.4.self_attn.q_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.4.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.5.input_layernorm.weight": "model-00004-of-00007.safetensors",
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.5.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.5.self_attn.k_norm.weight": "model-00003-of-00007.safetensors",
"model.layers.5.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.5.self_attn.o_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.5.self_attn.q_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.6.input_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.6.mlp.down_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.6.mlp.gate_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.6.mlp.up_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00007.safetensors",
"model.layers.6.self_attn.k_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.6.self_attn.k_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.6.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.6.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.6.self_attn.v_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.7.input_layernorm.weight": "model-00002-of-00007.safetensors",
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.7.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.7.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.7.self_attn.k_norm.weight": "model-00002-of-00007.safetensors",
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.7.self_attn.o_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.7.self_attn.q_norm.weight": "model-00006-of-00007.safetensors",
"model.layers.7.self_attn.q_proj.weight": "model-00007-of-00007.safetensors",
"model.layers.7.self_attn.v_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.8.input_layernorm.weight": "model-00005-of-00007.safetensors",
"model.layers.8.mlp.down_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.8.mlp.gate_proj.weight": "model-00003-of-00007.safetensors",
"model.layers.8.mlp.up_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.8.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.8.self_attn.k_norm.weight": "model-00007-of-00007.safetensors",
"model.layers.8.self_attn.k_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.8.self_attn.q_norm.weight": "model-00001-of-00007.safetensors",
"model.layers.8.self_attn.q_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.8.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
"model.layers.9.input_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.9.mlp.down_proj.weight": "model-00001-of-00007.safetensors",
"model.layers.9.mlp.gate_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00007.safetensors",
"model.layers.9.post_attention_layernorm.weight": "model-00003-of-00007.safetensors",
"model.layers.9.self_attn.k_norm.weight": "model-00005-of-00007.safetensors",
"model.layers.9.self_attn.k_proj.weight": "model-00006-of-00007.safetensors",
"model.layers.9.self_attn.o_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.9.self_attn.q_norm.weight": "model-00004-of-00007.safetensors",
"model.layers.9.self_attn.q_proj.weight": "model-00004-of-00007.safetensors",
"model.layers.9.self_attn.v_proj.weight": "model-00005-of-00007.safetensors",
"model.norm.weight": "model-00006-of-00007.safetensors"
}
}

31
special_tokens_map.json Normal file
View File

@@ -0,0 +1,31 @@
{
"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": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

757480
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

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": "<|endoftext|>",
"padding_side": "left",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null
}

1
vocab.json Normal file

File diff suppressed because one or more lines are too long