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