初始化项目,由ModelHub XC社区提供模型
Model: zpeng1989/Medical_Dialogue_Model Source: Original Platform
This commit is contained in:
47
.gitattributes
vendored
Normal file
47
.gitattributes
vendored
Normal 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
|
||||||
170
README.md
Normal file
170
README.md
Normal file
@@ -0,0 +1,170 @@
|
|||||||
|
# 肿瘤知识问答大模型
|
||||||
|
|
||||||
|
## 项目概述
|
||||||
|
|
||||||
|
本项目旨在构建一个针对肿瘤知识的问答大模型,基于`qwen2.5-7B`模型作为基座模型,使用LoRA(Low-Rank Adaptation)技术进行微调。模型训练数据涵盖了基因数据、肿瘤药物、NCCN(美国国家综合癌症网络)指南、CSCO(中国临床肿瘤学会)指南等权威肿瘤学知识信息,并通过问答题目进行微调,以提升模型在肿瘤领域的问答能力。
|
||||||
|
|
||||||
|
## 模型架构
|
||||||
|
|
||||||
|
- **基座模型**: `qwen2.5-7B`
|
||||||
|
- **微调方法**: LoRA(Low-Rank Adaptation)
|
||||||
|
- **训练数据**:
|
||||||
|
- 基因数据
|
||||||
|
- 肿瘤药物信息
|
||||||
|
- NCCN指南
|
||||||
|
- CSCO指南
|
||||||
|
- 肿瘤知识问答题目
|
||||||
|
|
||||||
|
## 数据集
|
||||||
|
|
||||||
|
### 数据来源
|
||||||
|
1. **基因数据**: 包含与肿瘤相关的基因突变、表达谱等信息。
|
||||||
|
2. **肿瘤药物**: 涵盖常用肿瘤药物的适应症、副作用、作用机制等。
|
||||||
|
3. **NCCN指南**: 美国国家综合癌症网络发布的肿瘤治疗指南。
|
||||||
|
4. **CSCO指南**: 中国临床肿瘤学会发布的肿瘤诊疗指南。
|
||||||
|
5. **问答题目**: 基于上述数据生成的肿瘤知识问答题目,用于模型微调。
|
||||||
|
|
||||||
|
### 数据预处理
|
||||||
|
- **数据清洗**: 去除重复、不完整或无关的数据。
|
||||||
|
- **数据标注**: 对问答题目进行标注,确保问题和答案的准确性。
|
||||||
|
- **数据分割**: 将数据集分为训练集、验证集和测试集。
|
||||||
|
|
||||||
|
## 模型训练
|
||||||
|
|
||||||
|
### 微调方法
|
||||||
|
使用LoRA技术对`qwen2.5-7B`模型进行微调。LoRA通过在预训练模型的权重矩阵中引入低秩矩阵来减少参数量,从而在保持模型性能的同时降低计算成本。
|
||||||
|
|
||||||
|
### 训练步骤
|
||||||
|
1. **加载预训练模型**: 加载`qwen2.5-7B`模型。
|
||||||
|
2. **应用LoRA**: 在模型的关键层应用LoRA技术。
|
||||||
|
3. **训练模型**: 使用准备好的肿瘤知识问答数据集进行微调。
|
||||||
|
4. **验证与测试**: 在验证集和测试集上评估模型性能,调整超参数以优化结果。
|
||||||
|
|
||||||
|
## 模型评估
|
||||||
|
|
||||||
|
### 评估指标
|
||||||
|
- **准确率**: 模型在问答任务中的准确率。
|
||||||
|
- **召回率**: 模型能够正确回答的问题比例。
|
||||||
|
- **F1分数**: 准确率和召回率的调和平均数。
|
||||||
|
|
||||||
|
### 评估结果
|
||||||
|
在测试集上的评估结果如下:
|
||||||
|
待更新
|
||||||
|
|
||||||
|
## 使用指南
|
||||||
|
|
||||||
|
### 环境配置
|
||||||
|
1. **Python版本**: 3.10+
|
||||||
|
2. **依赖库**:
|
||||||
|
- `transformers`
|
||||||
|
- `torch`
|
||||||
|
|
||||||
|
|
||||||
|
### 模型下载
|
||||||
|
|
||||||
|
|
||||||
|
SDK下载
|
||||||
|
```bash
|
||||||
|
#安装ModelScope
|
||||||
|
pip install modelscope
|
||||||
|
```
|
||||||
|
```python
|
||||||
|
#SDK模型下载
|
||||||
|
from modelscope import snapshot_download
|
||||||
|
model_dir = snapshot_download('zpeng1989/Medical_Oncology_Large_Language_Model')
|
||||||
|
```
|
||||||
|
Git下载
|
||||||
|
```
|
||||||
|
#Git模型下载
|
||||||
|
git clone https://www.modelscope.cn/zpeng1989/Medical_Oncology_Large_Language_Model.git
|
||||||
|
```
|
||||||
|
|
||||||
|
### 模型推理
|
||||||
|
```python
|
||||||
|
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||||
|
|
||||||
|
# 加载微调后的模型
|
||||||
|
model = AutoModelForCausalLM.from_pretrained("path_to_your_model")
|
||||||
|
tokenizer = AutoTokenizer.from_pretrained("path_to_your_model")
|
||||||
|
|
||||||
|
# 输入问题
|
||||||
|
question = "什么是NCCN指南?"
|
||||||
|
inputs = tokenizer(question, return_tensors="pt")
|
||||||
|
|
||||||
|
# 生成答案
|
||||||
|
outputs = model.generate(**inputs)
|
||||||
|
answer = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
||||||
|
|
||||||
|
print(answer)
|
||||||
|
```
|
||||||
|
|
||||||
|
## 具体案例
|
||||||
|
|
||||||
|
### Case 1
|
||||||
|
|
||||||
|
```
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"role": "system",
|
||||||
|
"content": "你是医生"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"role": "user",
|
||||||
|
"content": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"text": "安罗替尼的副作用与肝功能有何关联?"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"role": "assistant",
|
||||||
|
"content": "安罗替尼的副作用可能与肝功能有关,包括肝酶异常等。"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
### Case 2
|
||||||
|
|
||||||
|
```
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"role": "system",
|
||||||
|
"content": "你是医生"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"role": "user",
|
||||||
|
"content": [
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"text": "KDR受体的功能和作用是什么?"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"role": "assistant",
|
||||||
|
"content": "KDR受体主要调节VEGF激活的内皮细胞功能,在内皮细胞中促进增殖、迁移,血管渗透性以及血管再生。"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## 许可证
|
||||||
|
本项目采用 [MIT 许可证](LICENSE)。
|
||||||
|
|
||||||
|
## 致谢
|
||||||
|
- 感谢 `qwen2.5-7B` 模型的开发者。
|
||||||
|
- 感谢 NCCN 和 CSCO 提供的指南数据。
|
||||||
|
- 感谢所有为肿瘤知识问答数据集做出贡献的研究人员。
|
||||||
|
|
||||||
|
## 联系方式
|
||||||
|
如有任何问题,请联系 [592392714@qq.com]。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**注意**: 本项目仅供学术研究使用,不构成医疗建议。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
24
added_tokens.json
Normal file
24
added_tokens.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"</tool_call>": 151658,
|
||||||
|
"<tool_call>": 151657,
|
||||||
|
"<|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
|
||||||
|
}
|
||||||
29
config.json
Normal file
29
config.json
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"_name_or_path": "/data/cgu/Model/Qwen25_7B_Instruct",
|
||||||
|
"architectures": [
|
||||||
|
"Qwen2ForCausalLM"
|
||||||
|
],
|
||||||
|
"attention_dropout": 0.0,
|
||||||
|
"bos_token_id": 151643,
|
||||||
|
"eos_token_id": 151645,
|
||||||
|
"hidden_act": "silu",
|
||||||
|
"hidden_size": 3584,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 18944,
|
||||||
|
"max_position_embeddings": 32768,
|
||||||
|
"max_window_layers": 28,
|
||||||
|
"model_type": "qwen2",
|
||||||
|
"num_attention_heads": 28,
|
||||||
|
"num_hidden_layers": 28,
|
||||||
|
"num_key_value_heads": 4,
|
||||||
|
"rms_norm_eps": 1e-06,
|
||||||
|
"rope_scaling": null,
|
||||||
|
"rope_theta": 1000000.0,
|
||||||
|
"sliding_window": null,
|
||||||
|
"tie_word_embeddings": false,
|
||||||
|
"torch_dtype": "bfloat16",
|
||||||
|
"transformers_version": "4.46.1",
|
||||||
|
"use_cache": true,
|
||||||
|
"use_sliding_window": false,
|
||||||
|
"vocab_size": 152064
|
||||||
|
}
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"task":"text-generation"}
|
||||||
14
generation_config.json
Normal file
14
generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"bos_token_id": 151643,
|
||||||
|
"do_sample": true,
|
||||||
|
"eos_token_id": [
|
||||||
|
151645,
|
||||||
|
151643
|
||||||
|
],
|
||||||
|
"pad_token_id": 151643,
|
||||||
|
"repetition_penalty": 1.05,
|
||||||
|
"temperature": 0.7,
|
||||||
|
"top_k": 20,
|
||||||
|
"top_p": 0.8,
|
||||||
|
"transformers_version": "4.46.1"
|
||||||
|
}
|
||||||
151388
merges.txt
Normal file
151388
merges.txt
Normal file
File diff suppressed because it is too large
Load Diff
3
model-00001-of-00009.safetensors
Normal file
3
model-00001-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c72731f7283d5e6e9ee6ab8b22ec87c360b698c2d9cc53a2b7c8387682325d32
|
||||||
|
size 1886423520
|
||||||
3
model-00002-of-00009.safetensors
Normal file
3
model-00002-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6c42c47cc6444addd271b3798da98a1dcf15fc3cb0c92c13d6df47217c1e07af
|
||||||
|
size 1864467800
|
||||||
3
model-00003-of-00009.safetensors
Normal file
3
model-00003-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9ed4f07cacefdac37315c99aca15f59c40879464ce644219cdcc75fc8d30b961
|
||||||
|
size 1864467800
|
||||||
3
model-00004-of-00009.safetensors
Normal file
3
model-00004-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:34e5efb8e04030642a092b36b3d791c43fe8438a3705102c5981a3ab57e01fce
|
||||||
|
size 1864467824
|
||||||
3
model-00005-of-00009.safetensors
Normal file
3
model-00005-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f41a7980c29ce2af6dca71008682eaf03f9a4655140b90300f27ae229c2f88ee
|
||||||
|
size 1864467848
|
||||||
3
model-00006-of-00009.safetensors
Normal file
3
model-00006-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7efe2354302899b277bd97396a7f46d1a0c5cbc9b3e242438f4d231b28e70ed
|
||||||
|
size 1864467848
|
||||||
3
model-00007-of-00009.safetensors
Normal file
3
model-00007-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:841f5111133dec0a97f15a646f6d8fd78f09c8730c5a437449cd1f631c8aace4
|
||||||
|
size 1864467848
|
||||||
3
model-00008-of-00009.safetensors
Normal file
3
model-00008-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7e151462df2853f8183d12c1c0deb808f9bae7bd5878e93c821ea91526e24bff
|
||||||
|
size 1068046456
|
||||||
3
model-00009-of-00009.safetensors
Normal file
3
model-00009-of-00009.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:06006972c3be88e8a44fe21cfe2b0472b130780c781a741f8f90f1fe5ba3aae2
|
||||||
|
size 1089994880
|
||||||
346
model.safetensors.index.json
Normal file
346
model.safetensors.index.json
Normal file
@@ -0,0 +1,346 @@
|
|||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"total_size": 15231233024
|
||||||
|
},
|
||||||
|
"weight_map": {
|
||||||
|
"lm_head.weight": "model-00009-of-00009.safetensors",
|
||||||
|
"model.embed_tokens.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.input_layernorm.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.input_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.1.mlp.down_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.post_attention_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00009.safetensors",
|
||||||
|
"model.layers.10.input_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.mlp.down_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.mlp.gate_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.mlp.up_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.post_attention_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.k_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.k_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.o_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.q_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.q_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.v_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.10.self_attn.v_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.input_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.mlp.down_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.mlp.gate_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.mlp.up_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.post_attention_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.k_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.k_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.o_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.q_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.q_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.v_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.11.self_attn.v_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.input_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.mlp.down_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.mlp.gate_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.mlp.up_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.post_attention_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.k_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.k_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.o_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.q_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.q_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.v_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.12.self_attn.v_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.input_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.13.mlp.down_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.13.mlp.gate_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.mlp.up_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.post_attention_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.k_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.k_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.o_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.q_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.q_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.v_proj.bias": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.13.self_attn.v_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.14.input_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.mlp.down_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.mlp.gate_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.mlp.up_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.post_attention_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.k_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.k_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.o_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.q_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.q_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.v_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.14.self_attn.v_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.input_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.mlp.down_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.mlp.gate_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.mlp.up_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.post_attention_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.k_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.k_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.o_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.q_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.q_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.v_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.15.self_attn.v_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.input_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.mlp.down_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.mlp.gate_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.mlp.up_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.post_attention_layernorm.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.k_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.k_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.o_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.q_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.q_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.v_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.16.self_attn.v_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.input_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.17.mlp.down_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.17.mlp.gate_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.mlp.up_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.post_attention_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.k_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.k_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.o_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.q_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.q_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.v_proj.bias": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.17.self_attn.v_proj.weight": "model-00005-of-00009.safetensors",
|
||||||
|
"model.layers.18.input_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.mlp.down_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.mlp.gate_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.mlp.up_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.post_attention_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.k_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.k_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.o_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.q_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.q_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.v_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.18.self_attn.v_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.input_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.mlp.down_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.mlp.gate_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.mlp.up_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.post_attention_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.k_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.k_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.o_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.q_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.q_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.v_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.19.self_attn.v_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.2.input_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.mlp.down_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.mlp.gate_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.mlp.up_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.post_attention_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.k_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.k_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.o_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.q_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.q_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.v_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.2.self_attn.v_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.20.input_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.mlp.down_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.mlp.gate_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.mlp.up_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.post_attention_layernorm.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.k_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.k_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.o_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.q_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.q_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.v_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.20.self_attn.v_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.input_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.21.mlp.down_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.21.mlp.gate_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.mlp.up_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.post_attention_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.k_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.k_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.o_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.q_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.q_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.v_proj.bias": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.21.self_attn.v_proj.weight": "model-00006-of-00009.safetensors",
|
||||||
|
"model.layers.22.input_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.mlp.down_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.mlp.gate_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.mlp.up_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.post_attention_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.k_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.k_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.o_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.q_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.q_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.v_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.22.self_attn.v_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.input_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.mlp.down_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.mlp.gate_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.mlp.up_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.post_attention_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.k_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.k_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.o_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.q_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.q_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.v_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.23.self_attn.v_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.input_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.mlp.down_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.mlp.gate_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.mlp.up_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.post_attention_layernorm.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.k_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.k_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.o_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.q_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.q_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.v_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.24.self_attn.v_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.input_layernorm.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.25.mlp.down_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.25.mlp.gate_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.mlp.up_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.post_attention_layernorm.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.k_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.k_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.o_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.q_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.q_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.v_proj.bias": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.25.self_attn.v_proj.weight": "model-00007-of-00009.safetensors",
|
||||||
|
"model.layers.26.input_layernorm.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.mlp.down_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.mlp.gate_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.mlp.up_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.post_attention_layernorm.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.k_proj.bias": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.k_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.o_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.q_proj.bias": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.q_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.v_proj.bias": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.26.self_attn.v_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.input_layernorm.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.mlp.down_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.mlp.gate_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.mlp.up_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.post_attention_layernorm.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.k_proj.bias": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.k_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.o_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.q_proj.bias": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.q_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.v_proj.bias": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.27.self_attn.v_proj.weight": "model-00008-of-00009.safetensors",
|
||||||
|
"model.layers.3.input_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.mlp.down_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.mlp.gate_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.mlp.up_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.post_attention_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.k_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.k_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.o_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.q_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.q_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.v_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.3.self_attn.v_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.input_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.mlp.down_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.mlp.gate_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.mlp.up_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.post_attention_layernorm.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.k_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.k_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.o_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.q_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.q_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.v_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.4.self_attn.v_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.input_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.5.mlp.down_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.5.mlp.gate_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.post_attention_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.k_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.k_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.o_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.q_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.q_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.v_proj.bias": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.5.self_attn.v_proj.weight": "model-00002-of-00009.safetensors",
|
||||||
|
"model.layers.6.input_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.mlp.down_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.mlp.gate_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.mlp.up_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.post_attention_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.k_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.k_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.o_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.q_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.q_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.v_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.6.self_attn.v_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.input_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.mlp.down_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.mlp.gate_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.mlp.up_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.post_attention_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.k_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.k_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.o_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.q_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.q_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.v_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.7.self_attn.v_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.input_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.mlp.down_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.mlp.gate_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.mlp.up_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.post_attention_layernorm.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.k_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.k_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.o_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.q_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.q_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.v_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.8.self_attn.v_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.input_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.9.mlp.down_proj.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.9.mlp.gate_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.mlp.up_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.post_attention_layernorm.weight": "model-00004-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.k_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.k_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.o_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.q_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.q_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.v_proj.bias": "model-00003-of-00009.safetensors",
|
||||||
|
"model.layers.9.self_attn.v_proj.weight": "model-00003-of-00009.safetensors",
|
||||||
|
"model.norm.weight": "model-00008-of-00009.safetensors"
|
||||||
|
}
|
||||||
|
}
|
||||||
31
special_tokens_map.json
Normal file
31
special_tokens_map.json
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
757444
tokenizer.json
Normal file
757444
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
208
tokenizer_config.json
Normal file
208
tokenizer_config.json
Normal file
@@ -0,0 +1,208 @@
|
|||||||
|
{
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\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 {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) 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{%- endif %}\n",
|
||||||
|
"clean_up_tokenization_spaces": false,
|
||||||
|
"eos_token": "<|im_end|>",
|
||||||
|
"errors": "replace",
|
||||||
|
"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
1
vocab.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user