End of training
Browse files- README.md +149 -0
- adapter_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: llama3.2
|
4 |
+
base_model: unsloth/Llama-3.2-1B-Instruct
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: tuning-miner-testbed-2
|
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/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
17 |
+
<details><summary>See axolotl config</summary>
|
18 |
+
|
19 |
+
axolotl version: `0.4.1`
|
20 |
+
```yaml
|
21 |
+
adapter: lora
|
22 |
+
base_model: unsloth/Llama-3.2-1B-Instruct
|
23 |
+
bf16: auto
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
dataset_processes: 12
|
27 |
+
datasets:
|
28 |
+
- data_files:
|
29 |
+
- /workspace/axolotl/data/2.json
|
30 |
+
ds_type: json
|
31 |
+
path: /workspace/axolotl/data/2.json
|
32 |
+
type:
|
33 |
+
field_input: problem
|
34 |
+
field_instruction: type
|
35 |
+
field_output: solution
|
36 |
+
system_format: '{system}'
|
37 |
+
system_prompt: ''
|
38 |
+
debug: null
|
39 |
+
deepspeed: null
|
40 |
+
early_stopping_patience: null
|
41 |
+
eval_max_new_tokens: 512
|
42 |
+
eval_table_size: null
|
43 |
+
evals_per_epoch: 2
|
44 |
+
flash_attention: true
|
45 |
+
fp16: null
|
46 |
+
fsdp: null
|
47 |
+
fsdp_config: null
|
48 |
+
gradient_accumulation_steps: 4
|
49 |
+
gradient_checkpointing: true
|
50 |
+
group_by_length: false
|
51 |
+
hub_model_id: ncbateman/tuning-miner-testbed-2
|
52 |
+
hub_strategy: checkpoint
|
53 |
+
hub_token: null
|
54 |
+
learning_rate: 0.0001
|
55 |
+
load_in_4bit: false
|
56 |
+
load_in_8bit: true
|
57 |
+
local_rank: null
|
58 |
+
logging_steps: 1
|
59 |
+
lora_alpha: 32
|
60 |
+
lora_dropout: 0.05
|
61 |
+
lora_fan_in_fan_out: null
|
62 |
+
lora_model_dir: null
|
63 |
+
lora_r: 16
|
64 |
+
lora_target_linear: true
|
65 |
+
lr_scheduler: cosine
|
66 |
+
max_steps: 5
|
67 |
+
micro_batch_size: 4
|
68 |
+
mlflow_experiment_name: https://5a301a635a9d0ac3cb7fcc3bf373c3c3.r2.cloudflarestorage.com/tuning/lighteval/MATH-Hard_train_data.json?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=d49fdd0cc9750a097b58ba35b2d9fbed%2F20241023%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241023T143154Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=4a7c1dcd761dd78a44d40f4535772b806d1b658d16321165e31f5e9b75617896
|
69 |
+
model_type: LlamaForCausalLM
|
70 |
+
num_epochs: 5
|
71 |
+
optimizer: adamw_bnb_8bit
|
72 |
+
output_dir: miner_id_24
|
73 |
+
pad_to_sequence_len: true
|
74 |
+
resume_from_checkpoint: null
|
75 |
+
s2_attention: null
|
76 |
+
sample_packing: false
|
77 |
+
save_steps: 20
|
78 |
+
save_strategy: steps
|
79 |
+
sequence_len: 4096
|
80 |
+
strict: false
|
81 |
+
tf32: false
|
82 |
+
tokenizer_type: AutoTokenizer
|
83 |
+
train_on_inputs: false
|
84 |
+
val_set_size: 0.05
|
85 |
+
wandb_entity: breakfasthut
|
86 |
+
wandb_mode: online
|
87 |
+
wandb_project: tuning-miner
|
88 |
+
wandb_run: miner
|
89 |
+
wandb_runid: '2'
|
90 |
+
warmup_steps: 50
|
91 |
+
weight_decay: 0.0
|
92 |
+
xformers_attention: null
|
93 |
+
|
94 |
+
```
|
95 |
+
|
96 |
+
</details><br>
|
97 |
+
|
98 |
+
# tuning-miner-testbed-2
|
99 |
+
|
100 |
+
This model is a fine-tuned version of [unsloth/Llama-3.2-1B-Instruct](https://huggingface.co/unsloth/Llama-3.2-1B-Instruct) on the None dataset.
|
101 |
+
It achieves the following results on the evaluation set:
|
102 |
+
- Loss: 0.9767
|
103 |
+
|
104 |
+
## Model description
|
105 |
+
|
106 |
+
More information needed
|
107 |
+
|
108 |
+
## Intended uses & limitations
|
109 |
+
|
110 |
+
More information needed
|
111 |
+
|
112 |
+
## Training and evaluation data
|
113 |
+
|
114 |
+
More information needed
|
115 |
+
|
116 |
+
## Training procedure
|
117 |
+
|
118 |
+
### Training hyperparameters
|
119 |
+
|
120 |
+
The following hyperparameters were used during training:
|
121 |
+
- learning_rate: 0.0001
|
122 |
+
- train_batch_size: 4
|
123 |
+
- eval_batch_size: 4
|
124 |
+
- seed: 42
|
125 |
+
- gradient_accumulation_steps: 4
|
126 |
+
- total_train_batch_size: 16
|
127 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
128 |
+
- lr_scheduler_type: cosine
|
129 |
+
- lr_scheduler_warmup_steps: 50
|
130 |
+
- training_steps: 5
|
131 |
+
|
132 |
+
### Training results
|
133 |
+
|
134 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
135 |
+
|:-------------:|:------:|:----:|:---------------:|
|
136 |
+
| 0.9479 | 0.0048 | 1 | 0.9769 |
|
137 |
+
| 0.825 | 0.0095 | 2 | 0.9767 |
|
138 |
+
| 0.8523 | 0.0143 | 3 | 0.9762 |
|
139 |
+
| 1.0266 | 0.0191 | 4 | 0.9776 |
|
140 |
+
| 0.8384 | 0.0239 | 5 | 0.9767 |
|
141 |
+
|
142 |
+
|
143 |
+
### Framework versions
|
144 |
+
|
145 |
+
- PEFT 0.13.2
|
146 |
+
- Transformers 4.45.2
|
147 |
+
- Pytorch 2.3.1+cu121
|
148 |
+
- Datasets 3.0.1
|
149 |
+
- Tokenizers 0.20.1
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db0d8e1b807b161c9440b60193003a8cfa7ea9ffc3e421e797a7658fcf368a0f
|
3 |
+
size 45169354
|