Training in progress, epoch 1
Browse files- README.md +125 -196
- adapter_config.json +31 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- config.json +3 -3
- special_tokens_map.json +7 -0
- tokenizer.json +3 -39
- tokenizer_config.json +4 -36
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,199 +1,128 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
[
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
##
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
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]
|
|
|
1 |
---
|
2 |
+
base_model: EleutherAI/pythia-125m-deduped
|
3 |
+
library_name: peft
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: pythia-125m-gpt4-llm-cleaned
|
10 |
+
results: []
|
11 |
---
|
12 |
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
17 |
+
<details><summary>See axolotl config</summary>
|
18 |
+
|
19 |
+
axolotl version: `0.4.1`
|
20 |
+
```yaml
|
21 |
+
base_model: EleutherAI/pythia-125m-deduped
|
22 |
+
load_in_8bit: false
|
23 |
+
datasets:
|
24 |
+
- path: teknium/GPT4-LLM-Cleaned
|
25 |
+
type: alpaca
|
26 |
+
dataset_prepared_path: ds-gpt4-llm-cleaned
|
27 |
+
val_set_size: 0.05
|
28 |
+
adapter: lora
|
29 |
+
lora_model_dir:
|
30 |
+
sequence_len: 512
|
31 |
+
lora_r: 16
|
32 |
+
lora_alpha: 32
|
33 |
+
lora_dropout: 0.05
|
34 |
+
lora_target_modules:
|
35 |
+
- query_key_value
|
36 |
+
lora_target_linear: true
|
37 |
+
lora_fan_in_fan_out: true # pythia/GPTNeoX lora specific
|
38 |
+
wandb_project:
|
39 |
+
wandb_entity:
|
40 |
+
wandb_watch:
|
41 |
+
wandb_name:
|
42 |
+
wandb_log_model:
|
43 |
+
output_dir: ./outputs/lora-alpaca-pythia-125m
|
44 |
+
gradient_accumulation_steps: 1
|
45 |
+
micro_batch_size: 4
|
46 |
+
num_epochs: 4
|
47 |
+
learning_rate: 0.00001
|
48 |
+
train_on_inputs: false
|
49 |
+
group_by_length: false
|
50 |
+
bf16: auto
|
51 |
+
tf32: false
|
52 |
+
float16: true
|
53 |
+
gpu_memory_limit: 8GiB
|
54 |
+
hub_model_id: jtatman/pythia-125m-gpt4-llm-cleaned
|
55 |
+
lora_on_cpu: false
|
56 |
+
early_stopping_patience:
|
57 |
+
resume_from_checkpoint:
|
58 |
+
local_rank:
|
59 |
+
weight_decay: 0.1
|
60 |
+
evals_per_epoch: 4
|
61 |
+
logging_steps: 1
|
62 |
+
|
63 |
+
```
|
64 |
+
|
65 |
+
</details><br>
|
66 |
+
|
67 |
+
# pythia-125m-gpt4-llm-cleaned
|
68 |
+
|
69 |
+
This model is a fine-tuned version of [EleutherAI/pythia-125m-deduped](https://huggingface.co/EleutherAI/pythia-125m-deduped) on the None dataset.
|
70 |
+
It achieves the following results on the evaluation set:
|
71 |
+
- Loss: 2.0568
|
72 |
+
|
73 |
+
## Model description
|
74 |
+
|
75 |
+
More information needed
|
76 |
+
|
77 |
+
## Intended uses & limitations
|
78 |
+
|
79 |
+
More information needed
|
80 |
+
|
81 |
+
## Training and evaluation data
|
82 |
+
|
83 |
+
More information needed
|
84 |
+
|
85 |
+
## Training procedure
|
86 |
+
|
87 |
+
### Training hyperparameters
|
88 |
+
|
89 |
+
The following hyperparameters were used during training:
|
90 |
+
- learning_rate: 1e-05
|
91 |
+
- train_batch_size: 4
|
92 |
+
- eval_batch_size: 4
|
93 |
+
- seed: 42
|
94 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
95 |
+
- lr_scheduler_type: cosine
|
96 |
+
- lr_scheduler_warmup_steps: 100
|
97 |
+
- num_epochs: 4
|
98 |
+
|
99 |
+
### Training results
|
100 |
+
|
101 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
102 |
+
|:-------------:|:------:|:-----:|:---------------:|
|
103 |
+
| 2.259 | 0.0001 | 1 | 3.3268 |
|
104 |
+
| 1.9508 | 0.25 | 3190 | 2.0963 |
|
105 |
+
| 2.0554 | 0.5 | 6380 | 2.0641 |
|
106 |
+
| 2.0165 | 0.75 | 9570 | 2.0588 |
|
107 |
+
| 1.9643 | 1.0 | 12760 | 2.0596 |
|
108 |
+
| 2.4041 | 1.25 | 15950 | 2.0576 |
|
109 |
+
| 1.7239 | 1.5 | 19140 | 2.0611 |
|
110 |
+
| 1.6508 | 1.75 | 22330 | 2.0557 |
|
111 |
+
| 1.8538 | 2.0 | 25520 | 2.0555 |
|
112 |
+
| 2.1191 | 2.25 | 28710 | 2.0586 |
|
113 |
+
| 2.4065 | 2.5 | 31900 | 2.0523 |
|
114 |
+
| 1.8175 | 2.75 | 35090 | 2.0534 |
|
115 |
+
| 2.3558 | 3.0 | 38280 | 2.0582 |
|
116 |
+
| 1.8991 | 3.25 | 41470 | 2.0544 |
|
117 |
+
| 2.1408 | 3.5 | 44660 | 2.0564 |
|
118 |
+
| 2.0138 | 3.75 | 47850 | 2.0568 |
|
119 |
+
| 2.0097 | 4.0 | 51040 | 2.0568 |
|
120 |
+
|
121 |
+
|
122 |
+
### Framework versions
|
123 |
+
|
124 |
+
- PEFT 0.11.1
|
125 |
+
- Transformers 4.41.2
|
126 |
+
- Pytorch 2.3.0+cu121
|
127 |
+
- Datasets 2.19.1
|
128 |
+
- Tokenizers 0.19.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "EleutherAI/pythia-125m-deduped",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 32,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 16,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"dense_4h_to_h",
|
24 |
+
"dense_h_to_4h",
|
25 |
+
"dense",
|
26 |
+
"query_key_value"
|
27 |
+
],
|
28 |
+
"task_type": "CAUSAL_LM",
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27fdaaffbf279dd59a0613e08941539808cdafbc48b6e04ec2db82537d683f7d
|
3 |
+
size 4753742
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04ec18f7c2cb0c2601af6567f87c06c942989cb7817bd8d5c5b9781b7a0ac27f
|
3 |
+
size 4731832
|
config.json
CHANGED
@@ -22,9 +22,9 @@
|
|
22 |
"rotary_emb_base": 10000,
|
23 |
"rotary_pct": 0.25,
|
24 |
"tie_word_embeddings": false,
|
25 |
-
"torch_dtype": "
|
26 |
"transformers_version": "4.41.2",
|
27 |
-
"use_cache":
|
28 |
"use_parallel_residual": true,
|
29 |
-
"vocab_size":
|
30 |
}
|
|
|
22 |
"rotary_emb_base": 10000,
|
23 |
"rotary_pct": 0.25,
|
24 |
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "float16",
|
26 |
"transformers_version": "4.41.2",
|
27 |
+
"use_cache": false,
|
28 |
"use_parallel_residual": true,
|
29 |
+
"vocab_size": 50304
|
30 |
}
|
special_tokens_map.json
CHANGED
@@ -13,6 +13,13 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"unk_token": {
|
17 |
"content": "<|endoftext|>",
|
18 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
"unk_token": {
|
24 |
"content": "<|endoftext|>",
|
25 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -230,48 +230,12 @@
|
|
230 |
},
|
231 |
{
|
232 |
"id": 50277,
|
233 |
-
"content": "
|
234 |
"single_word": false,
|
235 |
"lstrip": false,
|
236 |
"rstrip": false,
|
237 |
-
"normalized":
|
238 |
-
"special":
|
239 |
-
},
|
240 |
-
{
|
241 |
-
"id": 50278,
|
242 |
-
"content": "<|im_end|>",
|
243 |
-
"single_word": false,
|
244 |
-
"lstrip": false,
|
245 |
-
"rstrip": false,
|
246 |
-
"normalized": true,
|
247 |
-
"special": false
|
248 |
-
},
|
249 |
-
{
|
250 |
-
"id": 50279,
|
251 |
-
"content": "<s>",
|
252 |
-
"single_word": false,
|
253 |
-
"lstrip": false,
|
254 |
-
"rstrip": false,
|
255 |
-
"normalized": true,
|
256 |
-
"special": false
|
257 |
-
},
|
258 |
-
{
|
259 |
-
"id": 50280,
|
260 |
-
"content": "</s>",
|
261 |
-
"single_word": false,
|
262 |
-
"lstrip": false,
|
263 |
-
"rstrip": false,
|
264 |
-
"normalized": true,
|
265 |
-
"special": false
|
266 |
-
},
|
267 |
-
{
|
268 |
-
"id": 50281,
|
269 |
-
"content": "<|end_of_text|>",
|
270 |
-
"single_word": false,
|
271 |
-
"lstrip": false,
|
272 |
-
"rstrip": false,
|
273 |
-
"normalized": true,
|
274 |
-
"special": false
|
275 |
}
|
276 |
],
|
277 |
"normalizer": {
|
|
|
230 |
},
|
231 |
{
|
232 |
"id": 50277,
|
233 |
+
"content": "[PAD]",
|
234 |
"single_word": false,
|
235 |
"lstrip": false,
|
236 |
"rstrip": false,
|
237 |
+
"normalized": false,
|
238 |
+
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
}
|
240 |
],
|
241 |
"normalizer": {
|
tokenizer_config.json
CHANGED
@@ -204,51 +204,19 @@
|
|
204 |
"special": false
|
205 |
},
|
206 |
"50277": {
|
207 |
-
"content": "
|
208 |
"lstrip": false,
|
209 |
-
"normalized":
|
210 |
-
"rstrip": false,
|
211 |
-
"single_word": false,
|
212 |
-
"special": false
|
213 |
-
},
|
214 |
-
"50278": {
|
215 |
-
"content": "<|im_end|>",
|
216 |
-
"lstrip": false,
|
217 |
-
"normalized": true,
|
218 |
-
"rstrip": false,
|
219 |
-
"single_word": false,
|
220 |
-
"special": false
|
221 |
-
},
|
222 |
-
"50279": {
|
223 |
-
"content": "<s>",
|
224 |
-
"lstrip": false,
|
225 |
-
"normalized": true,
|
226 |
-
"rstrip": false,
|
227 |
-
"single_word": false,
|
228 |
-
"special": false
|
229 |
-
},
|
230 |
-
"50280": {
|
231 |
-
"content": "</s>",
|
232 |
-
"lstrip": false,
|
233 |
-
"normalized": true,
|
234 |
-
"rstrip": false,
|
235 |
-
"single_word": false,
|
236 |
-
"special": false
|
237 |
-
},
|
238 |
-
"50281": {
|
239 |
-
"content": "<|end_of_text|>",
|
240 |
-
"lstrip": false,
|
241 |
-
"normalized": true,
|
242 |
"rstrip": false,
|
243 |
"single_word": false,
|
244 |
-
"special":
|
245 |
}
|
246 |
},
|
247 |
"bos_token": "<|endoftext|>",
|
248 |
"clean_up_tokenization_spaces": true,
|
249 |
"eos_token": "<|endoftext|>",
|
250 |
"model_max_length": 1000000000000000019884624838656,
|
251 |
-
"pad_token":
|
252 |
"tokenizer_class": "GPTNeoXTokenizer",
|
253 |
"unk_token": "<|endoftext|>"
|
254 |
}
|
|
|
204 |
"special": false
|
205 |
},
|
206 |
"50277": {
|
207 |
+
"content": "[PAD]",
|
208 |
"lstrip": false,
|
209 |
+
"normalized": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
"rstrip": false,
|
211 |
"single_word": false,
|
212 |
+
"special": true
|
213 |
}
|
214 |
},
|
215 |
"bos_token": "<|endoftext|>",
|
216 |
"clean_up_tokenization_spaces": true,
|
217 |
"eos_token": "<|endoftext|>",
|
218 |
"model_max_length": 1000000000000000019884624838656,
|
219 |
+
"pad_token": "[PAD]",
|
220 |
"tokenizer_class": "GPTNeoXTokenizer",
|
221 |
"unk_token": "<|endoftext|>"
|
222 |
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f326ca588d897b548cfefa47489cc88d073c73b01b47aedf661c8254dbf6d80
|
3 |
+
size 6008
|