End of training
Browse files- README.md +151 -0
- adapter_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: llama3.1
|
4 |
+
base_model: unsloth/Meta-Llama-3.1-8B
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: 8884a407-fa97-46e8-9237-d87a95df04d1
|
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/Meta-Llama-3.1-8B
|
23 |
+
bf16: auto
|
24 |
+
chat_template: llama3
|
25 |
+
dataset_prepared_path: null
|
26 |
+
datasets:
|
27 |
+
- data_files:
|
28 |
+
- MATH-Hard_train_data.json
|
29 |
+
ds_type: json
|
30 |
+
path: /workspace/input_data/MATH-Hard_train_data.json
|
31 |
+
type:
|
32 |
+
field_input: problem
|
33 |
+
field_instruction: type
|
34 |
+
field_output: solution
|
35 |
+
system_format: '{system}'
|
36 |
+
system_prompt: ''
|
37 |
+
debug: null
|
38 |
+
deepspeed: null
|
39 |
+
early_stopping_patience: null
|
40 |
+
eval_max_new_tokens: 128
|
41 |
+
eval_table_size: null
|
42 |
+
evals_per_epoch: 4
|
43 |
+
flash_attention: true
|
44 |
+
fp16: null
|
45 |
+
fsdp: null
|
46 |
+
fsdp_config: null
|
47 |
+
gradient_accumulation_steps: 4
|
48 |
+
gradient_checkpointing: true
|
49 |
+
group_by_length: false
|
50 |
+
hub_model_id: ncbateman/8884a407-fa97-46e8-9237-d87a95df04d1
|
51 |
+
hub_repo: ncbateman
|
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: 1000
|
67 |
+
micro_batch_size: 2
|
68 |
+
mlflow_experiment_name: /tmp/MATH-Hard_train_data.json
|
69 |
+
model_type: AutoModelForCausalLM
|
70 |
+
num_epochs: 1
|
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: 100
|
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: 8884a407-fa97-46e8-9237-d87a95df04d1
|
90 |
+
warmup_steps: 50
|
91 |
+
weight_decay: 0.0
|
92 |
+
xformers_attention: null
|
93 |
+
|
94 |
+
```
|
95 |
+
|
96 |
+
</details><br>
|
97 |
+
|
98 |
+
# 8884a407-fa97-46e8-9237-d87a95df04d1
|
99 |
+
|
100 |
+
This model is a fine-tuned version of [unsloth/Meta-Llama-3.1-8B](https://huggingface.co/unsloth/Meta-Llama-3.1-8B) on the None dataset.
|
101 |
+
It achieves the following results on the evaluation set:
|
102 |
+
- Loss: 0.7163
|
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: 2
|
123 |
+
- eval_batch_size: 2
|
124 |
+
- seed: 42
|
125 |
+
- distributed_type: multi-GPU
|
126 |
+
- num_devices: 4
|
127 |
+
- gradient_accumulation_steps: 4
|
128 |
+
- total_train_batch_size: 32
|
129 |
+
- total_eval_batch_size: 8
|
130 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
131 |
+
- lr_scheduler_type: cosine
|
132 |
+
- lr_scheduler_warmup_steps: 50
|
133 |
+
- training_steps: 105
|
134 |
+
|
135 |
+
### Training results
|
136 |
+
|
137 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
138 |
+
|:-------------:|:------:|:----:|:---------------:|
|
139 |
+
| 0.8067 | 0.0095 | 1 | 0.8746 |
|
140 |
+
| 0.7166 | 0.2578 | 27 | 0.7664 |
|
141 |
+
| 0.7202 | 0.5155 | 54 | 0.7277 |
|
142 |
+
| 0.5782 | 0.7733 | 81 | 0.7163 |
|
143 |
+
|
144 |
+
|
145 |
+
### Framework versions
|
146 |
+
|
147 |
+
- PEFT 0.13.2
|
148 |
+
- Transformers 4.45.2
|
149 |
+
- Pytorch 2.4.1+cu124
|
150 |
+
- Datasets 3.0.1
|
151 |
+
- Tokenizers 0.20.1
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3a43b4bb0cd77185497dd9a6564de99ac1f56a379a67c88264a02c0423d0273
|
3 |
+
size 167934026
|