初始化项目,由ModelHub XC社区提供模型
Model: FreedomIntelligence/Apollo-6B Source: Original Platform
This commit is contained in:
40
.gitattributes
vendored
Normal file
40
.gitattributes
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
model-00001-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
model-00002-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
model-00003-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
model-00004-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
model-00005-of-00005.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
154
README.md
Normal file
154
README.md
Normal file
@@ -0,0 +1,154 @@
|
||||
---
|
||||
license: apache-2.0
|
||||
---
|
||||
# Multilingual Medicine: Model, Dataset, Benchmark, Code
|
||||
|
||||
Covering English, Chinese, French, Hindi, Spanish, Hindi, Arabic So far
|
||||
|
||||
|
||||
<p align="center">
|
||||
👨🏻💻<a href="https://github.com/FreedomIntelligence/Apollo" target="_blank">Github</a> •📃 <a href="https://arxiv.org/abs/2403.03640" target="_blank">Paper</a> • 🌐 <a href="https://apollo.llmzoo.com/" target="_blank">Demo</a> • 🤗 <a href="https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus" target="_blank">ApolloCorpus</a> • 🤗 <a href="https://huggingface.co/datasets/FreedomIntelligence/XMedbench" target="_blank">XMedBench</a>
|
||||
<br> <a href="./README_zh.md"> 中文 </a> | <a href="./README.md"> English
|
||||
</p>
|
||||
|
||||

