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

Model: NECOUDBFM/Jellyfish-8B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-07 13:46:28 +08:00
commit 6e1371b6ed
25 changed files with 413294 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

289
README.md Normal file
View File

@@ -0,0 +1,289 @@
---
license: cc-by-nc-4.0
language:
- en
---
# Jellyfish-8B
<!-- Provide a quick summary of what the model is/does. -->
<!--
<img src="https://i.imgur.com/d8Bl04i.png" alt="PicToModel" width="330"/>
-->
<img src="https://i.imgur.com/E1vqCIw.png" alt="PicToModel" width="330"/>
Jellyfish models with other sizes are available here:
[Jellyfish-7B](https://huggingface.co/NECOUDBFM/Jellyfish-7B)
[Jellyfish-13B](https://huggingface.co/NECOUDBFM/Jellyfish-13B)
## Model Details
Jellyfish-8B is a large language model equipped with 8 billion parameters.
We fine-tuned the [Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) model using a subset of the [Jellyfish-Instruct](https://huggingface.co/datasets/NECOUDBFM/Jellyfish-Instruct) dataset.
<!-- Jellyfish-7B vs GPT-3.5-turbo wining rate by GPT4 evaluation is 56.36%. -->
More details about the model can be found in the [Jellyfish paper](https://arxiv.org/abs/2312.01678).
- **Developed by:** Haochen Zhang, Yuyang Dong, Chuan Xiao, Masafumi Oyamada
- **Contact: dongyuyang@nec.com**
- **Funded by:** NEC Corporation, Osaka University
- **Language(s) (NLP):** English
- **License:** Non-Commercial Creative Commons license (CC BY-NC-4.0)
- **Finetuned from model:** [Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)
## Citation
If you find our work useful, please give us credit by citing:
```
@article{zhang2023jellyfish,
title={Jellyfish: A Large Language Model for Data Preprocessing},
author={Zhang, Haochen and Dong, Yuyang and Xiao, Chuan and Oyamada, Masafumi},
journal={arXiv preprint arXiv:2312.01678},
year={2023}
}
```
## Performance on seen tasks
| Task | Type | Dataset | Non-LLM SoTA<sup>1</sup> | GPT-3.5<sup>2</sup> | GPT-4<sup>2</sup> | GPT-4o | Table-GPT | Jellyfish-7B | Jellyfish-8B | Jellyfish-13B |
|-----------------|--------|-------------------|-----------------|--------|--------|--------|-----------|--------------|--------------|---------------|
| Error Detection | Seen | Adult | *99.10* | 99.10 | 92.01 | 83.58 | -- | 77.40 | 73.74 | **99.33** |
| Error Detection | Seen | Hospital | 94.40 | **97.80** | 90.74 | 44.76 | -- | 94.51 | 93.40 | *95.59* |
| Error Detection | Unseen | Flights | 81.00 | -- | **83.48** | 66.01 | -- | 69.15 | 66.21 | *82.52* |
| Error Detection | Unseen | Rayyan | 79.00 | -- | *81.95* | 68.53 | -- | 75.07 | 81.06 | **90.65** |
| Data Imputation | Seen | Buy | 96.50 | 98.50 | **100** | **100** | -- | 98.46 | 98.46 | **100** |
| Data Imputation | Seen | Restaurant | 77.20 | 88.40 | **97.67** | 90.70 | -- | 89.53 | 87.21 | 89.53 |
| Data Imputation | Unseen | Flipkart | 68.00 | -- | **89.94** | 83.20 | -- | 87.14 | *87.48* | 81.68 |
| Data Imputation | Unseen | Phone | 86.70 | -- | **90.79** | 86.78 | -- | 86.52 | 85.68 | *87.21* |
| Schema Matching | Seen | MIMIC-III | 20.00 | -- | 40.00 | 29.41 | -- | **53.33** | *45.45* | 40.00 |
| Schema Matching | Seen | Synthea | 38.50 | 45.20 | **66.67** | 6.56 | -- | 55.56 | 47.06 | 56.00 |
| Schema Matching | Unseen | CMS | *50.00* | -- | 19.35 | 22.22 | -- | 42.86 | 38.10 | **59.29** |
| Entity Matching | Seen | Amazon-Google | 75.58 | 63.50 | 74.21 | 70.91 | 70.10 | **81.69** | *81.42* | 81.34 |
| Entity Matching | Seen | Beer | 94.37 | **100** | **100** | 90.32 | 96.30 | **100.00** | **100.00** | 96.77 |
| Entity Matching | Seen | DBLP-ACM | **98.99** | 96.60 | 97.44 | 95.87 | 93.80 | 98.65 | 98.77 | *98.98* |
| Entity Matching | Seen | DBLP-GoogleScholar| *95.70* | 83.80 | 91.87 | 90.45 | 92.40 | 94.88 | 95.03 | **98.51** |
| Entity Matching | Seen | Fodors-Zagats | **100** | **100** | **100** | 93.62 | **100** | **100** | **100** | **100** |
| Entity Matching | Seen | iTunes-Amazon | 97.06 | *98.20*| **100** | 98.18 | 94.30 | 96.30 | 96.30 | 98.11 |
| Entity Matching | Unseen | Abt-Buy | 89.33 | -- | **92.77** | 78.73 | -- | 86.06 | 88.84 | *89.58* |
| Entity Matching | Unseen | Walmart-Amazon | 86.89 | 87.00 | **90.27** | 79.19 | 82.40 | 84.91 | 85.24 | *89.42* |
| Avg | | | 80.44 | - | *84.17* | 72.58 | - | 82.74 | 81.55 | **86.02** |
_For GPT-3.5 and GPT-4, we used the few-shot approach on all datasets. For Jellyfish models, the few-shot approach is disabled on seen datasets and enabled on unseen datasets._
_Accuracy as the metric for data imputation and the F1 score for other tasks._
1.
[HoloDetect](https://arxiv.org/abs/1904.02285) for Error Detection seen datasets
[RAHA](https://dl.acm.org/doi/10.1145/3299869.3324956) for Error Detection unseen datasets
[IPM](https://ieeexplore.ieee.org/document/9458712) for Data Imputation
[SMAT](https://www.researchgate.net/publication/353920530_SMAT_An_Attention-Based_Deep_Learning_Solution_to_the_Automation_of_Schema_Matching) for Schema Matching
[Ditto](https://arxiv.org/abs/2004.00584) for Entity Matching
3.
[Large Language Models as Data Preprocessors](https://arxiv.org/abs/2308.16361)
## Performance on unseen tasks
### Column Type Annotation
| Dataset | RoBERTa (159 shots)<sup>1</sup> | GPT-3.5<sup>1</sup> | GPT-4 | GPT-4o | Jellyfish-7B | Jellyfish-8B | Jellyfish-13B |
|--------|-----------------|--------|--------|--------|--------------|--------------|---------------|
| SOTAB | 79.20 | 89.47 | 91.55 | 65.05 | 83 | 76.33 | 82 |
_Few-shot is disabled for Jellyfish models._
1. Results from [Column Type Annotation using ChatGPT](https://arxiv.org/abs/2306.00745)
### Attribute Value Extraction
| Dataset |Stable Beluga 2 70B<sup>1</sup> | SOLAR 70B<sup>1</sup> | GPT-3.5<sup>1</sup> | GPT-4 <sup>1</sup>| GPT-4o | Jellyfish-7B | Jellyfish-8B | Jellyfish-13B |
| ---- | ---- | ---- | ---- | ---- | ---- | ----| ----| ----|
| AE-110k | 52.10 | 49.20 | 61.30 | 55.50 | 55.77 | 56.09 |59.55 | 58.12 |
| OA-Mine | 50.80 | 55.20 | 62.70 | 68.90 | 60.20 | 51.98 | 59.22 | 55.96 |
_Few-shot is disabled for Jellyfish models._
1. Results from [Product Attribute Value Extraction using Large Language Models](https://arxiv.org/abs/2310.12537)
## Prompt Template
```
<|start_header_id|>system<|end_header_id|>{system message}<|eot_id|>
<|start_header_id|>user<|end_header_id|>{prompt}<|eot_id|>
<|start_header_id|>assistant<|end_header_id|>
```
## Training Details
### Training Method
We used LoRA to speed up the training process, targeting the q_proj, k_proj, v_proj, and o_proj modules.
## Uses
To accelerate the inference, we strongly recommend running Jellyfish using [vLLM](https://github.com/vllm-project/vllm).
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
### Python Script
We provide two simple Python code examples for inference using the Jellyfish model.
#### Using Transformers and Torch Modules
<div style="height: auto; max-height: 400px; overflow-y: scroll;">
```python
from transformers import AutoModelForCausalLM, AutoTokenizer, GenerationConfig
import torch
if torch.cuda.is_available():
device = "cuda"
else:
device = "cpu"
# Model will be automatically downloaded from HuggingFace model hub if not cached.
# Model files will be cached in "~/.cache/huggingface/hub/models--NECOUDBFM--Jellyfish/" by default.
# You can also download the model manually and replace the model name with the path to the model files.
model = AutoModelForCausalLM.from_pretrained(
"NECOUDBFM/Jellyfish",
torch_dtype=torch.float16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("NECOUDBFM/Jellyfish")
system_message = "You are an AI assistant that follows instruction extremely well. Help as much as you can."
# You need to define the user_message variable based on the task and the data you want to test on.
user_message = "Hello, world."
prompt = f"<|start_header_id|>system<|end_header_id|>{system message}<|eot_id|>\n<|start_header_id|>user<|end_header_id|>{user_message}<|eot_id|>\n<|start_header_id|>assistant<|end_header_id|>"
inputs = tokenizer(prompt, return_tensors="pt")
input_ids = inputs["input_ids"].to(device)
# You can modify the sampling parameters according to your needs.
generation_config = GenerationConfig(
do_samples=True,
temperature=0.35,
top_p=0.9,
)
with torch.no_grad():
generation_output = model.generate(
input_ids=input_ids,
generation_config=generation_config,
return_dict_in_generate=True,
output_scores=True,
max_new_tokens=1024,
pad_token_id=tokenizer.eos_token_id,
repetition_penalty=1.15,
)
output = generation_output[0]
response = tokenizer.decode(
output[:, input_ids.shape[-1] :][0], skip_special_tokens=True
).strip()
print(response)
```
</div>
#### Using vLLM
<div style="height: auto; max-height: 400px; overflow-y: scroll;">
```python
from vllm import LLM, SamplingParams
# To use vllm for inference, you need to download the model files either using HuggingFace model hub or manually.
# You should modify the path to the model according to your local environment.
path_to_model = (
"/workspace/models/Jellyfish"
)
model = LLM(model=path_to_model)
# You can modify the sampling parameters according to your needs.
# Caution: The stop parameter should not be changed.
sampling_params = SamplingParams(
temperature=0.35,
top_p=0.9,
max_tokens=1024,
stop=["<|eot_id|>"],
)
system_message = "You are an AI assistant that follows instruction extremely well. Help as much as you can."
# You need to define the user_message variable based on the task and the data you want to test on.
user_message = "Hello, world."
prompt = ff"<|start_header_id|>system<|end_header_id|>{system message}<|eot_id|>\n<|start_header_id|>user<|end_header_id|>{user_message}<|eot_id|>\n<|start_header_id|>assistant<|end_header_id|>"
outputs = model.generate(prompt, sampling_params)
response = outputs[0].outputs[0].text.strip()
print(response)
```
</div>
## Prompts
We provide the prompts used for both fine-tuning and inference.
You can structure your data according to these prompts.
### System Message
```
You are an AI assistant that follows instruction extremely well.
User will give you a question. Your task is to answer as faithfully as you can.
```
### For Error Detection
_There are two forms of the error detection task.
In the first form, a complete record row is provided, and the task is to determine if a specific value is erroneous.
In the second form, only the value of a specific attribute is given, and the decision about its correctness is based solely on the attribute's name and value.
The subsequent prompt examples pertain to these two forms, respectively._
```
Your task is to determine if there is an error in the value of a specific attribute within the whole record provided.
The attributes may include {attribute 1}, {attribute 2}, ...
Errors may include, but are not limited to, spelling errors, inconsistencies, or values that don't make sense given the context of the whole record.
Record [{attribute 1}: {attribute 1 value}, {attribute 2}: {attribute 2 value}, ...]
Attribute for Verification: [{attribute X}: {attribute X value}]
Question: Is there an error in the value of {attribute X}? Choose your answer from: [Yes, No].
```
```
Your task is to determine if there is an error in the value of a specific attribute.
The attributes may belong to a {keyword} record and could be one of the following: {attribute 1}, {attribute 2}, ...
Errors can include, but are not limited to, spelling errors, inconsistencies, or values that don't make sense for that attribute.
Note: Missing values (N/A or \"nan\") are not considered errors.
Attribute for Verification: [{attribute X}: {attribute X value}]
Question: Is there an error in the value of {attribute X}? Choose your answer from: [Yes, No].
```
### For Data Imputation
```
You are presented with a {keyword} record that is missing a specific attribute: {attribute X}.
Your task is to deduce or infer the value of {attribute X} using the available information in the record.
You may be provided with fields like {attribute 1}, {attribute 2}, ... to help you in the inference.
Record: [{attribute 1}: {attribute 1 value}, {attribute 2}: {attribute 2 value}, ...]
Based on the provided record, what would you infer is the value for the missing attribute {attribute X}?
Answer only the value of {attribute X}.
```
### For Schema Matching
```
Your task is to determine if the two attributes (columns) are semantically equivalent in the context of merging two tables.
Each attribute will be provided by its name and a brief description.
Your goal is to assess if they refer to the same information based on these names and descriptions provided.
Attribute A is [name: {value of name}, description: {value of description}].
Attribute B is [name: {value of name}, description: {value of description}].
Are Attribute A and Attribute B semantically equivalent? Choose your answer from: [Yes, No].
```
### For Entity Matching
```
You are tasked with determining whether two records listed below are the same based on the information provided.
Carefully compare the {attribute 1}, {attribute 2}... for each record before making your decision.
Note that missing values (N/A or \"nan\") should not be used as a basis for your decision.
Record A: [{attribute 1}: {attribute 1 value}, {attribute 2}: {attribute 2 value}, ...]
Record B: [{attribute 1}: {attribute 1 value}, {attribute 2}: {attribute 2 value}, ...]
Are record A and record B the same entity? Choose your answer from: [Yes, No].
```
### For Column Type Annotation
We follow the prompt in [Column Type Annotation using ChatGPT](https://arxiv.org/abs/2306.00745) (text+inst+2-step).
### For Attribute Value Extraction
We follow the prompt in [Product Attribute Value Extraction using Large Language Models](https://arxiv.org/abs/2310.12537) (textual, w/o examples).

29
config.json Normal file
View File

@@ -0,0 +1,29 @@
{
"_name_or_path": "/shared/hddfs1/groups/kbl-cgmgrp-kbl/users/dong/jellyfish/model/Meta-Llama-3-8B-Instruct/",
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 128000,
"eos_token_id": 128001,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 14336,
"max_position_embeddings": 8192,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"rope_theta": 500000.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.41.2",
"use_cache": true,
"vocab_size": 128256
}

6
generation_config.json Normal file
View File

@@ -0,0 +1,6 @@
{
"_from_model_config": true,
"bos_token_id": 128000,
"eos_token_id": 128001,
"transformers_version": "4.41.2"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,298 @@
{
"metadata": {
"total_size": 16060522496
},
"weight_map": {
"lm_head.weight": "model-00017-of-00017.safetensors",
"model.embed_tokens.weight": "model-00001-of-00017.safetensors",
"model.layers.0.input_layernorm.weight": "model-00002-of-00017.safetensors",
"model.layers.0.mlp.down_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.0.mlp.gate_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.0.mlp.up_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.0.post_attention_layernorm.weight": "model-00002-of-00017.safetensors",
"model.layers.0.self_attn.k_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.0.self_attn.o_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.0.self_attn.q_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.0.self_attn.v_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.input_layernorm.weight": "model-00002-of-00017.safetensors",
"model.layers.1.mlp.down_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.mlp.gate_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.mlp.up_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.post_attention_layernorm.weight": "model-00002-of-00017.safetensors",
"model.layers.1.self_attn.k_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.self_attn.o_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.self_attn.q_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.1.self_attn.v_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.10.input_layernorm.weight": "model-00006-of-00017.safetensors",
"model.layers.10.mlp.down_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.10.mlp.gate_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.10.mlp.up_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.10.post_attention_layernorm.weight": "model-00006-of-00017.safetensors",
"model.layers.10.self_attn.k_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.10.self_attn.o_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.10.self_attn.q_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.10.self_attn.v_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.11.input_layernorm.weight": "model-00007-of-00017.safetensors",
"model.layers.11.mlp.down_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.11.mlp.gate_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.11.mlp.up_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.11.post_attention_layernorm.weight": "model-00007-of-00017.safetensors",
"model.layers.11.self_attn.k_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.11.self_attn.o_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.11.self_attn.q_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.11.self_attn.v_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.12.input_layernorm.weight": "model-00007-of-00017.safetensors",
"model.layers.12.mlp.down_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.12.mlp.gate_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.12.mlp.up_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.12.post_attention_layernorm.weight": "model-00007-of-00017.safetensors",
"model.layers.12.self_attn.k_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.12.self_attn.o_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.12.self_attn.q_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.12.self_attn.v_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.13.input_layernorm.weight": "model-00008-of-00017.safetensors",
"model.layers.13.mlp.down_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.13.mlp.gate_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.13.mlp.up_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.13.post_attention_layernorm.weight": "model-00008-of-00017.safetensors",
"model.layers.13.self_attn.k_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.13.self_attn.o_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.13.self_attn.q_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.13.self_attn.v_proj.weight": "model-00007-of-00017.safetensors",
"model.layers.14.input_layernorm.weight": "model-00008-of-00017.safetensors",
"model.layers.14.mlp.down_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.14.mlp.gate_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.14.mlp.up_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.14.post_attention_layernorm.weight": "model-00008-of-00017.safetensors",
"model.layers.14.self_attn.k_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.14.self_attn.o_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.14.self_attn.q_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.14.self_attn.v_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.15.input_layernorm.weight": "model-00009-of-00017.safetensors",
"model.layers.15.mlp.down_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.15.mlp.gate_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.15.mlp.up_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.15.post_attention_layernorm.weight": "model-00009-of-00017.safetensors",
"model.layers.15.self_attn.k_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.15.self_attn.o_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.15.self_attn.q_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.15.self_attn.v_proj.weight": "model-00008-of-00017.safetensors",
"model.layers.16.input_layernorm.weight": "model-00009-of-00017.safetensors",
"model.layers.16.mlp.down_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.16.mlp.gate_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.16.mlp.up_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.16.post_attention_layernorm.weight": "model-00009-of-00017.safetensors",
"model.layers.16.self_attn.k_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.16.self_attn.o_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.16.self_attn.q_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.16.self_attn.v_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.input_layernorm.weight": "model-00009-of-00017.safetensors",
"model.layers.17.mlp.down_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.mlp.gate_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.mlp.up_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.post_attention_layernorm.weight": "model-00009-of-00017.safetensors",
"model.layers.17.self_attn.k_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.self_attn.o_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.self_attn.q_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.17.self_attn.v_proj.weight": "model-00009-of-00017.safetensors",
"model.layers.18.input_layernorm.weight": "model-00010-of-00017.safetensors",
"model.layers.18.mlp.down_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.18.mlp.gate_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.18.mlp.up_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.18.post_attention_layernorm.weight": "model-00010-of-00017.safetensors",
"model.layers.18.self_attn.k_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.18.self_attn.o_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.18.self_attn.q_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.18.self_attn.v_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.input_layernorm.weight": "model-00010-of-00017.safetensors",
"model.layers.19.mlp.down_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.mlp.gate_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.mlp.up_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.post_attention_layernorm.weight": "model-00010-of-00017.safetensors",
"model.layers.19.self_attn.k_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.self_attn.o_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.self_attn.q_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.19.self_attn.v_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.2.input_layernorm.weight": "model-00003-of-00017.safetensors",
"model.layers.2.mlp.down_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.2.mlp.gate_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.2.mlp.up_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.2.post_attention_layernorm.weight": "model-00003-of-00017.safetensors",
"model.layers.2.self_attn.k_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.2.self_attn.o_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.2.self_attn.q_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.2.self_attn.v_proj.weight": "model-00002-of-00017.safetensors",
"model.layers.20.input_layernorm.weight": "model-00011-of-00017.safetensors",
"model.layers.20.mlp.down_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.20.mlp.gate_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.20.mlp.up_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.20.post_attention_layernorm.weight": "model-00011-of-00017.safetensors",
"model.layers.20.self_attn.k_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.20.self_attn.o_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.20.self_attn.q_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.20.self_attn.v_proj.weight": "model-00010-of-00017.safetensors",
"model.layers.21.input_layernorm.weight": "model-00011-of-00017.safetensors",
"model.layers.21.mlp.down_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.21.mlp.gate_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.21.mlp.up_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.21.post_attention_layernorm.weight": "model-00011-of-00017.safetensors",
"model.layers.21.self_attn.k_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.21.self_attn.o_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.21.self_attn.q_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.21.self_attn.v_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.22.input_layernorm.weight": "model-00012-of-00017.safetensors",
"model.layers.22.mlp.down_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.22.mlp.gate_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.22.mlp.up_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.22.post_attention_layernorm.weight": "model-00012-of-00017.safetensors",
"model.layers.22.self_attn.k_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.22.self_attn.o_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.22.self_attn.q_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.22.self_attn.v_proj.weight": "model-00011-of-00017.safetensors",
"model.layers.23.input_layernorm.weight": "model-00012-of-00017.safetensors",
"model.layers.23.mlp.down_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.23.mlp.gate_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.23.mlp.up_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.23.post_attention_layernorm.weight": "model-00012-of-00017.safetensors",
"model.layers.23.self_attn.k_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.23.self_attn.o_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.23.self_attn.q_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.23.self_attn.v_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.24.input_layernorm.weight": "model-00013-of-00017.safetensors",
"model.layers.24.mlp.down_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.24.mlp.gate_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.24.mlp.up_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.24.post_attention_layernorm.weight": "model-00013-of-00017.safetensors",
"model.layers.24.self_attn.k_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.24.self_attn.o_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.24.self_attn.q_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.24.self_attn.v_proj.weight": "model-00012-of-00017.safetensors",
"model.layers.25.input_layernorm.weight": "model-00013-of-00017.safetensors",
"model.layers.25.mlp.down_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.25.mlp.gate_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.25.mlp.up_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.25.post_attention_layernorm.weight": "model-00013-of-00017.safetensors",
"model.layers.25.self_attn.k_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.25.self_attn.o_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.25.self_attn.q_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.25.self_attn.v_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.input_layernorm.weight": "model-00013-of-00017.safetensors",
"model.layers.26.mlp.down_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.mlp.gate_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.mlp.up_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.post_attention_layernorm.weight": "model-00013-of-00017.safetensors",
"model.layers.26.self_attn.k_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.self_attn.o_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.self_attn.q_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.26.self_attn.v_proj.weight": "model-00013-of-00017.safetensors",
"model.layers.27.input_layernorm.weight": "model-00014-of-00017.safetensors",
"model.layers.27.mlp.down_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.27.mlp.gate_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.27.mlp.up_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.27.post_attention_layernorm.weight": "model-00014-of-00017.safetensors",
"model.layers.27.self_attn.k_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.27.self_attn.o_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.27.self_attn.q_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.27.self_attn.v_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.input_layernorm.weight": "model-00014-of-00017.safetensors",
"model.layers.28.mlp.down_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.mlp.gate_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.mlp.up_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.post_attention_layernorm.weight": "model-00014-of-00017.safetensors",
"model.layers.28.self_attn.k_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.self_attn.o_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.self_attn.q_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.28.self_attn.v_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.29.input_layernorm.weight": "model-00015-of-00017.safetensors",
"model.layers.29.mlp.down_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.29.mlp.gate_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.29.mlp.up_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.29.post_attention_layernorm.weight": "model-00015-of-00017.safetensors",
"model.layers.29.self_attn.k_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.29.self_attn.o_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.29.self_attn.q_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.29.self_attn.v_proj.weight": "model-00014-of-00017.safetensors",
"model.layers.3.input_layernorm.weight": "model-00003-of-00017.safetensors",
"model.layers.3.mlp.down_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.3.mlp.gate_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.3.mlp.up_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.3.post_attention_layernorm.weight": "model-00003-of-00017.safetensors",
"model.layers.3.self_attn.k_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.3.self_attn.o_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.3.self_attn.q_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.3.self_attn.v_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.30.input_layernorm.weight": "model-00015-of-00017.safetensors",
"model.layers.30.mlp.down_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.30.mlp.gate_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.30.mlp.up_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.30.post_attention_layernorm.weight": "model-00015-of-00017.safetensors",
"model.layers.30.self_attn.k_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.30.self_attn.o_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.30.self_attn.q_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.30.self_attn.v_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.31.input_layernorm.weight": "model-00016-of-00017.safetensors",
"model.layers.31.mlp.down_proj.weight": "model-00016-of-00017.safetensors",
"model.layers.31.mlp.gate_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.31.mlp.up_proj.weight": "model-00016-of-00017.safetensors",
"model.layers.31.post_attention_layernorm.weight": "model-00016-of-00017.safetensors",
"model.layers.31.self_attn.k_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.31.self_attn.o_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.31.self_attn.q_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.31.self_attn.v_proj.weight": "model-00015-of-00017.safetensors",
"model.layers.4.input_layernorm.weight": "model-00004-of-00017.safetensors",
"model.layers.4.mlp.down_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.4.mlp.gate_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.4.mlp.up_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.4.post_attention_layernorm.weight": "model-00004-of-00017.safetensors",
"model.layers.4.self_attn.k_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.4.self_attn.o_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.4.self_attn.q_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.4.self_attn.v_proj.weight": "model-00003-of-00017.safetensors",
"model.layers.5.input_layernorm.weight": "model-00004-of-00017.safetensors",
"model.layers.5.mlp.down_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.5.mlp.gate_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.5.mlp.up_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.5.post_attention_layernorm.weight": "model-00004-of-00017.safetensors",
"model.layers.5.self_attn.k_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.5.self_attn.o_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.5.self_attn.q_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.5.self_attn.v_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.6.input_layernorm.weight": "model-00005-of-00017.safetensors",
"model.layers.6.mlp.down_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.6.mlp.gate_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.6.mlp.up_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.6.post_attention_layernorm.weight": "model-00005-of-00017.safetensors",
"model.layers.6.self_attn.k_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.6.self_attn.o_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.6.self_attn.q_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.6.self_attn.v_proj.weight": "model-00004-of-00017.safetensors",
"model.layers.7.input_layernorm.weight": "model-00005-of-00017.safetensors",
"model.layers.7.mlp.down_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.7.mlp.gate_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.7.mlp.up_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.7.post_attention_layernorm.weight": "model-00005-of-00017.safetensors",
"model.layers.7.self_attn.k_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.7.self_attn.o_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.7.self_attn.q_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.7.self_attn.v_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.input_layernorm.weight": "model-00005-of-00017.safetensors",
"model.layers.8.mlp.down_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.mlp.gate_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.mlp.up_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.post_attention_layernorm.weight": "model-00005-of-00017.safetensors",
"model.layers.8.self_attn.k_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.self_attn.o_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.self_attn.q_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.8.self_attn.v_proj.weight": "model-00005-of-00017.safetensors",
"model.layers.9.input_layernorm.weight": "model-00006-of-00017.safetensors",
"model.layers.9.mlp.down_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.9.mlp.gate_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.9.mlp.up_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.9.post_attention_layernorm.weight": "model-00006-of-00017.safetensors",
"model.layers.9.self_attn.k_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.9.self_attn.o_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.9.self_attn.q_proj.weight": "model-00006-of-00017.safetensors",
"model.layers.9.self_attn.v_proj.weight": "model-00006-of-00017.safetensors",
"model.norm.weight": "model-00016-of-00017.safetensors"
}
}

17
special_tokens_map.json Normal file
View File

@@ -0,0 +1,17 @@
{
"bos_token": {
"content": "<|begin_of_text|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "<|eot_id|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": "<|eot_id|>"
}

410504
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

2065
tokenizer_config.json Normal file

File diff suppressed because it is too large Load Diff