Upload folder using huggingface_hub
Browse files- .DS_Store +0 -0
- README.md +219 -0
- added_tokens.json +66 -0
- config.json +28 -0
- generation_config.json +10 -0
- model.safetensors +3 -0
- special_tokens_map.json +435 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +622 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
README.md
ADDED
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
datasets:
|
4 |
+
- pints-ai/Expository-Prose-V1
|
5 |
+
- HuggingFaceH4/ultrachat_200k
|
6 |
+
- Open-Orca/SlimOrca-Dedup
|
7 |
+
- meta-math/MetaMathQA
|
8 |
+
- HuggingFaceH4/deita-10k-v0-sft
|
9 |
+
- WizardLM/WizardLM_evol_instruct_V2_196k
|
10 |
+
- togethercomputer/llama-instruct
|
11 |
+
- LDJnr/Capybara
|
12 |
+
- HuggingFaceH4/ultrafeedback_binarized
|
13 |
+
language:
|
14 |
+
- en
|
15 |
+
model-index:
|
16 |
+
- name: 1.5-Pints
|
17 |
+
results:
|
18 |
+
- task:
|
19 |
+
type: text-generation
|
20 |
+
dataset:
|
21 |
+
name: MTBench
|
22 |
+
type: ai2_arc
|
23 |
+
metrics:
|
24 |
+
- name: MTBench
|
25 |
+
type: LLM-as-a-Judge
|
26 |
+
value: 3.4
|
27 |
+
source:
|
28 |
+
name: MTBench
|
29 |
+
url: https://huggingface.co/spaces/lmsys/mt-bench
|
30 |
+
pipeline_tag: text-generation
|
31 |
+
---
|
32 |
+
|
33 |
+
# 1.5-Pints -- A model pretrained in 9 days by using high quality data
|
34 |
+
|
35 |
+
## How to use
|
36 |
+
|
37 |
+
**Install dependencies**
|
38 |
+
```bash
|
39 |
+
pip install transformers
|
40 |
+
# Omit `flash-attn` if not supported by your hardware
|
41 |
+
pip install flash-attn --no-build-isolation
|
42 |
+
```
|
43 |
+
|
44 |
+
**Usage**
|
45 |
+
```python
|
46 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
47 |
+
device = "cuda" # the device to load the model onto
|
48 |
+
|
49 |
+
# INITIALIZE the model and the tokenizer
|
50 |
+
model = AutoModelForCausalLM.from_pretrained(
|
51 |
+
"pints-ai/1.5-Pints-2k-v0.1",
|
52 |
+
device_map=device,
|
53 |
+
attn_implementation="flash_attention_2" # can be omitted if not supported
|
54 |
+
)
|
55 |
+
tokenizer = AutoTokenizer.from_pretrained("pints-ai/1.5-Pints-2k-v0.1")
|
56 |
+
|
57 |
+
# PREPARE and tokenize the prompt
|
58 |
+
prompt = "Predict what life will be like 100 years from now."
|
59 |
+
messages = [
|
60 |
+
{"role": "system", "content": "You are an AI assistant that follows instruction extremely well. Help as much as you can."},
|
61 |
+
{"role": "user", "content": prompt}
|
62 |
+
]
|
63 |
+
|
64 |
+
text = tokenizer.apply_chat_template(
|
65 |
+
messages,
|
66 |
+
tokenize=False,
|
67 |
+
add_generation_prompt=True
|
68 |
+
)
|
69 |
+
|
70 |
+
input = tokenizer([text], return_tensors="pt").to(device)
|
71 |
+
|
72 |
+
# GENERATE the response
|
73 |
+
generated_ids = model.generate(
|
74 |
+
input.input_ids,
|
75 |
+
max_new_tokens=512
|
76 |
+
)
|
77 |
+
|
78 |
+
# DECODE the response
|
79 |
+
input_length = len(input.input_ids[0])
|
80 |
+
# Remove the input and decode only the output
|
81 |
+
response = tokenizer.decode(generated_ids[0][input_length:])
|
82 |
+
|
83 |
+
print(response)
|
84 |
+
```
|
85 |
+
|
86 |
+
**Compute Infrastructure**<br>
|
87 |
+
This model can be served with a GPU containing at least 8GB of VRAM.
|
88 |
+
<br><br>
|
89 |
+
|
90 |
+
## Description
|
91 |
+
1.5 Pints is a Large Language Model that significantly advances the efficiency of LLM training by emphasizing data quality over quantity. Our [pre-training corpus](https://huggingface.co/datasets/pints-ai/Expository-Prose-V1) is a meticulously curated dataset of 57 billion tokens, thus making pre-training more accessible and environmentally-friendly.
|
92 |
+
<br><br>
|
93 |
+
|
94 |
+
## Results
|
95 |
+
**MTBench**<br>
|
96 |
+
[MTBench](https://huggingface.co/spaces/lmsys/mt-bench) is a popular evaluation harness that uses strong LLMs like GPT-4 to act as judges and assess the quality of the models' responses./
|
97 |
+
| Model | Score | Parameter Size | Pretrain Tokens |
|
98 |
+
|:-:|:-:|:-:|:-:|
|
99 |
+
| meta-llama/Llama-2-7b-chat-hf | 6.27 | 7B | 2T |
|
100 |
+
| microsoft/phi-2 | 5.83 | 2.7B | 1.4T |
|
101 |
+
| google/gemma-2b-it | 5.44 | 2B | 3T |
|
102 |
+
| stabilityai/stablelm-2-1_6b-chat | 4.7 | 1.6B | 2T |
|
103 |
+
| **1.5-Pints-2K** | **3.73** | **1.57B** | **0.115T** |
|
104 |
+
| TinyLlama/TinyLlama-1.1B-Chat-v1.0 | 3.72 | 1.1B | 3T |
|
105 |
+
| **1.5-Pints-16K** | **3.40** | **1.57B** | **0.115T** |
|
106 |
+
| apple/OpenELM-1_1B-Instruct | 3.34 | 1B | 1.8T |
|
107 |
+
| microsoft/phi-1_5 | 3.33 | 1.3B | 0.15T |
|
108 |
+
| databricks/dolly-v2-3b | 2.33 | 3B | 0.3T |
|
109 |
+
| EleutherAI/pythia-2.8b | 1.81 | 2.8B | 0.3T |
|
110 |
+
| tiiuae/falcon-rw-1b | 1.18 | 1B | 0.35T |
|
111 |
+
<br><br>
|
112 |
+
|
113 |
+
The 16K context window version of 1.5-Pints can be found [here](https://huggingface.co/pints-ai/1.5-Pints-16K-v0.1).
|
114 |
+
|
115 |
+
## Technical Specifications
|
116 |
+
**Architecture**<br>
|
117 |
+
Llama 2 Autoregressive Model with **2K Context Window** and Mistral tokenizer. The model uses Float32 precision.
|
118 |
+
|
119 |
+
| Parameters | Vocab Size | Embedding Size | Context Length | Layers | Heads | Query Groups | Intermediate Hidden Size |
|
120 |
+
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|
121 |
+
| 1,565,886,464 | 32,064 | 2,048 | 2,048 | 24 | 32 | 4 | 8,192 |
|
122 |
+
|
123 |
+
**Context Lengths**<br>
|
124 |
+
1.5-Pints comes in 2 context lengths - 16k (16,384) and 2k (2,048).
|
125 |
+
|
126 |
+
**Prompt template**<br>
|
127 |
+
This model has been finetuned and preference-optimized using the ChatML template.
|
128 |
+
```
|
129 |
+
<|im_start|>system
|
130 |
+
{SYSTEM_PROMPT}<|im_end|>
|
131 |
+
<|im_start|>user
|
132 |
+
{PROMPT}<|im_end|>
|
133 |
+
<|im_start|>assistant
|
134 |
+
```
|
135 |
+
<br><br>
|
136 |
+
|
137 |
+
## Uses
|
138 |
+
**Direct Use**<br>
|
139 |
+
This model is meant to be an efficient and fine-tunable helpful assistant. It is designed to excel in user assistance and reasoning, and rely less on internal knowledge and factuals. Thus, for knowledge retrieval purposes, it should be used with Retrieval Augmented Generation.
|
140 |
+
|
141 |
+
**Downstream Use**<br>
|
142 |
+
Given the size of this model, it is possible to launch multiple instances of it for use in agentic context without breaking the compute bank.
|
143 |
+
|
144 |
+
**Recommendations**<br>
|
145 |
+
- It is recommended to finetune this model for domain adaption, and use it for a specialized tasks.
|
146 |
+
- To reap full performance, use a repetition penalty of 1.3 rather than 1.
|
147 |
+
<br><br>
|
148 |
+
|
149 |
+
## Training Data
|
150 |
+
**Pre-Train Data**<br>
|
151 |
+
Dataset: [pints-ai/Expository-Prose-V1](https://huggingface.co/datasets/pints-ai/Expository-Prose-V1)
|
152 |
+
|
153 |
+
|
154 |
+
**Fine-Tune Data**<br>
|
155 |
+
Corpora:
|
156 |
+
- [HuggingFaceH4/ultrachat](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k)
|
157 |
+
- [Open-Orca/SlimOrca-Dedup](https://huggingface.co/datasets/Open-Orca/SlimOrca-Dedup)
|
158 |
+
- [meta-math/MetaMathQA](https://huggingface.co/datasets/meta-math/MetaMathQA)
|
159 |
+
- [HuggingFaceH4/deita-10k-v0-sft](https://huggingface.co/datasets/HuggingFaceH4/deita-10k-v0-sft)
|
160 |
+
- [WizardLM/WizardLM_evol_instruct_V2_196k](https://huggingface.co/datasets/WizardLMTeam/WizardLM_evol_instruct_V2_196k)
|
161 |
+
- [togethercomputer/llama-instruct](https://huggingface.co/togethercomputer/Llama-2-7B-32K-Instruct)
|
162 |
+
- [LDJnr/Capybara](https://huggingface.co/datasets/LDJnr/Capybara)
|
163 |
+
|
164 |
+
**DPO Data**<br>
|
165 |
+
Dataset: [HuggingFaceH4/ultrafeedback_binarized](https://huggingface.co/datasets/HuggingFaceH4/ultrafeedback_binarized)
|
166 |
+
<br><br>
|
167 |
+
|
168 |
+
## Training Procedure
|
169 |
+
Both Pre-Train and Finetuning used [our fork](https://github.com/Pints-AI/1.5-Pints) of the [LitGPT Framework](https://github.com/Lightning-AI/litgpt). For DPO, we used the methods set out in [The Alignment Handbook](https://github.com/huggingface/alignment-handbook/blob/main/scripts/run_dpo.py). More details can be found in our [paper](TOBEADDED).
|
170 |
+
|
171 |
+
## Training Hyperparameters
|
172 |
+
**Pre-Train**<br>
|
173 |
+
| Hyperparameter | Value |
|
174 |
+
|:-:|:-:|
|
175 |
+
| Optimizer | AdamW(Beta1=0.9, Beta2=0.95) |
|
176 |
+
| Learning Rate Scheduler | Cosine |
|
177 |
+
| Max Learning Rate | 4.0x10-4 |
|
178 |
+
| Min Learning Rate | 4.0x10-5 |
|
179 |
+
| Warmup Steps | 2,000 |
|
180 |
+
| Batch Size | 2,097,152 |
|
181 |
+
| Weight Decay | 0.1 |
|
182 |
+
| Gradient Clipping Threshold | 1.0 |
|
183 |
+
|
184 |
+
**SFT**<br>
|
185 |
+
| Hyperparameter | Value |
|
186 |
+
|:-:|:-:|
|
187 |
+
| Optimizer | AdamW(Beta1=0.9, Beta2=0.95) |
|
188 |
+
| Warmup steps | 1,126 (10%)
|
189 |
+
| Peak learning rate | 2e-5 |
|
190 |
+
| Learning rate scheduler | Cosine |
|
191 |
+
| Weight Decay | 0.1 |
|
192 |
+
|
193 |
+
**DPO**<br>
|
194 |
+
DPO parameters used are the exact same as those specified in [The Alignment Handbook](https://github.com/huggingface/alignment-handbook).
|
195 |
+
<br><br>
|
196 |
+
|
197 |
+
## Citation
|
198 |
+
**Attribution**
|
199 |
+
- **Developed by:** [calvintwr](https://huggingface.co/calvintwr), [lemousehunter](https://huggingface.co/lemousehunter)
|
200 |
+
- **Funded by** [PintsAI](https://pints.ai/)
|
201 |
+
- **Released by:** [PintsAI](https://pints.ai/)
|
202 |
+
- **Model type:** Large Language Model
|
203 |
+
- **Language(s) (NLP):** English
|
204 |
+
- **License:** [MIT License](https://opensource.org/license/mit)
|
205 |
+
<br><br>
|
206 |
+
|
207 |
+
**BibTeX:**
|
208 |
+
[More Information Needed]
|
209 |
+
|
210 |
+
**APA**
|
211 |
+
[More Information Needed]
|
212 |
+
<br><br>
|
213 |
+
|
214 |
+
## Legal Warning
|
215 |
+
Though best efforts has been made to ensure, as much as possible, that all texts in the training corpora are royalty free, this does not constitute a legal guarantee that such is the case. **By using any of the models, corpora or part thereof, the user agrees to bear full responsibility to do the necessary due diligence to ensure that he / she is in compliance with their local copyright laws**.
|
216 |
+
|
217 |
+
Additionally, the **user agrees to bear any damages** arising as a direct cause (or otherwise) of using any artifacts released by the pints research team, as well as full responsibility for the consequences of his / her usage (or implementation) of any such released artifacts. The user also indemnifies Pints Research Team (and any of its members or agents) of any damage, related or unrelated, to the release or subsequent usage of any findings, artifacts or code by the team.
|
218 |
+
|
219 |
+
For the avoidance of doubt, **any artifacts released by the Pints Research team are done so in accordance with the "fair use"** clause of Copyright Law, in hopes that this will aid the research community in bringing LLMs to the next frontier.
|
added_tokens.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 32003,
|
3 |
+
"<</SYS>>": 32007,
|
4 |
+
"<<SYS>>": 32006,
|
5 |
+
"<|assistant|>": 32010,
|
6 |
+
"<|begin_of_text|>": 32011,
|
7 |
+
"<|end_header_id|>": 32013,
|
8 |
+
"<|end_of_turn|>": 32000,
|
9 |
+
"<|eot_id|>": 32014,
|
10 |
+
"<|im_start|>": 32002,
|
11 |
+
"<|pad|>": 32001,
|
12 |
+
"<|reserved_0|>": 32015,
|
13 |
+
"<|reserved_10|>": 32025,
|
14 |
+
"<|reserved_11|>": 32026,
|
15 |
+
"<|reserved_12|>": 32027,
|
16 |
+
"<|reserved_13|>": 32028,
|
17 |
+
"<|reserved_14|>": 32029,
|
18 |
+
"<|reserved_15|>": 32030,
|
19 |
+
"<|reserved_16|>": 32031,
|
20 |
+
"<|reserved_17|>": 32032,
|
21 |
+
"<|reserved_18|>": 32033,
|
22 |
+
"<|reserved_19|>": 32034,
|
23 |
+
"<|reserved_1|>": 32016,
|
24 |
+
"<|reserved_20|>": 32035,
|
25 |
+
"<|reserved_21|>": 32036,
|
26 |
+
"<|reserved_22|>": 32037,
|
27 |
+
"<|reserved_23|>": 32038,
|
28 |
+
"<|reserved_24|>": 32039,
|
29 |
+
"<|reserved_25|>": 32040,
|
30 |
+
"<|reserved_26|>": 32041,
|
31 |
+
"<|reserved_27|>": 32042,
|
32 |
+
"<|reserved_28|>": 32043,
|
33 |
+
"<|reserved_29|>": 32044,
|
34 |
+
"<|reserved_2|>": 32017,
|
35 |
+
"<|reserved_30|>": 32045,
|
36 |
+
"<|reserved_31|>": 32046,
|
37 |
+
"<|reserved_32|>": 32047,
|
38 |
+
"<|reserved_33|>": 32048,
|
39 |
+
"<|reserved_34|>": 32049,
|
40 |
+
"<|reserved_35|>": 32050,
|
41 |
+
"<|reserved_36|>": 32051,
|
42 |
+
"<|reserved_37|>": 32052,
|
43 |
+
"<|reserved_38|>": 32053,
|
44 |
+
"<|reserved_39|>": 32054,
|
45 |
+
"<|reserved_3|>": 32018,
|
46 |
+
"<|reserved_40|>": 32055,
|
47 |
+
"<|reserved_41|>": 32056,
|
48 |
+
"<|reserved_42|>": 32057,
|
49 |
+
"<|reserved_43|>": 32058,
|
50 |
+
"<|reserved_44|>": 32059,
|
51 |
+
"<|reserved_45|>": 32060,
|
52 |
+
"<|reserved_46|>": 32061,
|
53 |
+
"<|reserved_47|>": 32062,
|
54 |
+
"<|reserved_48|>": 32063,
|
55 |
+
"<|reserved_4|>": 32019,
|
56 |
+
"<|reserved_5|>": 32020,
|
57 |
+
"<|reserved_6|>": 32021,
|
58 |
+
"<|reserved_7|>": 32022,
|
59 |
+
"<|reserved_8|>": 32023,
|
60 |
+
"<|reserved_9|>": 32024,
|
61 |
+
"<|start_header_id|>": 32012,
|
62 |
+
"<|system|>": 32009,
|
63 |
+
"<|user|>": 32008,
|
64 |
+
"[/INST]": 32005,
|
65 |
+
"[INST]": 32004
|
66 |
+
}
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 2048,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 8192,
|
13 |
+
"max_position_embeddings": 16384,
|
14 |
+
"model_type": "llama",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 24,
|
17 |
+
"num_key_value_heads": 4,
|
18 |
+
"pad_token_id": 32001,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 10000.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.38.0",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 32064
|
28 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 2048,
|
6 |
+
"pad_token_id": 32001,
|
7 |
+
"temperature": 0.1,
|
8 |
+
"repetition_penalty": 1.3,
|
9 |
+
"transformers_version": "4.38.0"
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb5e7e5ef70758e3ef79b8e690cb25b1a12b587d65fcabb24407603f40ee1399
|
3 |
+
size 3131797936
|
special_tokens_map.json
ADDED
@@ -0,0 +1,435 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<|im_start|>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "[INST]",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"content": "[/INST]",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"content": "<<SYS>>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": false,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"content": "<</SYS>>",
|
33 |
+
"lstrip": false,
|
34 |
+
"normalized": false,
|
35 |
+
"rstrip": false,
|
36 |
+
"single_word": false
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"content": "<|user|>",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": false,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"content": "<|system|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"content": "<|assistant|>",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"content": "<|begin_of_text|>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"content": "<|start_header_id|>",
|
68 |
+
"lstrip": false,
|
69 |
+
"normalized": false,
|
70 |
+
"rstrip": false,
|
71 |
+
"single_word": false
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"content": "<|end_header_id|>",
|
75 |
+
"lstrip": false,
|
76 |
+
"normalized": false,
|
77 |
+
"rstrip": false,
|
78 |
+
"single_word": false
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"content": "<|eot_id|>",
|
82 |
+
"lstrip": false,
|
83 |
+
"normalized": false,
|
84 |
+
"rstrip": false,
|
85 |
+
"single_word": false
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"content": "<|reserved_0|>",
|
89 |
+
"lstrip": false,
|
90 |
+
"normalized": false,
|
91 |
+
"rstrip": false,
|
92 |
+
"single_word": false
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"content": "<|reserved_1|>",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": false,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"content": "<|reserved_2|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"content": "<|reserved_3|>",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"content": "<|reserved_4|>",
|
117 |
+
"lstrip": false,
|
118 |
+
"normalized": false,
|
119 |
+
"rstrip": false,
|
120 |
+
"single_word": false
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"content": "<|reserved_5|>",
|
124 |
+
"lstrip": false,
|
125 |
+
"normalized": false,
|
126 |
+
"rstrip": false,
|
127 |
+
"single_word": false
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"content": "<|reserved_6|>",
|
131 |
+
"lstrip": false,
|
132 |
+
"normalized": false,
|
133 |
+
"rstrip": false,
|
134 |
+
"single_word": false
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"content": "<|reserved_7|>",
|
138 |
+
"lstrip": false,
|
139 |
+
"normalized": false,
|
140 |
+
"rstrip": false,
|
141 |
+
"single_word": false
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"content": "<|reserved_8|>",
|
145 |
+
"lstrip": false,
|
146 |
+
"normalized": false,
|
147 |
+
"rstrip": false,
|
148 |
+
"single_word": false
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"content": "<|reserved_9|>",
|
152 |
+
"lstrip": false,
|
153 |
+
"normalized": false,
|
154 |
+
"rstrip": false,
|
155 |
+
"single_word": false
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"content": "<|reserved_10|>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"content": "<|reserved_11|>",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": false,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"content": "<|reserved_12|>",
|
173 |
+
"lstrip": false,
|
174 |
+
"normalized": false,
|
175 |
+
"rstrip": false,
|
176 |
+
"single_word": false
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"content": "<|reserved_13|>",
|
180 |
+
"lstrip": false,
|
181 |
+
"normalized": false,
|
182 |
+
"rstrip": false,
|
183 |
+
"single_word": false
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"content": "<|reserved_14|>",
|
187 |
+
"lstrip": false,
|
188 |
+
"normalized": false,
|
189 |
+
"rstrip": false,
|
190 |
+
"single_word": false
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"content": "<|reserved_15|>",
|
194 |
+
"lstrip": false,
|
195 |
+
"normalized": false,
|
196 |
+
"rstrip": false,
|
197 |
+
"single_word": false
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"content": "<|reserved_16|>",
|
201 |
+
"lstrip": false,
|
202 |
+
"normalized": false,
|
203 |
+
"rstrip": false,
|
204 |
+
"single_word": false
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"content": "<|reserved_17|>",
|
208 |
+
"lstrip": false,
|
209 |
+
"normalized": false,
|
210 |
+
"rstrip": false,
|
211 |
+
"single_word": false
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"content": "<|reserved_18|>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"content": "<|reserved_19|>",
|
222 |
+
"lstrip": false,
|
223 |
+
"normalized": false,
|
224 |
+
"rstrip": false,
|
225 |
+
"single_word": false
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"content": "<|reserved_20|>",
|
229 |
+
"lstrip": false,
|
230 |
+
"normalized": false,
|
231 |
+
"rstrip": false,
|
232 |
+
"single_word": false
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"content": "<|reserved_21|>",
|
236 |
+
"lstrip": false,
|
237 |
+
"normalized": false,
|
238 |
+
"rstrip": false,
|
239 |
+
"single_word": false
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"content": "<|reserved_22|>",
|
243 |
+
"lstrip": false,
|
244 |
+
"normalized": false,
|
245 |
+
"rstrip": false,
|
246 |
+
"single_word": false
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"content": "<|reserved_23|>",
|
250 |
+
"lstrip": false,
|
251 |
+
"normalized": false,
|
252 |
+
"rstrip": false,
|
253 |
+
"single_word": false
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"content": "<|reserved_24|>",
|
257 |
+
"lstrip": false,
|
258 |
+
"normalized": false,
|
259 |
+
"rstrip": false,
|
260 |
+
"single_word": false
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"content": "<|reserved_25|>",
|
264 |
+
"lstrip": false,
|
265 |
+
"normalized": false,
|
266 |
+
"rstrip": false,
|
267 |
+
"single_word": false
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"content": "<|reserved_26|>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false
|
275 |
+
},
|
276 |
+
{
|
277 |
+
"content": "<|reserved_27|>",
|
278 |
+
"lstrip": false,
|
279 |
+
"normalized": false,
|
280 |
+
"rstrip": false,
|
281 |
+
"single_word": false
|
282 |
+
},
|
283 |
+
{
|
284 |
+
"content": "<|reserved_28|>",
|
285 |
+
"lstrip": false,
|
286 |
+
"normalized": false,
|
287 |
+
"rstrip": false,
|
288 |
+
"single_word": false
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"content": "<|reserved_29|>",
|
292 |
+
"lstrip": false,
|
293 |
+
"normalized": false,
|
294 |
+
"rstrip": false,
|
295 |
+
"single_word": false
|
296 |
+
},
|
297 |
+
{
|
298 |
+
"content": "<|reserved_30|>",
|
299 |
+
"lstrip": false,
|
300 |
+
"normalized": false,
|
301 |
+
"rstrip": false,
|
302 |
+
"single_word": false
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"content": "<|reserved_31|>",
|
306 |
+
"lstrip": false,
|
307 |
+
"normalized": false,
|
308 |
+
"rstrip": false,
|
309 |
+
"single_word": false
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"content": "<|reserved_32|>",
|
313 |
+
"lstrip": false,
|
314 |
+
"normalized": false,
|
315 |
+
"rstrip": false,
|
316 |
+
"single_word": false
|
317 |
+
},
|
318 |
+
{
|
319 |
+
"content": "<|reserved_33|>",
|
320 |
+
"lstrip": false,
|
321 |
+
"normalized": false,
|
322 |
+
"rstrip": false,
|
323 |
+
"single_word": false
|
324 |
+
},
|
325 |
+
{
|
326 |
+
"content": "<|reserved_34|>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"content": "<|reserved_35|>",
|
334 |
+
"lstrip": false,
|
335 |
+
"normalized": false,
|
336 |
+
"rstrip": false,
|
337 |
+
"single_word": false
|
338 |
+
},
|
339 |
+
{
|
340 |
+
"content": "<|reserved_36|>",
|
341 |
+
"lstrip": false,
|
342 |
+
"normalized": false,
|
343 |
+
"rstrip": false,
|
344 |
+
"single_word": false
|
345 |
+
},
|
346 |
+
{
|
347 |
+
"content": "<|reserved_37|>",
|
348 |
+
"lstrip": false,
|
349 |
+
"normalized": false,
|
350 |
+
"rstrip": false,
|
351 |
+
"single_word": false
|
352 |
+
},
|
353 |
+
{
|
354 |
+
"content": "<|reserved_38|>",
|
355 |
+
"lstrip": false,
|
356 |
+
"normalized": false,
|
357 |
+
"rstrip": false,
|
358 |
+
"single_word": false
|
359 |
+
},
|
360 |
+
{
|
361 |
+
"content": "<|reserved_39|>",
|
362 |
+
"lstrip": false,
|
363 |
+
"normalized": false,
|
364 |
+
"rstrip": false,
|
365 |
+
"single_word": false
|
366 |
+
},
|
367 |
+
{
|
368 |
+
"content": "<|reserved_40|>",
|
369 |
+
"lstrip": false,
|
370 |
+
"normalized": false,
|
371 |
+
"rstrip": false,
|
372 |
+
"single_word": false
|
373 |
+
},
|
374 |
+
{
|
375 |
+
"content": "<|reserved_41|>",
|
376 |
+
"lstrip": false,
|
377 |
+
"normalized": false,
|
378 |
+
"rstrip": false,
|
379 |
+
"single_word": false
|
380 |
+
},
|
381 |
+
{
|
382 |
+
"content": "<|reserved_42|>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false
|
387 |
+
},
|
388 |
+
{
|
389 |
+
"content": "<|reserved_43|>",
|
390 |
+
"lstrip": false,
|
391 |
+
"normalized": false,
|
392 |
+
"rstrip": false,
|
393 |
+
"single_word": false
|
394 |
+
},
|
395 |
+
{
|
396 |
+
"content": "<|reserved_44|>",
|
397 |
+
"lstrip": false,
|
398 |
+
"normalized": false,
|
399 |
+
"rstrip": false,
|
400 |
+
"single_word": false
|
401 |
+
},
|
402 |
+
{
|
403 |
+
"content": "<|reserved_45|>",
|
404 |
+
"lstrip": false,
|
405 |
+
"normalized": false,
|
406 |
+
"rstrip": false,
|
407 |
+
"single_word": false
|
408 |
+
},
|
409 |
+
{
|
410 |
+
"content": "<|reserved_46|>",
|
411 |
+
"lstrip": false,
|
412 |
+
"normalized": false,
|
413 |
+
"rstrip": false,
|
414 |
+
"single_word": false
|
415 |
+
},
|
416 |
+
{
|
417 |
+
"content": "<|reserved_47|>",
|
418 |
+
"lstrip": false,
|
419 |
+
"normalized": false,
|
420 |
+
"rstrip": false,
|
421 |
+
"single_word": false
|
422 |
+
},
|
423 |
+
{
|
424 |
+
"content": "<|reserved_48|>",
|
425 |
+
"lstrip": false,
|
426 |
+
"normalized": false,
|
427 |
+
"rstrip": false,
|
428 |
+
"single_word": false
|
429 |
+
}
|
430 |
+
],
|
431 |
+
"bos_token": "<s>",
|
432 |
+
"eos_token": "<|im_end|>",
|
433 |
+
"pad_token": "<|pad|>",
|
434 |
+
"unk_token": "<unk>"
|
435 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,622 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<|im_end|>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<|end_of_turn|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|pad|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "<|im_start|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "</s>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "[INST]",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
},
|
69 |
+
"32005": {
|
70 |
+
"content": "[/INST]",
|
71 |
+
"lstrip": false,
|
72 |
+
"normalized": false,
|
73 |
+
"rstrip": false,
|
74 |
+
"single_word": false,
|
75 |
+
"special": true
|
76 |
+
},
|
77 |
+
"32006": {
|
78 |
+
"content": "<<SYS>>",
|
79 |
+
"lstrip": false,
|
80 |
+
"normalized": false,
|
81 |
+
"rstrip": false,
|
82 |
+
"single_word": false,
|
83 |
+
"special": true
|
84 |
+
},
|
85 |
+
"32007": {
|
86 |
+
"content": "<</SYS>>",
|
87 |
+
"lstrip": false,
|
88 |
+
"normalized": false,
|
89 |
+
"rstrip": false,
|
90 |
+
"single_word": false,
|
91 |
+
"special": true
|
92 |
+
},
|
93 |
+
"32008": {
|
94 |
+
"content": "<|user|>",
|
95 |
+
"lstrip": false,
|
96 |
+
"normalized": false,
|
97 |
+
"rstrip": false,
|
98 |
+
"single_word": false,
|
99 |
+
"special": true
|
100 |
+
},
|
101 |
+
"32009": {
|
102 |
+
"content": "<|system|>",
|
103 |
+
"lstrip": false,
|
104 |
+
"normalized": false,
|
105 |
+
"rstrip": false,
|
106 |
+
"single_word": false,
|
107 |
+
"special": true
|
108 |
+
},
|
109 |
+
"32010": {
|
110 |
+
"content": "<|assistant|>",
|
111 |
+
"lstrip": false,
|
112 |
+
"normalized": false,
|
113 |
+
"rstrip": false,
|
114 |
+
"single_word": false,
|
115 |
+
"special": true
|
116 |
+
},
|
117 |
+
"32011": {
|
118 |
+
"content": "<|begin_of_text|>",
|
119 |
+
"lstrip": false,
|
120 |
+
"normalized": false,
|
121 |
+
"rstrip": false,
|
122 |
+
"single_word": false,
|
123 |
+
"special": true
|
124 |
+
},
|
125 |
+
"32012": {
|
126 |
+
"content": "<|start_header_id|>",
|
127 |
+
"lstrip": false,
|
128 |
+
"normalized": false,
|
129 |
+
"rstrip": false,
|
130 |
+
"single_word": false,
|
131 |
+
"special": true
|
132 |
+
},
|
133 |
+
"32013": {
|
134 |
+
"content": "<|end_header_id|>",
|
135 |
+
"lstrip": false,
|
136 |
+
"normalized": false,
|
137 |
+
"rstrip": false,
|
138 |
+
"single_word": false,
|
139 |
+
"special": true
|
140 |
+
},
|
141 |
+
"32014": {
|
142 |
+
"content": "<|eot_id|>",
|
143 |
+
"lstrip": false,
|
144 |
+
"normalized": false,
|
145 |
+
"rstrip": false,
|
146 |
+
"single_word": false,
|
147 |
+
"special": true
|
148 |
+
},
|
149 |
+
"32015": {
|
150 |
+
"content": "<|reserved_0|>",
|
151 |
+
"lstrip": false,
|
152 |
+
"normalized": false,
|
153 |
+
"rstrip": false,
|
154 |
+
"single_word": false,
|
155 |
+
"special": true
|
156 |
+
},
|
157 |
+
"32016": {
|
158 |
+
"content": "<|reserved_1|>",
|
159 |
+
"lstrip": false,
|
160 |
+
"normalized": false,
|
161 |
+
"rstrip": false,
|
162 |
+
"single_word": false,
|
163 |
+
"special": true
|
164 |
+
},
|
165 |
+
"32017": {
|
166 |
+
"content": "<|reserved_2|>",
|
167 |
+
"lstrip": false,
|
168 |
+
"normalized": false,
|
169 |
+
"rstrip": false,
|
170 |
+
"single_word": false,
|
171 |
+
"special": true
|
172 |
+
},
|
173 |
+
"32018": {
|
174 |
+
"content": "<|reserved_3|>",
|
175 |
+
"lstrip": false,
|
176 |
+
"normalized": false,
|
177 |
+
"rstrip": false,
|
178 |
+
"single_word": false,
|
179 |
+
"special": true
|
180 |
+
},
|
181 |
+
"32019": {
|
182 |
+
"content": "<|reserved_4|>",
|
183 |
+
"lstrip": false,
|
184 |
+
"normalized": false,
|
185 |
+
"rstrip": false,
|
186 |
+
"single_word": false,
|
187 |
+
"special": true
|
188 |
+
},
|
189 |
+
"32020": {
|
190 |
+
"content": "<|reserved_5|>",
|
191 |
+
"lstrip": false,
|
192 |
+
"normalized": false,
|
193 |
+
"rstrip": false,
|
194 |
+
"single_word": false,
|
195 |
+
"special": true
|
196 |
+
},
|
197 |
+
"32021": {
|
198 |
+
"content": "<|reserved_6|>",
|
199 |
+
"lstrip": false,
|
200 |
+
"normalized": false,
|
201 |
+
"rstrip": false,
|
202 |
+
"single_word": false,
|
203 |
+
"special": true
|
204 |
+
},
|
205 |
+
"32022": {
|
206 |
+
"content": "<|reserved_7|>",
|
207 |
+
"lstrip": false,
|
208 |
+
"normalized": false,
|
209 |
+
"rstrip": false,
|
210 |
+
"single_word": false,
|
211 |
+
"special": true
|
212 |
+
},
|
213 |
+
"32023": {
|
214 |
+
"content": "<|reserved_8|>",
|
215 |
+
"lstrip": false,
|
216 |
+
"normalized": false,
|
217 |
+
"rstrip": false,
|
218 |
+
"single_word": false,
|
219 |
+
"special": true
|
220 |
+
},
|
221 |
+
"32024": {
|
222 |
+
"content": "<|reserved_9|>",
|
223 |
+
"lstrip": false,
|
224 |
+
"normalized": false,
|
225 |
+
"rstrip": false,
|
226 |
+
"single_word": false,
|
227 |
+
"special": true
|
228 |
+
},
|
229 |
+
"32025": {
|
230 |
+
"content": "<|reserved_10|>",
|
231 |
+
"lstrip": false,
|
232 |
+
"normalized": false,
|
233 |
+
"rstrip": false,
|
234 |
+
"single_word": false,
|
235 |
+
"special": true
|
236 |
+
},
|
237 |
+
"32026": {
|
238 |
+
"content": "<|reserved_11|>",
|
239 |
+
"lstrip": false,
|
240 |
+
"normalized": false,
|
241 |
+
"rstrip": false,
|
242 |
+
"single_word": false,
|
243 |
+
"special": true
|
244 |
+
},
|
245 |
+
"32027": {
|
246 |
+
"content": "<|reserved_12|>",
|
247 |
+
"lstrip": false,
|
248 |
+
"normalized": false,
|
249 |
+
"rstrip": false,
|
250 |
+
"single_word": false,
|
251 |
+
"special": true
|
252 |
+
},
|
253 |
+
"32028": {
|
254 |
+
"content": "<|reserved_13|>",
|
255 |
+
"lstrip": false,
|
256 |
+
"normalized": false,
|
257 |
+
"rstrip": false,
|
258 |
+
"single_word": false,
|
259 |
+
"special": true
|
260 |
+
},
|
261 |
+
"32029": {
|
262 |
+
"content": "<|reserved_14|>",
|
263 |
+
"lstrip": false,
|
264 |
+
"normalized": false,
|
265 |
+
"rstrip": false,
|
266 |
+
"single_word": false,
|
267 |
+
"special": true
|
268 |
+
},
|
269 |
+
"32030": {
|
270 |
+
"content": "<|reserved_15|>",
|
271 |
+
"lstrip": false,
|
272 |
+
"normalized": false,
|
273 |
+
"rstrip": false,
|
274 |
+
"single_word": false,
|
275 |
+
"special": true
|
276 |
+
},
|
277 |
+
"32031": {
|
278 |
+
"content": "<|reserved_16|>",
|
279 |
+
"lstrip": false,
|
280 |
+
"normalized": false,
|
281 |
+
"rstrip": false,
|
282 |
+
"single_word": false,
|
283 |
+
"special": true
|
284 |
+
},
|
285 |
+
"32032": {
|
286 |
+
"content": "<|reserved_17|>",
|
287 |
+
"lstrip": false,
|
288 |
+
"normalized": false,
|
289 |
+
"rstrip": false,
|
290 |
+
"single_word": false,
|
291 |
+
"special": true
|
292 |
+
},
|
293 |
+
"32033": {
|
294 |
+
"content": "<|reserved_18|>",
|
295 |
+
"lstrip": false,
|
296 |
+
"normalized": false,
|
297 |
+
"rstrip": false,
|
298 |
+
"single_word": false,
|
299 |
+
"special": true
|
300 |
+
},
|
301 |
+
"32034": {
|
302 |
+
"content": "<|reserved_19|>",
|
303 |
+
"lstrip": false,
|
304 |
+
"normalized": false,
|
305 |
+
"rstrip": false,
|
306 |
+
"single_word": false,
|
307 |
+
"special": true
|
308 |
+
},
|
309 |
+
"32035": {
|
310 |
+
"content": "<|reserved_20|>",
|
311 |
+
"lstrip": false,
|
312 |
+
"normalized": false,
|
313 |
+
"rstrip": false,
|
314 |
+
"single_word": false,
|
315 |
+
"special": true
|
316 |
+
},
|
317 |
+
"32036": {
|
318 |
+
"content": "<|reserved_21|>",
|
319 |
+
"lstrip": false,
|
320 |
+
"normalized": false,
|
321 |
+
"rstrip": false,
|
322 |
+
"single_word": false,
|
323 |
+
"special": true
|
324 |
+
},
|
325 |
+
"32037": {
|
326 |
+
"content": "<|reserved_22|>",
|
327 |
+
"lstrip": false,
|
328 |
+
"normalized": false,
|
329 |
+
"rstrip": false,
|
330 |
+
"single_word": false,
|
331 |
+
"special": true
|
332 |
+
},
|
333 |
+
"32038": {
|
334 |
+
"content": "<|reserved_23|>",
|
335 |
+
"lstrip": false,
|
336 |
+
"normalized": false,
|
337 |
+
"rstrip": false,
|
338 |
+
"single_word": false,
|
339 |
+
"special": true
|
340 |
+
},
|
341 |
+
"32039": {
|
342 |
+
"content": "<|reserved_24|>",
|
343 |
+
"lstrip": false,
|
344 |
+
"normalized": false,
|
345 |
+
"rstrip": false,
|
346 |
+
"single_word": false,
|
347 |
+
"special": true
|
348 |
+
},
|
349 |
+
"32040": {
|
350 |
+
"content": "<|reserved_25|>",
|
351 |
+
"lstrip": false,
|
352 |
+
"normalized": false,
|
353 |
+
"rstrip": false,
|
354 |
+
"single_word": false,
|
355 |
+
"special": true
|
356 |
+
},
|
357 |
+
"32041": {
|
358 |
+
"content": "<|reserved_26|>",
|
359 |
+
"lstrip": false,
|
360 |
+
"normalized": false,
|
361 |
+
"rstrip": false,
|
362 |
+
"single_word": false,
|
363 |
+
"special": true
|
364 |
+
},
|
365 |
+
"32042": {
|
366 |
+
"content": "<|reserved_27|>",
|
367 |
+
"lstrip": false,
|
368 |
+
"normalized": false,
|
369 |
+
"rstrip": false,
|
370 |
+
"single_word": false,
|
371 |
+
"special": true
|
372 |
+
},
|
373 |
+
"32043": {
|
374 |
+
"content": "<|reserved_28|>",
|
375 |
+
"lstrip": false,
|
376 |
+
"normalized": false,
|
377 |
+
"rstrip": false,
|
378 |
+
"single_word": false,
|
379 |
+
"special": true
|
380 |
+
},
|
381 |
+
"32044": {
|
382 |
+
"content": "<|reserved_29|>",
|
383 |
+
"lstrip": false,
|
384 |
+
"normalized": false,
|
385 |
+
"rstrip": false,
|
386 |
+
"single_word": false,
|
387 |
+
"special": true
|
388 |
+
},
|
389 |
+
"32045": {
|
390 |
+
"content": "<|reserved_30|>",
|
391 |
+
"lstrip": false,
|
392 |
+
"normalized": false,
|
393 |
+
"rstrip": false,
|
394 |
+
"single_word": false,
|
395 |
+
"special": true
|
396 |
+
},
|
397 |
+
"32046": {
|
398 |
+
"content": "<|reserved_31|>",
|
399 |
+
"lstrip": false,
|
400 |
+
"normalized": false,
|
401 |
+
"rstrip": false,
|
402 |
+
"single_word": false,
|
403 |
+
"special": true
|
404 |
+
},
|
405 |
+
"32047": {
|
406 |
+
"content": "<|reserved_32|>",
|
407 |
+
"lstrip": false,
|
408 |
+
"normalized": false,
|
409 |
+
"rstrip": false,
|
410 |
+
"single_word": false,
|
411 |
+
"special": true
|
412 |
+
},
|
413 |
+
"32048": {
|
414 |
+
"content": "<|reserved_33|>",
|
415 |
+
"lstrip": false,
|
416 |
+
"normalized": false,
|
417 |
+
"rstrip": false,
|
418 |
+
"single_word": false,
|
419 |
+
"special": true
|
420 |
+
},
|
421 |
+
"32049": {
|
422 |
+
"content": "<|reserved_34|>",
|
423 |
+
"lstrip": false,
|
424 |
+
"normalized": false,
|
425 |
+
"rstrip": false,
|
426 |
+
"single_word": false,
|
427 |
+
"special": true
|
428 |
+
},
|
429 |
+
"32050": {
|
430 |
+
"content": "<|reserved_35|>",
|
431 |
+
"lstrip": false,
|
432 |
+
"normalized": false,
|
433 |
+
"rstrip": false,
|
434 |
+
"single_word": false,
|
435 |
+
"special": true
|
436 |
+
},
|
437 |
+
"32051": {
|
438 |
+
"content": "<|reserved_36|>",
|
439 |
+
"lstrip": false,
|
440 |
+
"normalized": false,
|
441 |
+
"rstrip": false,
|
442 |
+
"single_word": false,
|
443 |
+
"special": true
|
444 |
+
},
|
445 |
+
"32052": {
|
446 |
+
"content": "<|reserved_37|>",
|
447 |
+
"lstrip": false,
|
448 |
+
"normalized": false,
|
449 |
+
"rstrip": false,
|
450 |
+
"single_word": false,
|
451 |
+
"special": true
|
452 |
+
},
|
453 |
+
"32053": {
|
454 |
+
"content": "<|reserved_38|>",
|
455 |
+
"lstrip": false,
|
456 |
+
"normalized": false,
|
457 |
+
"rstrip": false,
|
458 |
+
"single_word": false,
|
459 |
+
"special": true
|
460 |
+
},
|
461 |
+
"32054": {
|
462 |
+
"content": "<|reserved_39|>",
|
463 |
+
"lstrip": false,
|
464 |
+
"normalized": false,
|
465 |
+
"rstrip": false,
|
466 |
+
"single_word": false,
|
467 |
+
"special": true
|
468 |
+
},
|
469 |
+
"32055": {
|
470 |
+
"content": "<|reserved_40|>",
|
471 |
+
"lstrip": false,
|
472 |
+
"normalized": false,
|
473 |
+
"rstrip": false,
|
474 |
+
"single_word": false,
|
475 |
+
"special": true
|
476 |
+
},
|
477 |
+
"32056": {
|
478 |
+
"content": "<|reserved_41|>",
|
479 |
+
"lstrip": false,
|
480 |
+
"normalized": false,
|
481 |
+
"rstrip": false,
|
482 |
+
"single_word": false,
|
483 |
+
"special": true
|
484 |
+
},
|
485 |
+
"32057": {
|
486 |
+
"content": "<|reserved_42|>",
|
487 |
+
"lstrip": false,
|
488 |
+
"normalized": false,
|
489 |
+
"rstrip": false,
|
490 |
+
"single_word": false,
|
491 |
+
"special": true
|
492 |
+
},
|
493 |
+
"32058": {
|
494 |
+
"content": "<|reserved_43|>",
|
495 |
+
"lstrip": false,
|
496 |
+
"normalized": false,
|
497 |
+
"rstrip": false,
|
498 |
+
"single_word": false,
|
499 |
+
"special": true
|
500 |
+
},
|
501 |
+
"32059": {
|
502 |
+
"content": "<|reserved_44|>",
|
503 |
+
"lstrip": false,
|
504 |
+
"normalized": false,
|
505 |
+
"rstrip": false,
|
506 |
+
"single_word": false,
|
507 |
+
"special": true
|
508 |
+
},
|
509 |
+
"32060": {
|
510 |
+
"content": "<|reserved_45|>",
|
511 |
+
"lstrip": false,
|
512 |
+
"normalized": false,
|
513 |
+
"rstrip": false,
|
514 |
+
"single_word": false,
|
515 |
+
"special": true
|
516 |
+
},
|
517 |
+
"32061": {
|
518 |
+
"content": "<|reserved_46|>",
|
519 |
+
"lstrip": false,
|
520 |
+
"normalized": false,
|
521 |
+
"rstrip": false,
|
522 |
+
"single_word": false,
|
523 |
+
"special": true
|
524 |
+
},
|
525 |
+
"32062": {
|
526 |
+
"content": "<|reserved_47|>",
|
527 |
+
"lstrip": false,
|
528 |
+
"normalized": false,
|
529 |
+
"rstrip": false,
|
530 |
+
"single_word": false,
|
531 |
+
"special": true
|
532 |
+
},
|
533 |
+
"32063": {
|
534 |
+
"content": "<|reserved_48|>",
|
535 |
+
"lstrip": false,
|
536 |
+
"normalized": false,
|
537 |
+
"rstrip": false,
|
538 |
+
"single_word": false,
|
539 |
+
"special": true
|
540 |
+
}
|
541 |
+
},
|
542 |
+
"additional_special_tokens": [
|
543 |
+
"<|end_of_turn|>",
|
544 |
+
"<|im_start|>",
|
545 |
+
"</s>",
|
546 |
+
"[INST]",
|
547 |
+
"[/INST]",
|
548 |
+
"<<SYS>>",
|
549 |
+
"<</SYS>>",
|
550 |
+
"<|user|>",
|
551 |
+
"<|system|>",
|
552 |
+
"<|assistant|>",
|
553 |
+
"<|begin_of_text|>",
|
554 |
+
"<|start_header_id|>",
|
555 |
+
"<|end_header_id|>",
|
556 |
+
"<|eot_id|>",
|
557 |
+
"<|reserved_0|>",
|
558 |
+
"<|reserved_1|>",
|
559 |
+
"<|reserved_2|>",
|
560 |
+
"<|reserved_3|>",
|
561 |
+
"<|reserved_4|>",
|
562 |
+
"<|reserved_5|>",
|
563 |
+
"<|reserved_6|>",
|
564 |
+
"<|reserved_7|>",
|
565 |
+
"<|reserved_8|>",
|
566 |
+
"<|reserved_9|>",
|
567 |
+
"<|reserved_10|>",
|
568 |
+
"<|reserved_11|>",
|
569 |
+
"<|reserved_12|>",
|
570 |
+
"<|reserved_13|>",
|
571 |
+
"<|reserved_14|>",
|
572 |
+
"<|reserved_15|>",
|
573 |
+
"<|reserved_16|>",
|
574 |
+
"<|reserved_17|>",
|
575 |
+
"<|reserved_18|>",
|
576 |
+
"<|reserved_19|>",
|
577 |
+
"<|reserved_20|>",
|
578 |
+
"<|reserved_21|>",
|
579 |
+
"<|reserved_22|>",
|
580 |
+
"<|reserved_23|>",
|
581 |
+
"<|reserved_24|>",
|
582 |
+
"<|reserved_25|>",
|
583 |
+
"<|reserved_26|>",
|
584 |
+
"<|reserved_27|>",
|
585 |
+
"<|reserved_28|>",
|
586 |
+
"<|reserved_29|>",
|
587 |
+
"<|reserved_30|>",
|
588 |
+
"<|reserved_31|>",
|
589 |
+
"<|reserved_32|>",
|
590 |
+
"<|reserved_33|>",
|
591 |
+
"<|reserved_34|>",
|
592 |
+
"<|reserved_35|>",
|
593 |
+
"<|reserved_36|>",
|
594 |
+
"<|reserved_37|>",
|
595 |
+
"<|reserved_38|>",
|
596 |
+
"<|reserved_39|>",
|
597 |
+
"<|reserved_40|>",
|
598 |
+
"<|reserved_41|>",
|
599 |
+
"<|reserved_42|>",
|
600 |
+
"<|reserved_43|>",
|
601 |
+
"<|reserved_44|>",
|
602 |
+
"<|reserved_45|>",
|
603 |
+
"<|reserved_46|>",
|
604 |
+
"<|reserved_47|>",
|
605 |
+
"<|reserved_48|>"
|
606 |
+
],
|
607 |
+
"bos_token": "<s>",
|
608 |
+
"clean_up_tokenization_spaces": false,
|
609 |
+
"eos_token": "<|im_end|>",
|
610 |
+
"kwargs": {
|
611 |
+
"eos_token": "<|im_end|>",
|
612 |
+
"pad_token": "<|pad|>",
|
613 |
+
"padding_side": "right"
|
614 |
+
},
|
615 |
+
"padding_side": "right",
|
616 |
+
"model_max_length": 1000000000000000019884624838656,
|
617 |
+
"pad_token": "<|pad|>",
|
618 |
+
"tokenizer_class": "LlamaTokenizer",
|
619 |
+
"unk_token": "<unk>",
|
620 |
+
"use_default_system_prompt": false,
|
621 |
+
"chat_template": "{% if messages[0]['role'] == 'user' or messages[0]['role'] == 'system' %}{{ bos_token }}{% endif %}{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% elif messages[-1]['role'] == 'assistant' %}{{ eos_token }}{% endif %}"
|
622 |
+
}
|