Upload folder using huggingface_hub
Browse files- README.md +40 -0
- adapter_config.json +23 -0
- adapter_model.safetensors +3 -0
- checkpoint-300/README.md +239 -0
- checkpoint-300/adapter_config.json +23 -0
- checkpoint-300/adapter_model.bin +3 -0
- checkpoint-300/adapter_model.safetensors +3 -0
- checkpoint-300/optimizer.pt +3 -0
- checkpoint-300/pytorch_model.bin +3 -0
- checkpoint-300/rng_state.pth +3 -0
- checkpoint-300/scheduler.pt +3 -0
- checkpoint-300/special_tokens_map.json +24 -0
- checkpoint-300/tokenizer.json +0 -0
- checkpoint-300/tokenizer.model +3 -0
- checkpoint-300/tokenizer_config.json +40 -0
- checkpoint-300/trainer_state.json +379 -0
- checkpoint-300/training_args.bin +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +40 -0
- training_args.bin +3 -0
- training_params.json +1 -0
README.md
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- text-generation
|
5 |
+
widget:
|
6 |
+
- text: "I love AutoTrain because "
|
7 |
+
license: other
|
8 |
+
---
|
9 |
+
|
10 |
+
# Model Trained Using AutoTrain
|
11 |
+
|
12 |
+
This model was trained using AutoTrain. For more information, please visit [AutoTrain](https://hf.co/docs/autotrain).
|
13 |
+
|
14 |
+
# Usage
|
15 |
+
|
16 |
+
```python
|
17 |
+
|
18 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
19 |
+
|
20 |
+
model_path = "PATH_TO_THIS_REPO"
|
21 |
+
|
22 |
+
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
23 |
+
model = AutoModelForCausalLM.from_pretrained(
|
24 |
+
model_path,
|
25 |
+
device_map="auto",
|
26 |
+
torch_dtype='auto'
|
27 |
+
).eval()
|
28 |
+
|
29 |
+
# Prompt content: "hi"
|
30 |
+
messages = [
|
31 |
+
{"role": "user", "content": "hi"}
|
32 |
+
]
|
33 |
+
|
34 |
+
input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
|
35 |
+
output_ids = model.generate(input_ids.to('cuda'))
|
36 |
+
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)
|
37 |
+
|
38 |
+
# Model response: "Hello! How can I assist you today?"
|
39 |
+
print(response)
|
40 |
+
```
|
adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 32,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 16,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"v_proj",
|
20 |
+
"q_proj"
|
21 |
+
],
|
22 |
+
"task_type": "CAUSAL_LM"
|
23 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52d386bbf65cd7fc8ae38f9104b6ac6f4a1af2b76bddbe6de19e7f62f858ccb2
|
3 |
+
size 33571624
|
checkpoint-300/README.md
ADDED
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: meta-llama/Llama-2-7b-chat-hf
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
|
201 |
+
|
202 |
+
## Training procedure
|
203 |
+
|
204 |
+
|
205 |
+
The following `bitsandbytes` quantization config was used during training:
|
206 |
+
- quant_method: bitsandbytes
|
207 |
+
- load_in_8bit: False
|
208 |
+
- load_in_4bit: True
|
209 |
+
- llm_int8_threshold: 6.0
|
210 |
+
- llm_int8_skip_modules: None
|
211 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
212 |
+
- llm_int8_has_fp16_weight: False
|
213 |
+
- bnb_4bit_quant_type: nf4
|
214 |
+
- bnb_4bit_use_double_quant: False
|
215 |
+
- bnb_4bit_compute_dtype: float16
|
216 |
+
|
217 |
+
### Framework versions
|
218 |
+
|
219 |
+
|
220 |
+
- PEFT 0.6.2
|
221 |
+
## Training procedure
|
222 |
+
|
223 |
+
|
224 |
+
The following `bitsandbytes` quantization config was used during training:
|
225 |
+
- quant_method: bitsandbytes
|
226 |
+
- load_in_8bit: False
|
227 |
+
- load_in_4bit: True
|
228 |
+
- llm_int8_threshold: 6.0
|
229 |
+
- llm_int8_skip_modules: None
|
230 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
231 |
+
- llm_int8_has_fp16_weight: False
|
232 |
+
- bnb_4bit_quant_type: nf4
|
233 |
+
- bnb_4bit_use_double_quant: False
|
234 |
+
- bnb_4bit_compute_dtype: float16
|
235 |
+
|
236 |
+
### Framework versions
|
237 |
+
|
238 |
+
|
239 |
+
- PEFT 0.6.2
|
checkpoint-300/adapter_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 32,
|
12 |
+
"lora_dropout": 0.05,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 16,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"v_proj",
|
20 |
+
"q_proj"
|
21 |
+
],
|
22 |
+
"task_type": "CAUSAL_LM"
|
23 |
+
}
|
checkpoint-300/adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8873b8cced31fd7d46328e604227bf06bcafbf0c9b10ad23b36e92a52592735f
|
3 |
+
size 33600906
|
checkpoint-300/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52d386bbf65cd7fc8ae38f9104b6ac6f4a1af2b76bddbe6de19e7f62f858ccb2
|
3 |
+
size 33571624
|
checkpoint-300/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6484bf2dd28bae99ebe3a4dbc580cb338d5e35f9ea61e9fe51d8e924b960ddff
|
3 |
+
size 67217018
|
checkpoint-300/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:049c26b844b79121ddd8379f7f69194e63f6fbf6aa007eeac0c66f17eebb8893
|
3 |
+
size 888
|
checkpoint-300/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:853de8db7ccf4cf5bf6a28ed1c0840cbedda2a28e1f7a7f3f4b6a4447436a2e4
|
3 |
+
size 14244
|
checkpoint-300/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74485e67705dc36efbfb69b1e54f842e1ff07894d01bb0e36d6d2526a318b300
|
3 |
+
size 1064
|
checkpoint-300/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint-300/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-300/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
checkpoint-300/tokenizer_config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"bos_token": "<s>",
|
29 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
|
30 |
+
"clean_up_tokenization_spaces": false,
|
31 |
+
"eos_token": "</s>",
|
32 |
+
"legacy": false,
|
33 |
+
"model_max_length": 2048,
|
34 |
+
"pad_token": "</s>",
|
35 |
+
"padding_side": "right",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"tokenizer_class": "LlamaTokenizer",
|
38 |
+
"unk_token": "<unk>",
|
39 |
+
"use_default_system_prompt": false
|
40 |
+
}
|
checkpoint-300/trainer_state.json
ADDED
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 300,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.17,
|
13 |
+
"learning_rate": 3.3333333333333335e-05,
|
14 |
+
"loss": 1.7986,
|
15 |
+
"step": 5
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.33,
|
19 |
+
"learning_rate": 6.666666666666667e-05,
|
20 |
+
"loss": 1.7168,
|
21 |
+
"step": 10
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.5,
|
25 |
+
"learning_rate": 0.0001,
|
26 |
+
"loss": 1.5396,
|
27 |
+
"step": 15
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.67,
|
31 |
+
"learning_rate": 0.00013333333333333334,
|
32 |
+
"loss": 1.3086,
|
33 |
+
"step": 20
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.83,
|
37 |
+
"learning_rate": 0.0001666666666666667,
|
38 |
+
"loss": 1.2006,
|
39 |
+
"step": 25
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.0,
|
43 |
+
"learning_rate": 0.0002,
|
44 |
+
"loss": 1.0325,
|
45 |
+
"step": 30
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 1.17,
|
49 |
+
"learning_rate": 0.0001962962962962963,
|
50 |
+
"loss": 0.7119,
|
51 |
+
"step": 35
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.33,
|
55 |
+
"learning_rate": 0.0001925925925925926,
|
56 |
+
"loss": 0.5542,
|
57 |
+
"step": 40
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 1.5,
|
61 |
+
"learning_rate": 0.00018888888888888888,
|
62 |
+
"loss": 0.4816,
|
63 |
+
"step": 45
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 1.67,
|
67 |
+
"learning_rate": 0.0001851851851851852,
|
68 |
+
"loss": 0.474,
|
69 |
+
"step": 50
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 1.83,
|
73 |
+
"learning_rate": 0.0001814814814814815,
|
74 |
+
"loss": 0.3895,
|
75 |
+
"step": 55
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 2.0,
|
79 |
+
"learning_rate": 0.00017777777777777779,
|
80 |
+
"loss": 0.4059,
|
81 |
+
"step": 60
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 2.17,
|
85 |
+
"learning_rate": 0.00017407407407407408,
|
86 |
+
"loss": 0.3655,
|
87 |
+
"step": 65
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 2.33,
|
91 |
+
"learning_rate": 0.00017037037037037037,
|
92 |
+
"loss": 0.3987,
|
93 |
+
"step": 70
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 2.5,
|
97 |
+
"learning_rate": 0.0001666666666666667,
|
98 |
+
"loss": 0.3272,
|
99 |
+
"step": 75
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 2.67,
|
103 |
+
"learning_rate": 0.00016296296296296295,
|
104 |
+
"loss": 0.3369,
|
105 |
+
"step": 80
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 2.83,
|
109 |
+
"learning_rate": 0.00015925925925925927,
|
110 |
+
"loss": 0.3299,
|
111 |
+
"step": 85
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 3.0,
|
115 |
+
"learning_rate": 0.00015555555555555556,
|
116 |
+
"loss": 0.3471,
|
117 |
+
"step": 90
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 3.17,
|
121 |
+
"learning_rate": 0.00015185185185185185,
|
122 |
+
"loss": 0.2934,
|
123 |
+
"step": 95
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 3.33,
|
127 |
+
"learning_rate": 0.00014814814814814815,
|
128 |
+
"loss": 0.2959,
|
129 |
+
"step": 100
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 3.5,
|
133 |
+
"learning_rate": 0.00014444444444444444,
|
134 |
+
"loss": 0.3301,
|
135 |
+
"step": 105
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 3.67,
|
139 |
+
"learning_rate": 0.00014074074074074076,
|
140 |
+
"loss": 0.3071,
|
141 |
+
"step": 110
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 3.83,
|
145 |
+
"learning_rate": 0.00013703703703703705,
|
146 |
+
"loss": 0.3015,
|
147 |
+
"step": 115
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 4.0,
|
151 |
+
"learning_rate": 0.00013333333333333334,
|
152 |
+
"loss": 0.2972,
|
153 |
+
"step": 120
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 4.17,
|
157 |
+
"learning_rate": 0.00012962962962962963,
|
158 |
+
"loss": 0.2933,
|
159 |
+
"step": 125
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 4.33,
|
163 |
+
"learning_rate": 0.00012592592592592592,
|
164 |
+
"loss": 0.1962,
|
165 |
+
"step": 130
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 4.5,
|
169 |
+
"learning_rate": 0.00012222222222222224,
|
170 |
+
"loss": 0.2527,
|
171 |
+
"step": 135
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 4.67,
|
175 |
+
"learning_rate": 0.00011851851851851852,
|
176 |
+
"loss": 0.2596,
|
177 |
+
"step": 140
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 4.83,
|
181 |
+
"learning_rate": 0.00011481481481481482,
|
182 |
+
"loss": 0.2791,
|
183 |
+
"step": 145
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 5.0,
|
187 |
+
"learning_rate": 0.00011111111111111112,
|
188 |
+
"loss": 0.2644,
|
189 |
+
"step": 150
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 5.17,
|
193 |
+
"learning_rate": 0.00010740740740740742,
|
194 |
+
"loss": 0.2012,
|
195 |
+
"step": 155
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 5.33,
|
199 |
+
"learning_rate": 0.0001037037037037037,
|
200 |
+
"loss": 0.193,
|
201 |
+
"step": 160
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 5.5,
|
205 |
+
"learning_rate": 0.0001,
|
206 |
+
"loss": 0.2074,
|
207 |
+
"step": 165
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 5.67,
|
211 |
+
"learning_rate": 9.62962962962963e-05,
|
212 |
+
"loss": 0.2098,
|
213 |
+
"step": 170
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 5.83,
|
217 |
+
"learning_rate": 9.25925925925926e-05,
|
218 |
+
"loss": 0.2224,
|
219 |
+
"step": 175
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 6.0,
|
223 |
+
"learning_rate": 8.888888888888889e-05,
|
224 |
+
"loss": 0.1971,
|
225 |
+
"step": 180
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 6.17,
|
229 |
+
"learning_rate": 8.518518518518518e-05,
|
230 |
+
"loss": 0.1804,
|
231 |
+
"step": 185
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"epoch": 6.33,
|
235 |
+
"learning_rate": 8.148148148148148e-05,
|
236 |
+
"loss": 0.17,
|
237 |
+
"step": 190
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 6.5,
|
241 |
+
"learning_rate": 7.777777777777778e-05,
|
242 |
+
"loss": 0.1389,
|
243 |
+
"step": 195
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"epoch": 6.67,
|
247 |
+
"learning_rate": 7.407407407407407e-05,
|
248 |
+
"loss": 0.1543,
|
249 |
+
"step": 200
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 6.83,
|
253 |
+
"learning_rate": 7.037037037037038e-05,
|
254 |
+
"loss": 0.1654,
|
255 |
+
"step": 205
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 7.0,
|
259 |
+
"learning_rate": 6.666666666666667e-05,
|
260 |
+
"loss": 0.1675,
|
261 |
+
"step": 210
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 7.17,
|
265 |
+
"learning_rate": 6.296296296296296e-05,
|
266 |
+
"loss": 0.1326,
|
267 |
+
"step": 215
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 7.33,
|
271 |
+
"learning_rate": 5.925925925925926e-05,
|
272 |
+
"loss": 0.1263,
|
273 |
+
"step": 220
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 7.5,
|
277 |
+
"learning_rate": 5.555555555555556e-05,
|
278 |
+
"loss": 0.1319,
|
279 |
+
"step": 225
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 7.67,
|
283 |
+
"learning_rate": 5.185185185185185e-05,
|
284 |
+
"loss": 0.1226,
|
285 |
+
"step": 230
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 7.83,
|
289 |
+
"learning_rate": 4.814814814814815e-05,
|
290 |
+
"loss": 0.134,
|
291 |
+
"step": 235
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 8.0,
|
295 |
+
"learning_rate": 4.4444444444444447e-05,
|
296 |
+
"loss": 0.1112,
|
297 |
+
"step": 240
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 8.17,
|
301 |
+
"learning_rate": 4.074074074074074e-05,
|
302 |
+
"loss": 0.0951,
|
303 |
+
"step": 245
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 8.33,
|
307 |
+
"learning_rate": 3.7037037037037037e-05,
|
308 |
+
"loss": 0.089,
|
309 |
+
"step": 250
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"epoch": 8.5,
|
313 |
+
"learning_rate": 3.3333333333333335e-05,
|
314 |
+
"loss": 0.1044,
|
315 |
+
"step": 255
|
316 |
+
},
|
317 |
+
{
|
318 |
+
"epoch": 8.67,
|
319 |
+
"learning_rate": 2.962962962962963e-05,
|
320 |
+
"loss": 0.0994,
|
321 |
+
"step": 260
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 8.83,
|
325 |
+
"learning_rate": 2.5925925925925925e-05,
|
326 |
+
"loss": 0.0868,
|
327 |
+
"step": 265
|
328 |
+
},
|
329 |
+
{
|
330 |
+
"epoch": 9.0,
|
331 |
+
"learning_rate": 2.2222222222222223e-05,
|
332 |
+
"loss": 0.1208,
|
333 |
+
"step": 270
|
334 |
+
},
|
335 |
+
{
|
336 |
+
"epoch": 9.17,
|
337 |
+
"learning_rate": 1.8518518518518518e-05,
|
338 |
+
"loss": 0.0701,
|
339 |
+
"step": 275
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 9.33,
|
343 |
+
"learning_rate": 1.4814814814814815e-05,
|
344 |
+
"loss": 0.0901,
|
345 |
+
"step": 280
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 9.5,
|
349 |
+
"learning_rate": 1.1111111111111112e-05,
|
350 |
+
"loss": 0.0865,
|
351 |
+
"step": 285
|
352 |
+
},
|
353 |
+
{
|
354 |
+
"epoch": 9.67,
|
355 |
+
"learning_rate": 7.4074074074074075e-06,
|
356 |
+
"loss": 0.0762,
|
357 |
+
"step": 290
|
358 |
+
},
|
359 |
+
{
|
360 |
+
"epoch": 9.83,
|
361 |
+
"learning_rate": 3.7037037037037037e-06,
|
362 |
+
"loss": 0.0871,
|
363 |
+
"step": 295
|
364 |
+
},
|
365 |
+
{
|
366 |
+
"epoch": 10.0,
|
367 |
+
"learning_rate": 0.0,
|
368 |
+
"loss": 0.0703,
|
369 |
+
"step": 300
|
370 |
+
}
|
371 |
+
],
|
372 |
+
"logging_steps": 5,
|
373 |
+
"max_steps": 300,
|
374 |
+
"num_train_epochs": 10,
|
375 |
+
"save_steps": 500,
|
376 |
+
"total_flos": 2.398176468271104e+16,
|
377 |
+
"trial_name": null,
|
378 |
+
"trial_params": null
|
379 |
+
}
|
checkpoint-300/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4cc16138acdc48389583656c749fe34015d18b8176e7fbdd7ea0c8779a473b08
|
3 |
+
size 4600
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
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:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"bos_token": "<s>",
|
29 |
+
"chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
|
30 |
+
"clean_up_tokenization_spaces": false,
|
31 |
+
"eos_token": "</s>",
|
32 |
+
"legacy": false,
|
33 |
+
"model_max_length": 2048,
|
34 |
+
"pad_token": "</s>",
|
35 |
+
"padding_side": "right",
|
36 |
+
"sp_model_kwargs": {},
|
37 |
+
"tokenizer_class": "LlamaTokenizer",
|
38 |
+
"unk_token": "<unk>",
|
39 |
+
"use_default_system_prompt": false
|
40 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4cc16138acdc48389583656c749fe34015d18b8176e7fbdd7ea0c8779a473b08
|
3 |
+
size 4600
|
training_params.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"model": "meta-llama/Llama-2-7b-chat-hf", "data_path": "nyanxyz/autotrain-data-fill-in-the-blank-p7-l20-e10", "project_name": "/tmp/model", "train_split": "train", "valid_split": null, "text_column": "autotrain_text", "rejected_text_column": "autotrain_rejected_text", "lr": 0.0002, "epochs": 10, "batch_size": 2, "warmup_ratio": 0.1, "gradient_accumulation": 1, "optimizer": "adamw_torch", "scheduler": "linear", "weight_decay": 0.0, "max_grad_norm": 1.0, "seed": 42, "add_eos_token": true, "block_size": 1024, "use_peft": true, "lora_r": 16, "lora_alpha": 32, "lora_dropout": 0.05, "logging_steps": -1, "evaluation_strategy": "epoch", "save_total_limit": 1, "save_strategy": "epoch", "auto_find_batch_size": false, "fp16": true, "push_to_hub": true, "use_int8": false, "model_max_length": 2048, "repo_id": "nyanxyz/fill-in-the-blank-p7-l20-e10-0", "use_int4": true, "trainer": "default", "target_modules": "", "merge_adapter": false, "username": "nyanxyz", "use_flash_attention_2": false, "log": "none", "disable_gradient_checkpointing": false, "model_ref": null, "dpo_beta": 0.1, "prompt_text_column": "autotrain_prompt"}
|