RoyJoy commited on
Commit
f20f746
1 Parent(s): cd20563

End of training

Browse files
Files changed (2) hide show
  1. README.md +186 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2.5-0.5B-Instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 7666ae23-b234-41e8-95f9-a248dc9c657d
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: Qwen/Qwen2.5-0.5B-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
+ - 2a18ba3f849233ae_train_data.json
31
+ ds_type: json
32
+ field: prompt
33
+ path: /workspace/input_data/2a18ba3f849233ae_train_data.json
34
+ type: completion
35
+ debug: null
36
+ deepspeed: null
37
+ device_map:
38
+ lm_head: 3
39
+ model.embed_tokens: 0
40
+ model.layers.0: 0
41
+ model.layers.1: 0
42
+ model.layers.10: 3
43
+ model.layers.11: 3
44
+ model.layers.2: 0
45
+ model.layers.3: 1
46
+ model.layers.4: 1
47
+ model.layers.5: 1
48
+ model.layers.6: 2
49
+ model.layers.7: 2
50
+ model.layers.8: 2
51
+ model.layers.9: 3
52
+ model.norm: 3
53
+ do_eval: true
54
+ early_stopping_patience: 1
55
+ eval_batch_size: 1
56
+ eval_sample_packing: false
57
+ eval_steps: 25
58
+ evaluation_strategy: steps
59
+ flash_attention: false
60
+ fp16: null
61
+ fsdp: null
62
+ fsdp_config: null
63
+ gradient_accumulation_steps: 32
64
+ gradient_checkpointing: true
65
+ group_by_length: true
66
+ hub_model_id: sn56/7666ae23-b234-41e8-95f9-a248dc9c657d
67
+ hub_strategy: checkpoint
68
+ hub_token: null
69
+ learning_rate: 0.0001
70
+ load_in_4bit: false
71
+ load_in_8bit: false
72
+ local_rank: null
73
+ logging_steps: 1
74
+ lora_alpha: 64
75
+ lora_dropout: 0.05
76
+ lora_fan_in_fan_out: null
77
+ lora_model_dir: null
78
+ lora_r: 32
79
+ lora_target_linear: true
80
+ lora_target_modules:
81
+ - q_proj
82
+ - v_proj
83
+ lr_scheduler: cosine
84
+ max_grad_norm: 0.3
85
+ max_memory:
86
+ 0: 60GB
87
+ 1: 70GB
88
+ 2: 70GB
89
+ 3: 70GB
90
+ cpu: 96GB
91
+ max_steps: 100
92
+ micro_batch_size: 1
93
+ mixed_precision: bf16
94
+ mlflow_experiment_name: /tmp/2a18ba3f849233ae_train_data.json
95
+ model_type: AutoModelForCausalLM
96
+ num_epochs: 3
97
+ optim_args:
98
+ adam_beta1: 0.9
99
+ adam_beta2: 0.95
100
+ adam_epsilon: 1e-5
101
+ optimizer: adamw_torch
102
+ output_dir: miner_id_24
103
+ pad_to_sequence_len: true
104
+ resume_from_checkpoint: null
105
+ s2_attention: null
106
+ sample_packing: false
107
+ save_steps: 25
108
+ save_strategy: steps
109
+ sequence_len: 2048
110
+ strict: false
111
+ tf32: false
112
+ tokenizer_type: AutoTokenizer
113
+ torch_compile: false
114
+ torch_dtype: bfloat16
115
+ train_on_inputs: false
116
+ trust_remote_code: true
117
+ use_cache: false
118
+ val_set_size: 50
119
+ wandb_entity: null
120
+ wandb_mode: online
121
+ wandb_name: 7666ae23-b234-41e8-95f9-a248dc9c657d
122
+ wandb_project: Public_TuningSN
123
+ wandb_runid: 7666ae23-b234-41e8-95f9-a248dc9c657d
124
+ warmup_ratio: 0.05
125
+ weight_decay: 0.01
126
+ xformers_attention: null
127
+
128
+ ```
129
+
130
+ </details><br>
131
+
132
+ # 7666ae23-b234-41e8-95f9-a248dc9c657d
133
+
134
+ This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) on the None dataset.
135
+ It achieves the following results on the evaluation set:
136
+ - Loss: 2.4681
137
+
138
+ ## Model description
139
+
140
+ More information needed
141
+
142
+ ## Intended uses & limitations
143
+
144
+ More information needed
145
+
146
+ ## Training and evaluation data
147
+
148
+ More information needed
149
+
150
+ ## Training procedure
151
+
152
+ ### Training hyperparameters
153
+
154
+ The following hyperparameters were used during training:
155
+ - learning_rate: 0.0001
156
+ - train_batch_size: 1
157
+ - eval_batch_size: 1
158
+ - seed: 42
159
+ - distributed_type: multi-GPU
160
+ - num_devices: 4
161
+ - gradient_accumulation_steps: 32
162
+ - total_train_batch_size: 128
163
+ - total_eval_batch_size: 4
164
+ - 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
165
+ - lr_scheduler_type: cosine
166
+ - lr_scheduler_warmup_steps: 5
167
+ - training_steps: 100
168
+
169
+ ### Training results
170
+
171
+ | Training Loss | Epoch | Step | Validation Loss |
172
+ |:-------------:|:------:|:----:|:---------------:|
173
+ | 1.9615 | 0.0140 | 1 | 3.3979 |
174
+ | 5.0712 | 0.3510 | 25 | 2.6227 |
175
+ | 4.2031 | 0.7021 | 50 | 2.5125 |
176
+ | 1.9892 | 1.0531 | 75 | 2.4749 |
177
+ | 2.0536 | 1.4041 | 100 | 2.4681 |
178
+
179
+
180
+ ### Framework versions
181
+
182
+ - PEFT 0.13.2
183
+ - Transformers 4.46.0
184
+ - Pytorch 2.5.0+cu124
185
+ - Datasets 3.0.1
186
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:471fc778d2823dfbeb51f2b694aacdb7ab18437a361ef5cacafcad6c29bcd15e
3
+ size 70506570