End of training
Browse files- README.md +188 -0
- adapter_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: mit
|
4 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: 385d0209-5a48-4c55-afeb-fa0021266d80
|
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 |
+
auto_find_batch_size: true
|
23 |
+
base_model: microsoft/Phi-3-mini-4k-instruct
|
24 |
+
bf16: auto
|
25 |
+
chat_template: llama3
|
26 |
+
dataloader_num_workers: 12
|
27 |
+
dataset_prepared_path: null
|
28 |
+
datasets:
|
29 |
+
- data_files:
|
30 |
+
- 11bb3328a39885eb_train_data.json
|
31 |
+
ds_type: json
|
32 |
+
format: custom
|
33 |
+
path: /workspace/input_data/11bb3328a39885eb_train_data.json
|
34 |
+
type:
|
35 |
+
field_instruction: query
|
36 |
+
field_output: atom
|
37 |
+
format: '{instruction}'
|
38 |
+
no_input_format: '{instruction}'
|
39 |
+
system_format: '{system}'
|
40 |
+
system_prompt: ''
|
41 |
+
debug: null
|
42 |
+
deepspeed: null
|
43 |
+
early_stopping_patience: 3
|
44 |
+
early_stopping_threshold: 0.001
|
45 |
+
eval_max_new_tokens: 128
|
46 |
+
eval_steps: 20
|
47 |
+
flash_attention: false
|
48 |
+
fp16: null
|
49 |
+
fsdp: null
|
50 |
+
fsdp_config: null
|
51 |
+
gradient_accumulation_steps: 2
|
52 |
+
gradient_checkpointing: false
|
53 |
+
group_by_length: false
|
54 |
+
hub_model_id: sn56t0/385d0209-5a48-4c55-afeb-fa0021266d80
|
55 |
+
hub_repo: null
|
56 |
+
hub_strategy: checkpoint
|
57 |
+
hub_token: null
|
58 |
+
learning_rate: 0.0003
|
59 |
+
load_in_4bit: false
|
60 |
+
load_in_8bit: false
|
61 |
+
local_rank: null
|
62 |
+
logging_steps: 100
|
63 |
+
lora_alpha: 16
|
64 |
+
lora_dropout: 0.05
|
65 |
+
lora_fan_in_fan_out: null
|
66 |
+
lora_model_dir: null
|
67 |
+
lora_r: 8
|
68 |
+
lora_target_linear: true
|
69 |
+
lr_scheduler: cosine
|
70 |
+
micro_batch_size: 32
|
71 |
+
mlflow_experiment_name: /tmp/11bb3328a39885eb_train_data.json
|
72 |
+
model_type: AutoModelForCausalLM
|
73 |
+
num_epochs: 5
|
74 |
+
optimizer: adamw_bnb_8bit
|
75 |
+
output_dir: miner_id_24
|
76 |
+
pad_to_sequence_len: true
|
77 |
+
s2_attention: null
|
78 |
+
sample_packing: false
|
79 |
+
save_steps: 20
|
80 |
+
saves_per_epoch: 0
|
81 |
+
seed: 754886094
|
82 |
+
sequence_len: 512
|
83 |
+
shuffle: true
|
84 |
+
strict: false
|
85 |
+
tf32: false
|
86 |
+
tokenizer_type: AutoTokenizer
|
87 |
+
torch_compile: true
|
88 |
+
train_on_inputs: false
|
89 |
+
trust_remote_code: true
|
90 |
+
val_set_size: 0.05
|
91 |
+
wandb_entity: sn56-miner
|
92 |
+
wandb_mode: disabled
|
93 |
+
wandb_name: null
|
94 |
+
wandb_project: god
|
95 |
+
wandb_run: 38ik
|
96 |
+
wandb_runid: null
|
97 |
+
warmup_ratio: 0.05
|
98 |
+
weight_decay: 0.0
|
99 |
+
xformers_attention: null
|
100 |
+
|
101 |
+
```
|
102 |
+
|
103 |
+
</details><br>
|
104 |
+
|
105 |
+
# 385d0209-5a48-4c55-afeb-fa0021266d80
|
106 |
+
|
107 |
+
This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset.
|
108 |
+
It achieves the following results on the evaluation set:
|
109 |
+
- Loss: 0.6789
|
110 |
+
|
111 |
+
## Model description
|
112 |
+
|
113 |
+
More information needed
|
114 |
+
|
115 |
+
## Intended uses & limitations
|
116 |
+
|
117 |
+
More information needed
|
118 |
+
|
119 |
+
## Training and evaluation data
|
120 |
+
|
121 |
+
More information needed
|
122 |
+
|
123 |
+
## Training procedure
|
124 |
+
|
125 |
+
### Training hyperparameters
|
126 |
+
|
127 |
+
The following hyperparameters were used during training:
|
128 |
+
- learning_rate: 0.0003
|
129 |
+
- train_batch_size: 32
|
130 |
+
- eval_batch_size: 32
|
131 |
+
- seed: 754886094
|
132 |
+
- distributed_type: multi-GPU
|
133 |
+
- num_devices: 4
|
134 |
+
- gradient_accumulation_steps: 2
|
135 |
+
- total_train_batch_size: 256
|
136 |
+
- total_eval_batch_size: 128
|
137 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
138 |
+
- lr_scheduler_type: cosine
|
139 |
+
- lr_scheduler_warmup_steps: 16
|
140 |
+
- num_epochs: 5
|
141 |
+
|
142 |
+
### Training results
|
143 |
+
|
144 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
145 |
+
|:-------------:|:------:|:----:|:---------------:|
|
146 |
+
| No log | 0.0075 | 1 | 1.6674 |
|
147 |
+
| No log | 0.1509 | 20 | 0.9842 |
|
148 |
+
| No log | 0.3019 | 40 | 0.7868 |
|
149 |
+
| No log | 0.4528 | 60 | 0.7475 |
|
150 |
+
| No log | 0.6038 | 80 | 0.7317 |
|
151 |
+
| 1.7686 | 0.7547 | 100 | 0.7231 |
|
152 |
+
| 1.7686 | 0.9057 | 120 | 0.7148 |
|
153 |
+
| 1.7686 | 1.0566 | 140 | 0.7108 |
|
154 |
+
| 1.7686 | 1.2075 | 160 | 0.7068 |
|
155 |
+
| 1.7686 | 1.3585 | 180 | 0.7043 |
|
156 |
+
| 1.3649 | 1.5094 | 200 | 0.7011 |
|
157 |
+
| 1.3649 | 1.6604 | 220 | 0.6980 |
|
158 |
+
| 1.3649 | 1.8113 | 240 | 0.6959 |
|
159 |
+
| 1.3649 | 1.9623 | 260 | 0.6925 |
|
160 |
+
| 1.3649 | 2.1132 | 280 | 0.6920 |
|
161 |
+
| 1.3269 | 2.2642 | 300 | 0.6920 |
|
162 |
+
| 1.3269 | 2.4151 | 320 | 0.6893 |
|
163 |
+
| 1.3269 | 2.5660 | 340 | 0.6882 |
|
164 |
+
| 1.3269 | 2.7170 | 360 | 0.6864 |
|
165 |
+
| 1.3269 | 2.8679 | 380 | 0.6846 |
|
166 |
+
| 1.2806 | 3.0189 | 400 | 0.6831 |
|
167 |
+
| 1.2806 | 3.1698 | 420 | 0.6832 |
|
168 |
+
| 1.2806 | 3.3208 | 440 | 0.6837 |
|
169 |
+
| 1.2806 | 3.4717 | 460 | 0.6820 |
|
170 |
+
| 1.2806 | 3.6226 | 480 | 0.6815 |
|
171 |
+
| 1.2517 | 3.7736 | 500 | 0.6806 |
|
172 |
+
| 1.2517 | 3.9245 | 520 | 0.6802 |
|
173 |
+
| 1.2517 | 4.0755 | 540 | 0.6800 |
|
174 |
+
| 1.2517 | 4.2264 | 560 | 0.6797 |
|
175 |
+
| 1.2517 | 4.3774 | 580 | 0.6792 |
|
176 |
+
| 1.2416 | 4.5283 | 600 | 0.6792 |
|
177 |
+
| 1.2416 | 4.6792 | 620 | 0.6789 |
|
178 |
+
| 1.2416 | 4.8302 | 640 | 0.6789 |
|
179 |
+
| 1.2416 | 4.9811 | 660 | 0.6789 |
|
180 |
+
|
181 |
+
|
182 |
+
### Framework versions
|
183 |
+
|
184 |
+
- PEFT 0.13.2
|
185 |
+
- Transformers 4.46.0
|
186 |
+
- Pytorch 2.5.0+cu124
|
187 |
+
- Datasets 3.0.1
|
188 |
+
- Tokenizers 0.20.1
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33c3d87e35214cad880e6a790d77515abfb1ac03e6bb96be8168f4ac32ebd26c
|
3 |
+
size 50424202
|