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

Model: abhinand/tamil-llama-7b-instruct-v0.1
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-31 13:10:47 +08:00
commit 12f90324ad
16 changed files with 130935 additions and 0 deletions

35
.gitattributes vendored Normal file
View File

@@ -0,0 +1,35 @@
*.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

204
README.md Normal file
View File

@@ -0,0 +1,204 @@
---
language:
- ta
- en
license: llama2
model-index:
- name: tamil-llama-7b-instruct-v0.1
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: AI2 Reasoning Challenge (25-Shot)
type: ai2_arc
config: ARC-Challenge
split: test
args:
num_few_shot: 25
metrics:
- type: acc_norm
value: 48.04
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=abhinand/tamil-llama-7b-instruct-v0.1
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: HellaSwag (10-Shot)
type: hellaswag
split: validation
args:
num_few_shot: 10
metrics:
- type: acc_norm
value: 70.97
name: normalized accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=abhinand/tamil-llama-7b-instruct-v0.1
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: MMLU (5-Shot)
type: cais/mmlu
config: all
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 39.95
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=abhinand/tamil-llama-7b-instruct-v0.1
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: TruthfulQA (0-shot)
type: truthful_qa
config: multiple_choice
split: validation
args:
num_few_shot: 0
metrics:
- type: mc2
value: 41.7
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=abhinand/tamil-llama-7b-instruct-v0.1
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: Winogrande (5-shot)
type: winogrande
config: winogrande_xl
split: validation
args:
num_few_shot: 5
metrics:
- type: acc
value: 70.64
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=abhinand/tamil-llama-7b-instruct-v0.1
name: Open LLM Leaderboard
- task:
type: text-generation
name: Text Generation
dataset:
name: GSM8k (5-shot)
type: gsm8k
config: main
split: test
args:
num_few_shot: 5
metrics:
- type: acc
value: 1.82
name: accuracy
source:
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=abhinand/tamil-llama-7b-instruct-v0.1
name: Open LLM Leaderboard
---
# Tamil LLaMA 7B Instruct v0.1
Welcome to the inaugural release of the Tamil LLaMA 7B instruct model an important step in advancing LLMs for the Tamil language. This model is ready for immediate inference and is also primed for further fine-tuning to cater to your specific NLP tasks.
To dive deep into the development and capabilities of this model, please read the [research paper](https://arxiv.org/abs/2311.05845) and the [introductory blog post (WIP)]() that outlines our journey and the model's potential impact.
## Model description
The Tamil LLaMA models have been enhanced and tailored specifically with an extensive Tamil vocabulary of 16,000 tokens, building upon the foundation set by the original LLaMA-2.
- **Model type:** A 7B parameter GPT-like model fine-tuned on [Tamil-Alpaca-Orca](https://huggingface.co/datasets/abhinand/tamil-alpaca-orca) - a mix of Tamil-translated [Stanford-Alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca) and a subset of [OpenOrca](https://huggingface.co/datasets/Open-Orca/OpenOrca) datasets.
- **Language(s):** Tamil and English
- **License:** GNU General Public License v3.0
- **Finetuned from model:** [abhinand/tamil-llama-7b-base-v0.1](https://huggingface.co/abhinand/tamil-llama-7b-base-v0.1)
- **Training Precision:** `float16`
- **Code:** [GitHub](https://github.com/abhinand5/tamil-llama)
## Prompting Format
**Prompt Template Without Input**
```
{system_prompt}
### Instruction:
{instruction or query}
### Response:
{response}
```
**Prompt Template With Input**
```
{system_prompt}
### Instruction:
{instruction or query}
### Input:
{input}
### Response:
{response}
```
## Related Models
| Model | Type | Data | Base Model | # Params | Download Links |
|--------------------------|-----------------------------|-------------------|----------------------|------|------------------------------------------------------------------------|
| Tamil LLaMA 7B Base | Base model | 12GB | LLaMA 7B | 7B | [HF Hub](https://huggingface.co/abhinand/tamil-llama-7b-base-v0.1) |
| Tamil LLaMA 13B Base | Base model | 4GB | LLaMA 13B | 13B | [HF Hub](https://huggingface.co/abhinand/tamil-llama-13b-base-v0.1) |
| Tamil LLaMA 7B Instruct | Instruction following model | 145k instructions | Tamil LLaMA 7B Base | 7B | [HF Hub](https://huggingface.co/abhinand/tamil-llama-7b-instruct-v0.1) |
| Tamil LLaMA 13B Instruct | Instruction following model | 145k instructions | Tamil LLaMA 13B Base | 13B | [HF Hub](abhinand/tamil-llama-13b-instruct-v0.1) |
## Usage Note
It's important to note that the models have not undergone detoxification. Therefore, while they possess impressive linguistic capabilities, there is a possibility for them to generate content that could be deemed harmful or offensive. We urge users to exercise discretion and supervise the model's outputs closely, especially in public or sensitive applications.
## Meet the Developers
Get to know the creators behind this innovative model and follow their contributions to the field:
- [Abhinand Balachandran](https://www.linkedin.com/in/abhinand-05/)
## Citation
If you use this model or any of the the Tamil-Llama datasets in your research, please cite:
```bibtex
@misc{balachandran2023tamilllama,
title={Tamil-Llama: A New Tamil Language Model Based on Llama 2},
author={Abhinand Balachandran},
year={2023},
eprint={2311.05845},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
We hope this model serves as a valuable tool in your NLP toolkit and look forward to seeing the advancements it will enable in the understanding and generation of the Tamil language.
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_abhinand__tamil-llama-7b-instruct-v0.1)
| Metric |Value|
|---------------------------------|----:|
|Avg. |45.52|
|AI2 Reasoning Challenge (25-Shot)|48.04|
|HellaSwag (10-Shot) |70.97|
|MMLU (5-Shot) |39.95|
|TruthfulQA (0-shot) |41.70|
|Winogrande (5-shot) |70.64|
|GSM8k (5-shot) | 1.82|

26
config.json Normal file
View File

@@ -0,0 +1,26 @@
{
"_name_or_path": "abhinand/tamil-llama-7b-instruct-v0.1",
"architectures": [
"LlamaForCausalLM"
],
"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": 32,
"pad_token_id": 0,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"tie_word_embeddings": false,
"torch_dtype": "float16",
"transformers_version": "4.31.0",
"use_cache": true,
"vocab_size": 47957
}

7
generation_config.json Normal file
View File

@@ -0,0 +1,7 @@
{
"_from_model_config": true,
"bos_token_id": 1,
"eos_token_id": 2,
"pad_token_id": 0,
"transformers_version": "4.31.0"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,330 @@
{
"metadata": {
"total_size": 13738278912
},
"weight_map": {
"lm_head.weight": "pytorch_model-00007-of-00007.bin",
"model.embed_tokens.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.input_layernorm.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.mlp.down_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.mlp.up_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.0.self_attn.rotary_emb.inv_freq": "pytorch_model-00001-of-00007.bin",
"model.layers.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.input_layernorm.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.mlp.down_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.mlp.up_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.1.self_attn.rotary_emb.inv_freq": "pytorch_model-00001-of-00007.bin",
"model.layers.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.10.input_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.mlp.down_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.mlp.gate_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.mlp.up_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.post_attention_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.self_attn.k_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.self_attn.o_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.self_attn.q_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.10.self_attn.rotary_emb.inv_freq": "pytorch_model-00003-of-00007.bin",
"model.layers.10.self_attn.v_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.input_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.mlp.down_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.mlp.gate_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.mlp.up_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.post_attention_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.self_attn.k_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.self_attn.o_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.self_attn.q_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.11.self_attn.rotary_emb.inv_freq": "pytorch_model-00003-of-00007.bin",
"model.layers.11.self_attn.v_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.input_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.mlp.down_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.mlp.gate_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.mlp.up_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.post_attention_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.self_attn.k_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.self_attn.o_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.self_attn.q_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.12.self_attn.rotary_emb.inv_freq": "pytorch_model-00003-of-00007.bin",
"model.layers.12.self_attn.v_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.13.input_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.13.mlp.down_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.13.mlp.gate_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.13.mlp.up_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.13.post_attention_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.13.self_attn.k_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.13.self_attn.o_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.13.self_attn.q_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.13.self_attn.rotary_emb.inv_freq": "pytorch_model-00003-of-00007.bin",
"model.layers.13.self_attn.v_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.14.input_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.mlp.down_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.mlp.gate_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.mlp.up_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.post_attention_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.self_attn.k_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.self_attn.o_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.self_attn.q_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.14.self_attn.rotary_emb.inv_freq": "pytorch_model-00004-of-00007.bin",
"model.layers.14.self_attn.v_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.input_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.mlp.down_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.mlp.gate_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.mlp.up_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.post_attention_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.self_attn.k_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.self_attn.o_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.self_attn.q_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.15.self_attn.rotary_emb.inv_freq": "pytorch_model-00004-of-00007.bin",
"model.layers.15.self_attn.v_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.input_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.mlp.down_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.mlp.gate_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.mlp.up_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.post_attention_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.self_attn.k_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.self_attn.o_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.self_attn.q_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.16.self_attn.rotary_emb.inv_freq": "pytorch_model-00004-of-00007.bin",
"model.layers.16.self_attn.v_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.input_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.mlp.down_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.mlp.gate_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.mlp.up_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.post_attention_layernorm.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.self_attn.k_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.self_attn.o_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.self_attn.q_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.17.self_attn.rotary_emb.inv_freq": "pytorch_model-00004-of-00007.bin",
"model.layers.17.self_attn.v_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.18.input_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.18.mlp.down_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.18.mlp.gate_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.18.mlp.up_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.18.post_attention_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.18.self_attn.k_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.18.self_attn.o_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.18.self_attn.q_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.18.self_attn.rotary_emb.inv_freq": "pytorch_model-00005-of-00007.bin",
"model.layers.18.self_attn.v_proj.weight": "pytorch_model-00004-of-00007.bin",
"model.layers.19.input_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.mlp.down_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.mlp.gate_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.mlp.up_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.post_attention_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.self_attn.k_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.self_attn.o_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.self_attn.q_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.19.self_attn.rotary_emb.inv_freq": "pytorch_model-00005-of-00007.bin",
"model.layers.19.self_attn.v_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.2.input_layernorm.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.mlp.down_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.mlp.up_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.2.self_attn.rotary_emb.inv_freq": "pytorch_model-00001-of-00007.bin",
"model.layers.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.20.input_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.mlp.down_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.mlp.gate_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.mlp.up_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.post_attention_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.self_attn.k_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.self_attn.o_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.self_attn.q_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.20.self_attn.rotary_emb.inv_freq": "pytorch_model-00005-of-00007.bin",
"model.layers.20.self_attn.v_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.input_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.mlp.down_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.mlp.gate_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.mlp.up_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.post_attention_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.self_attn.k_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.self_attn.o_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.self_attn.q_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.21.self_attn.rotary_emb.inv_freq": "pytorch_model-00005-of-00007.bin",
"model.layers.21.self_attn.v_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.input_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.mlp.down_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.mlp.gate_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.mlp.up_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.post_attention_layernorm.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.self_attn.k_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.self_attn.o_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.self_attn.q_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.22.self_attn.rotary_emb.inv_freq": "pytorch_model-00005-of-00007.bin",
"model.layers.22.self_attn.v_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.23.input_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.23.mlp.down_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.23.mlp.gate_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.23.mlp.up_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.23.post_attention_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.23.self_attn.k_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.23.self_attn.o_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.23.self_attn.q_proj.weight": "pytorch_model-00005-of-00007.bin",
"model.layers.23.self_attn.rotary_emb.inv_freq": "pytorch_model-00006-of-00007.bin",
"model.layers.23.self_attn.v_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.input_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.mlp.down_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.mlp.gate_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.mlp.up_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.post_attention_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.self_attn.k_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.self_attn.o_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.self_attn.q_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.24.self_attn.rotary_emb.inv_freq": "pytorch_model-00006-of-00007.bin",
"model.layers.24.self_attn.v_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.input_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.mlp.down_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.mlp.gate_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.mlp.up_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.post_attention_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.self_attn.k_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.self_attn.o_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.self_attn.q_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.25.self_attn.rotary_emb.inv_freq": "pytorch_model-00006-of-00007.bin",
"model.layers.25.self_attn.v_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.input_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.mlp.down_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.mlp.gate_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.mlp.up_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.post_attention_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.self_attn.k_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.self_attn.o_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.self_attn.q_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.26.self_attn.rotary_emb.inv_freq": "pytorch_model-00006-of-00007.bin",
"model.layers.26.self_attn.v_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.input_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.mlp.down_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.mlp.gate_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.mlp.up_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.post_attention_layernorm.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.self_attn.k_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.self_attn.o_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.self_attn.q_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.27.self_attn.rotary_emb.inv_freq": "pytorch_model-00006-of-00007.bin",
"model.layers.27.self_attn.v_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.28.input_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.mlp.down_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.mlp.gate_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.mlp.up_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.post_attention_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.self_attn.k_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.self_attn.o_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.28.self_attn.q_proj.weight": "pytorch_model-00006-of-00007.bin",
"model.layers.28.self_attn.rotary_emb.inv_freq": "pytorch_model-00007-of-00007.bin",
"model.layers.28.self_attn.v_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.input_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.mlp.down_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.mlp.gate_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.mlp.up_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.post_attention_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.self_attn.k_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.self_attn.o_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.self_attn.q_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.29.self_attn.rotary_emb.inv_freq": "pytorch_model-00007-of-00007.bin",
"model.layers.29.self_attn.v_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.3.input_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.3.mlp.down_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.3.mlp.up_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.3.post_attention_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.3.self_attn.rotary_emb.inv_freq": "pytorch_model-00001-of-00007.bin",
"model.layers.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00007.bin",
"model.layers.30.input_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.mlp.down_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.mlp.gate_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.mlp.up_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.post_attention_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.self_attn.k_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.self_attn.o_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.self_attn.q_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.30.self_attn.rotary_emb.inv_freq": "pytorch_model-00007-of-00007.bin",
"model.layers.30.self_attn.v_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.input_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.mlp.down_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.mlp.gate_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.mlp.up_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.post_attention_layernorm.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.self_attn.k_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.self_attn.o_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.self_attn.q_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.31.self_attn.rotary_emb.inv_freq": "pytorch_model-00007-of-00007.bin",
"model.layers.31.self_attn.v_proj.weight": "pytorch_model-00007-of-00007.bin",
"model.layers.4.input_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.mlp.down_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.mlp.gate_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.mlp.up_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.post_attention_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.self_attn.k_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.self_attn.o_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.self_attn.q_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.4.self_attn.rotary_emb.inv_freq": "pytorch_model-00002-of-00007.bin",
"model.layers.4.self_attn.v_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.input_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.mlp.down_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.mlp.gate_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.mlp.up_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.post_attention_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.self_attn.k_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.self_attn.o_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.self_attn.q_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.5.self_attn.rotary_emb.inv_freq": "pytorch_model-00002-of-00007.bin",
"model.layers.5.self_attn.v_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.input_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.mlp.down_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.mlp.gate_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.mlp.up_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.post_attention_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.self_attn.k_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.self_attn.o_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.self_attn.q_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.6.self_attn.rotary_emb.inv_freq": "pytorch_model-00002-of-00007.bin",
"model.layers.6.self_attn.v_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.input_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.mlp.down_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.mlp.gate_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.mlp.up_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.post_attention_layernorm.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.self_attn.k_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.self_attn.o_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.self_attn.q_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.7.self_attn.rotary_emb.inv_freq": "pytorch_model-00002-of-00007.bin",
"model.layers.7.self_attn.v_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.8.input_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.8.mlp.down_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.8.mlp.gate_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.8.mlp.up_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.8.post_attention_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.8.self_attn.k_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.8.self_attn.o_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.8.self_attn.q_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.8.self_attn.rotary_emb.inv_freq": "pytorch_model-00002-of-00007.bin",
"model.layers.8.self_attn.v_proj.weight": "pytorch_model-00002-of-00007.bin",
"model.layers.9.input_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.mlp.down_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.mlp.gate_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.mlp.up_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.post_attention_layernorm.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.self_attn.k_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.self_attn.o_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.self_attn.q_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.layers.9.self_attn.rotary_emb.inv_freq": "pytorch_model-00003-of-00007.bin",
"model.layers.9.self_attn.v_proj.weight": "pytorch_model-00003-of-00007.bin",
"model.norm.weight": "pytorch_model-00007-of-00007.bin"
}
}

24
special_tokens_map.json Normal file
View File

@@ -0,0 +1,24 @@
{
"bos_token": {
"content": "<s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"pad_token": "</s>",
"unk_token": {
"content": "<unk>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
}
}

130252
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

3
tokenizer.model Normal file
View File

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

33
tokenizer_config.json Normal file
View File

@@ -0,0 +1,33 @@
{
"bos_token": {
"__type": "AddedToken",
"content": "<s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"clean_up_tokenization_spaces": false,
"eos_token": {
"__type": "AddedToken",
"content": "</s>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"legacy": true,
"model_max_length": 1000000000000000019884624838656,
"pad_token": null,
"sp_model_kwargs": {},
"tokenizer_class": "LlamaTokenizer",
"unk_token": {
"__type": "AddedToken",
"content": "<unk>",
"lstrip": false,
"normalized": true,
"rstrip": false,
"single_word": false
},
"use_fast": true
}