End of training
Browse files- README.md +157 -0
- adapter_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-ad9b0fa2-323a-4d04-be5e-1304b49c48da
|
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/ad9b0fa2-323a-4d04-be5e-1304b49c48da.json
|
30 |
+
ds_type: json
|
31 |
+
path: /workspace/axolotl/data/ad9b0fa2-323a-4d04-be5e-1304b49c48da.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-ad9b0fa2-323a-4d04-be5e-1304b49c48da
|
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 |
+
micro_batch_size: 4
|
67 |
+
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%2F20241024%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241024T015513Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0879a56693622d0d57a6f707ace9e2a5e73d3647c1a227a4016e3e4011effe25
|
68 |
+
model_type: LlamaForCausalLM
|
69 |
+
num_epochs: 5
|
70 |
+
optimizer: adamw_bnb_8bit
|
71 |
+
output_dir: miner_id_24
|
72 |
+
pad_to_sequence_len: true
|
73 |
+
resume_from_checkpoint: null
|
74 |
+
s2_attention: null
|
75 |
+
sample_packing: false
|
76 |
+
save_steps: 20
|
77 |
+
save_strategy: steps
|
78 |
+
sequence_len: 4096
|
79 |
+
strict: false
|
80 |
+
tf32: false
|
81 |
+
tokenizer_type: AutoTokenizer
|
82 |
+
train_on_inputs: false
|
83 |
+
val_set_size: 0.05
|
84 |
+
wandb_entity: breakfasthut
|
85 |
+
wandb_mode: online
|
86 |
+
wandb_project: tuning-miner
|
87 |
+
wandb_run: miner
|
88 |
+
wandb_runid: ad9b0fa2-323a-4d04-be5e-1304b49c48da
|
89 |
+
warmup_steps: 50
|
90 |
+
weight_decay: 0.0
|
91 |
+
xformers_attention: null
|
92 |
+
|
93 |
+
```
|
94 |
+
|
95 |
+
</details><br>
|
96 |
+
|
97 |
+
# tuning-miner-testbed-ad9b0fa2-323a-4d04-be5e-1304b49c48da
|
98 |
+
|
99 |
+
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.
|
100 |
+
It achieves the following results on the evaluation set:
|
101 |
+
- Loss: 0.7753
|
102 |
+
|
103 |
+
## Model description
|
104 |
+
|
105 |
+
More information needed
|
106 |
+
|
107 |
+
## Intended uses & limitations
|
108 |
+
|
109 |
+
More information needed
|
110 |
+
|
111 |
+
## Training and evaluation data
|
112 |
+
|
113 |
+
More information needed
|
114 |
+
|
115 |
+
## Training procedure
|
116 |
+
|
117 |
+
### Training hyperparameters
|
118 |
+
|
119 |
+
The following hyperparameters were used during training:
|
120 |
+
- learning_rate: 0.0001
|
121 |
+
- train_batch_size: 4
|
122 |
+
- eval_batch_size: 4
|
123 |
+
- seed: 42
|
124 |
+
- distributed_type: multi-GPU
|
125 |
+
- num_devices: 2
|
126 |
+
- gradient_accumulation_steps: 4
|
127 |
+
- total_train_batch_size: 32
|
128 |
+
- total_eval_batch_size: 8
|
129 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
130 |
+
- lr_scheduler_type: cosine
|
131 |
+
- lr_scheduler_warmup_steps: 50
|
132 |
+
- num_epochs: 5
|
133 |
+
|
134 |
+
### Training results
|
135 |
+
|
136 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
137 |
+
|:-------------:|:------:|:----:|:---------------:|
|
138 |
+
| 0.8864 | 0.0095 | 1 | 0.9756 |
|
139 |
+
| 0.8585 | 0.4964 | 52 | 0.8117 |
|
140 |
+
| 0.7169 | 0.9928 | 104 | 0.7860 |
|
141 |
+
| 0.7558 | 1.4893 | 156 | 0.7723 |
|
142 |
+
| 0.7814 | 1.9857 | 208 | 0.7655 |
|
143 |
+
| 0.6849 | 2.4821 | 260 | 0.7670 |
|
144 |
+
| 0.7456 | 2.9785 | 312 | 0.7646 |
|
145 |
+
| 0.6037 | 3.4749 | 364 | 0.7706 |
|
146 |
+
| 0.6335 | 3.9714 | 416 | 0.7703 |
|
147 |
+
| 0.5835 | 4.4678 | 468 | 0.7749 |
|
148 |
+
| 0.7157 | 4.9642 | 520 | 0.7753 |
|
149 |
+
|
150 |
+
|
151 |
+
### Framework versions
|
152 |
+
|
153 |
+
- PEFT 0.13.2
|
154 |
+
- Transformers 4.45.2
|
155 |
+
- Pytorch 2.3.1+cu121
|
156 |
+
- Datasets 3.0.1
|
157 |
+
- Tokenizers 0.20.1
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac5c4ec658fa551e5d8107edb08f67a4714f6f654e2087f49ba1a156680ab22c
|
3 |
+
size 45169354
|