|
||||
|
||||
## 🌈 Update
|
||||
|
||||
* **[2024.03.07]** [Paper](https://arxiv.org/abs/2403.03640) released.
|
||||
* **[2024.02.12]** <a href="https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus" target="_blank">ApolloCorpus</a> and <a href="https://huggingface.co/datasets/FreedomIntelligence/XMedbench" target="_blank">XMedBench</a> is published!🎉
|
||||
* **[2024.01.23]** Apollo repo is published!🎉
|
||||
|
||||
|
||||
## Results
|
||||
🤗<a href="https://huggingface.co/FreedomIntelligence/Apollo-0.5B" target="_blank">Apollo-0.5B</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-1.8B" target="_blank">Apollo-1.8B</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-2B" target="_blank">Apollo-2B</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-6B" target="_blank">Apollo-6B</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-7B" target="_blank">Apollo-7B</a>
|
||||
|
||||
🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-0.5B-GGUF" target="_blank">Apollo-0.5B-GGUF</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-2B-GGUF" target="_blank">Apollo-2B-GGUF</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-6B-GGUF" target="_blank">Apollo-6B-GGUF</a> • 🤗 <a href="https://huggingface.co/FreedomIntelligence/Apollo-7B-GGUF" target="_blank">Apollo-7B-GGUF</a>
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
## Usage Format
|
||||
|
||||
User:{query}\nAssistant:{response}<|endoftext|>
|
||||
|
||||
|
||||
## Dataset & Evaluation
|
||||
|
||||
- Dataset
|
||||
🤗 <a href="https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus" target="_blank">ApolloCorpus</a>
|
||||
|
||||
<details><summary>Click to expand</summary>
|
||||
|
||||

|
||||
|
||||
- [Zip File](https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus/blob/main/ApolloCorpus.zip)
|
||||
- [Data category](https://huggingface.co/datasets/FreedomIntelligence/ApolloCorpus/tree/main/train)
|
||||
- Pretrain:
|
||||
- data item:
|
||||
- json_name: {data_source}_{language}_{data_type}.json
|
||||
- data_type: medicalBook, medicalGuideline, medicalPaper, medicalWeb(from online forum), medicalWiki
|
||||
- language: en(English), zh(chinese), es(spanish), fr(french), hi(Hindi)
|
||||
- data_type: qa(generated qa from text)
|
||||
- data_type==text: list of string
|
||||
```
|
||||
[
|
||||
"string1",
|
||||
"string2",
|
||||
...
|
||||
]
|
||||
```
|
||||
- data_type==qa: list of qa pairs(list of string)
|
||||
```
|
||||
[
|
||||
[
|
||||
"q1",
|
||||
"a1",
|
||||
"q2",
|
||||
"a2",
|
||||
...
|
||||
],
|
||||
...
|
||||
]
|
||||
```
|
||||
- SFT:
|
||||
- json_name: {data_source}_{language}.json
|
||||
- data_type: code, general, math, medicalExam, medicalPatient
|
||||
- data item: list of qa pairs(list of string)
|
||||
```
|
||||
[
|
||||
[
|
||||
"q1",
|
||||
"a1",
|
||||
"q2",
|
||||
"a2",
|
||||
...
|
||||
],
|
||||
...
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
|
||||
- Evaluation
|
||||
🤗 <a href="https://huggingface.co/datasets/FreedomIntelligence/XMedbench" target="_blank">XMedBench</a>
|
||||
|
||||
<details><summary>Click to expand</summary>
|
||||
|
||||
- EN:
|
||||
- [MedQA-USMLE](https://huggingface.co/datasets/GBaker/MedQA-USMLE-4-options)
|
||||
- [MedMCQA](https://huggingface.co/datasets/medmcqa/viewer/default/test)
|
||||
- [PubMedQA](https://huggingface.co/datasets/pubmed_qa): Because the results fluctuated too much, they were not used in the paper.
|
||||
- [MMLU-Medical](https://huggingface.co/datasets/cais/mmlu)
|
||||
- Clinical knowledge, Medical genetics, Anatomy, Professional medicine, College biology, College medicine
|
||||
- ZH:
|
||||
- [MedQA-MCMLE](https://huggingface.co/datasets/bigbio/med_qa/viewer/med_qa_zh_4options_bigbio_qa/test)
|
||||
- [CMB-single](https://huggingface.co/datasets/FreedomIntelligence/CMB): Not used in the paper
|
||||
- Randomly sample 2,000 multiple-choice questions with single answer.
|
||||
- [CMMLU-Medical](https://huggingface.co/datasets/haonan-li/cmmlu)
|
||||
- Anatomy, Clinical_knowledge, College_medicine, Genetics, Nutrition, Traditional_chinese_medicine, Virology
|
||||
- [CExam](https://github.com/williamliujl/CMExam): Not used in the paper
|
||||
- Randomly sample 2,000 multiple-choice questions
|
||||
|
||||
|
||||
- ES: [Head_qa](https://huggingface.co/datasets/head_qa)
|
||||
- FR: [Frenchmedmcqa](https://github.com/qanastek/FrenchMedMCQA)
|
||||
- HI: [MMLU_HI](https://huggingface.co/datasets/FreedomIntelligence/MMLU_Arabic)
|
||||
- Clinical knowledge, Medical genetics, Anatomy, Professional medicine, College biology, College medicine
|
||||
- AR: [MMLU_Ara](https://huggingface.co/datasets/FreedomIntelligence/MMLU_Hindi)
|
||||
- Clinical knowledge, Medical genetics, Anatomy, Professional medicine, College biology, College medicine
|
||||
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
## Results reproduction
|
||||
<details><summary>Click to expand</summary>
|
||||
|
||||
**Waiting for Update**
|
||||
|
||||
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
|
||||
|
||||
## Citation
|
||||
Please use the following citation if you intend to use our dataset for training or evaluation:
|
||||
|
||||
```
|
||||
@misc{wang2024apollo,
|
||||
title={Apollo: Lightweight Multilingual Medical LLMs towards Democratizing Medical AI to 6B People},
|
||||
author={Xidong Wang and Nuo Chen and Junyin Chen and Yan Hu and Yidong Wang and Xiangbo Wu and Anningzhe Gao and Xiang Wan and Haizhou Li and Benyou Wang},
|
||||
year={2024},
|
||||
eprint={2403.03640},
|
||||
archivePrefix={arXiv},
|
||||
primaryClass={cs.CL}
|
||||
}
|
||||
```
|
||||
BIN
assets/apollo_medium_final.png
Normal file
BIN
assets/apollo_medium_final.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
BIN
assets/dataset.png
Normal file
BIN
assets/dataset.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 142 KiB |
0
assets/logo
Normal file
0
assets/logo
Normal file
BIN
assets/result.png
Normal file
BIN
assets/result.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 169 KiB |
29
config.json
Normal file
29
config.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"_name_or_path": "/223040239/medbase/ckpts/Yi6B_ALLSFT_train/checkpoint-0-23280/tfmr",
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": 2,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 4096,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 11008,
|
||||
"max_position_embeddings": 4096,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 32,
|
||||
"num_key_value_heads": 4,
|
||||
"pad_token_id": 0,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_scaling": null,
|
||||
"rope_theta": 5000000.0,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.38.2",
|
||||
"use_cache": true,
|
||||
"vocab_size": 64000
|
||||
}
|
||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
||||
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}
|
||||
7
generation_config.json
Normal file
7
generation_config.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 1,
|
||||
"eos_token_id": 2,
|
||||
"pad_token_id": 0,
|
||||
"transformers_version": "4.38.2"
|
||||
}
|
||||
3
model-00001-of-00005.safetensors
Normal file
3
model-00001-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f9da3733d63afc90f488cc80518d1fce2000239cf4dd119743c8c8cadb5c093
|
||||
size 4840396528
|
||||
3
model-00002-of-00005.safetensors
Normal file
3
model-00002-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b5794cc123aaeaeed903da367244aa8a8eea2cf20196aec8936bf5f3bd785f5
|
||||
size 4844657744
|
||||
3
model-00003-of-00005.safetensors
Normal file
3
model-00003-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c39f4222673c80ba85710e21dfc24ae2ecc01d0eed248ff32209be18fd4cf43d
|
||||
size 4844657784
|
||||
3
model-00004-of-00005.safetensors
Normal file
3
model-00004-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:701c2f006dc8f4fa0f86727badda013cb8460b660972252c863f67a1ad105cab
|
||||
size 4844657784
|
||||
3
model-00005-of-00005.safetensors
Normal file
3
model-00005-of-00005.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bddb55671aa25075a265530f29633490c43c71bf86d13f00446b052d9ad8c055
|
||||
size 4869805816
|
||||
298
model.safetensors.index.json
Normal file
298
model.safetensors.index.json
Normal file
@@ -0,0 +1,298 @@
|
||||
{
|
||||
"metadata": {
|
||||
"total_size": 24244142080
|
||||
},
|
||||
"weight_map": {
|
||||
"lm_head.weight": "model-00005-of-00005.safetensors",
|
||||
"model.embed_tokens.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.10.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.12.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.12.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.12.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.12.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.13.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.19.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.19.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.19.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.19.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
||||
"model.layers.2.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.20.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.26.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.26.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.26.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.26.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
||||
"model.layers.27.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.3.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.30.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.input_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.mlp.down_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.mlp.up_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.post_attention_layernorm.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.weight": "model-00005-of-00005.safetensors",
|
||||
"model.layers.4.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.5.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
||||
"model.layers.6.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
||||
"model.norm.weight": "model-00005-of-00005.safetensors"
|
||||
}
|
||||
}
|
||||
30
special_tokens_map.json
Normal file
30
special_tokens_map.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"content": "<|startoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"unk_token": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
174133
tokenizer.json
Normal file
174133
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
3
tokenizer.model
Normal file
3
tokenizer.model
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
|
||||
size 1033105
|
||||
42
tokenizer_config.json
Normal file
42
tokenizer_config.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"add_bos_token": false,
|
||||
"add_eos_token": false,
|
||||
"added_tokens_decoder": {
|
||||
"0": {
|
||||
"content": "<unk>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"1": {
|
||||
"content": "<|startoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"2": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
}
|
||||
},
|
||||
"bos_token": "<|startoftext|>",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|endoftext|>",
|
||||
"legacy": true,
|
||||
"model_max_length": 4096,
|
||||
"pad_token": "<unk>",
|
||||
"padding_side": "left",
|
||||
"sp_model_kwargs": {},
|
||||
"spaces_between_special_tokens": false,
|
||||
"tokenizer_class": "LlamaTokenizer",
|
||||
"unk_token": "<unk>",
|
||||
"use_default_system_prompt": false
|
||||
}
|
||||
Reference in New Issue
Block a user