End of training
Browse files- README.md +191 -0
- adapter_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
license: mit
|
4 |
+
base_model: unsloth/Phi-3-mini-4k-instruct
|
5 |
+
tags:
|
6 |
+
- axolotl
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: df9b9b3c-0d9c-4c3f-9091-dd5696225d79
|
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/Phi-3-mini-4k-instruct
|
23 |
+
bf16: auto
|
24 |
+
chat_template: llama3
|
25 |
+
cosine_min_lr_ratio: 0.1
|
26 |
+
data_processes: 4
|
27 |
+
dataset_prepared_path: null
|
28 |
+
datasets:
|
29 |
+
- data_files:
|
30 |
+
- af52eab93c443cbf_train_data.json
|
31 |
+
ds_type: json
|
32 |
+
format: custom
|
33 |
+
path: /workspace/input_data/af52eab93c443cbf_train_data.json
|
34 |
+
type:
|
35 |
+
field_input: dg_i
|
36 |
+
field_instruction: instruction
|
37 |
+
field_output: dg_o
|
38 |
+
format: '{instruction} {input}'
|
39 |
+
no_input_format: '{instruction}'
|
40 |
+
system_format: '{system}'
|
41 |
+
system_prompt: ''
|
42 |
+
debug: null
|
43 |
+
deepspeed: null
|
44 |
+
device_map:
|
45 |
+
lm_head: 3
|
46 |
+
model.embed_tokens: 0
|
47 |
+
model.layers.0: 0
|
48 |
+
model.layers.1: 0
|
49 |
+
model.layers.10: 3
|
50 |
+
model.layers.11: 3
|
51 |
+
model.layers.2: 0
|
52 |
+
model.layers.3: 1
|
53 |
+
model.layers.4: 1
|
54 |
+
model.layers.5: 1
|
55 |
+
model.layers.6: 2
|
56 |
+
model.layers.7: 2
|
57 |
+
model.layers.8: 2
|
58 |
+
model.layers.9: 3
|
59 |
+
model.norm: 3
|
60 |
+
do_eval: true
|
61 |
+
early_stopping_patience: 1
|
62 |
+
eval_batch_size: 1
|
63 |
+
eval_sample_packing: false
|
64 |
+
eval_steps: 25
|
65 |
+
evaluation_strategy: steps
|
66 |
+
flash_attention: false
|
67 |
+
fp16: null
|
68 |
+
fsdp: null
|
69 |
+
fsdp_config: null
|
70 |
+
gradient_accumulation_steps: 32
|
71 |
+
gradient_checkpointing: true
|
72 |
+
group_by_length: true
|
73 |
+
hub_model_id: sn56/df9b9b3c-0d9c-4c3f-9091-dd5696225d79
|
74 |
+
hub_strategy: checkpoint
|
75 |
+
hub_token: null
|
76 |
+
learning_rate: 0.0001
|
77 |
+
load_in_4bit: false
|
78 |
+
load_in_8bit: false
|
79 |
+
local_rank: null
|
80 |
+
logging_steps: 1
|
81 |
+
lora_alpha: 64
|
82 |
+
lora_dropout: 0.05
|
83 |
+
lora_fan_in_fan_out: null
|
84 |
+
lora_model_dir: null
|
85 |
+
lora_r: 32
|
86 |
+
lora_target_linear: true
|
87 |
+
lora_target_modules:
|
88 |
+
- q_proj
|
89 |
+
- v_proj
|
90 |
+
lr_scheduler: cosine
|
91 |
+
max_grad_norm: 0.3
|
92 |
+
max_memory:
|
93 |
+
0: 60GB
|
94 |
+
1: 70GB
|
95 |
+
2: 70GB
|
96 |
+
3: 70GB
|
97 |
+
cpu: 96GB
|
98 |
+
max_steps: 75
|
99 |
+
micro_batch_size: 1
|
100 |
+
mixed_precision: bf16
|
101 |
+
mlflow_experiment_name: /tmp/af52eab93c443cbf_train_data.json
|
102 |
+
model_type: AutoModelForCausalLM
|
103 |
+
num_epochs: 3
|
104 |
+
optim_args:
|
105 |
+
adam_beta1: 0.9
|
106 |
+
adam_beta2: 0.95
|
107 |
+
adam_epsilon: 1e-5
|
108 |
+
optimizer: adamw_torch
|
109 |
+
output_dir: miner_id_24
|
110 |
+
pad_to_sequence_len: true
|
111 |
+
resume_from_checkpoint: null
|
112 |
+
s2_attention: null
|
113 |
+
sample_packing: false
|
114 |
+
save_steps: 25
|
115 |
+
save_strategy: steps
|
116 |
+
sequence_len: 2048
|
117 |
+
strict: false
|
118 |
+
tf32: false
|
119 |
+
tokenizer_type: AutoTokenizer
|
120 |
+
torch_compile: false
|
121 |
+
torch_dtype: bfloat16
|
122 |
+
train_on_inputs: false
|
123 |
+
trust_remote_code: true
|
124 |
+
use_cache: false
|
125 |
+
val_set_size: 50
|
126 |
+
wandb_entity: null
|
127 |
+
wandb_mode: online
|
128 |
+
wandb_name: df9b9b3c-0d9c-4c3f-9091-dd5696225d79
|
129 |
+
wandb_project: Public_TuningSN
|
130 |
+
wandb_runid: df9b9b3c-0d9c-4c3f-9091-dd5696225d79
|
131 |
+
warmup_ratio: 0.05
|
132 |
+
weight_decay: 0.01
|
133 |
+
xformers_attention: null
|
134 |
+
|
135 |
+
```
|
136 |
+
|
137 |
+
</details><br>
|
138 |
+
|
139 |
+
# df9b9b3c-0d9c-4c3f-9091-dd5696225d79
|
140 |
+
|
141 |
+
This model is a fine-tuned version of [unsloth/Phi-3-mini-4k-instruct](https://huggingface.co/unsloth/Phi-3-mini-4k-instruct) on the None dataset.
|
142 |
+
It achieves the following results on the evaluation set:
|
143 |
+
- Loss: nan
|
144 |
+
|
145 |
+
## Model description
|
146 |
+
|
147 |
+
More information needed
|
148 |
+
|
149 |
+
## Intended uses & limitations
|
150 |
+
|
151 |
+
More information needed
|
152 |
+
|
153 |
+
## Training and evaluation data
|
154 |
+
|
155 |
+
More information needed
|
156 |
+
|
157 |
+
## Training procedure
|
158 |
+
|
159 |
+
### Training hyperparameters
|
160 |
+
|
161 |
+
The following hyperparameters were used during training:
|
162 |
+
- learning_rate: 0.0001
|
163 |
+
- train_batch_size: 1
|
164 |
+
- eval_batch_size: 1
|
165 |
+
- seed: 42
|
166 |
+
- distributed_type: multi-GPU
|
167 |
+
- num_devices: 4
|
168 |
+
- gradient_accumulation_steps: 32
|
169 |
+
- total_train_batch_size: 128
|
170 |
+
- total_eval_batch_size: 4
|
171 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
|
172 |
+
- lr_scheduler_type: cosine
|
173 |
+
- lr_scheduler_warmup_steps: 3
|
174 |
+
- training_steps: 75
|
175 |
+
|
176 |
+
### Training results
|
177 |
+
|
178 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
179 |
+
|:-------------:|:------:|:----:|:---------------:|
|
180 |
+
| 0.0 | 0.0131 | 1 | nan |
|
181 |
+
| 0.0 | 0.3281 | 25 | nan |
|
182 |
+
| 0.0 | 0.6563 | 50 | nan |
|
183 |
+
|
184 |
+
|
185 |
+
### Framework versions
|
186 |
+
|
187 |
+
- PEFT 0.13.2
|
188 |
+
- Transformers 4.46.0
|
189 |
+
- Pytorch 2.5.0+cu124
|
190 |
+
- Datasets 3.0.1
|
191 |
+
- Tokenizers 0.20.1
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db6570952f55cc5f26edad4aba77b540d5e559ea5e54bf92fd7c6fd3059f2075
|
3 |
+
size 239237322
|