Files changed (1) hide show
  1. README.md +186 -172
README.md CHANGED
@@ -1,173 +1,187 @@
1
- ---
2
- library_name: peft
3
- license: apache-2.0
4
- base_model: Qwen/Qwen2.5-1.5B
5
- tags:
6
- - axolotl
7
- - generated_from_trainer
8
- model-index:
9
- - name: b85a4e3d-93c8-46f3-92a5-8e718064e026
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-1.5B
23
- bf16: auto
24
- chat_template: llama3
25
- cosine_min_lr_ratio: 0.1
26
- data_processes: 16
27
- dataset_prepared_path: null
28
- datasets:
29
- - data_files:
30
- - b69b8f2576840a57_train_data.json
31
- ds_type: json
32
- format: custom
33
- path: /workspace/input_data/b69b8f2576840a57_train_data.json
34
- type:
35
- field_input: student_answer
36
- field_instruction: question
37
- field_output: reference_answer
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: auto
45
- do_eval: true
46
- eval_batch_size: 1
47
- eval_sample_packing: false
48
- eval_steps: 25
49
- evaluation_strategy: steps
50
- flash_attention: false
51
- fp16: null
52
- fsdp: null
53
- fsdp_config: null
54
- gradient_accumulation_steps: 32
55
- gradient_checkpointing: true
56
- group_by_length: true
57
- hub_model_id: dada22231/b85a4e3d-93c8-46f3-92a5-8e718064e026
58
- hub_strategy: checkpoint
59
- hub_token: null
60
- hub_username: dada22231
61
- learning_rate: 0.0001
62
- load_in_4bit: false
63
- load_in_8bit: false
64
- local_rank: null
65
- logging_steps: 1
66
- lora_alpha: 64
67
- lora_dropout: 0.05
68
- lora_fan_in_fan_out: null
69
- lora_model_dir: null
70
- lora_r: 32
71
- lora_target_linear: true
72
- lora_target_modules:
73
- - q_proj
74
- - v_proj
75
- lr_scheduler: cosine
76
- max_grad_norm: 1.0
77
- max_memory:
78
- 0: 70GiB
79
- 1: 70GiB
80
- 2: 70GiB
81
- 3: 70GiB
82
- max_steps: 50
83
- micro_batch_size: 1
84
- mlflow_experiment_name: /tmp/b69b8f2576840a57_train_data.json
85
- model_type: AutoModelForCausalLM
86
- num_epochs: 3
87
- optim_args:
88
- adam_beta1: 0.9
89
- adam_beta2: 0.95
90
- adam_epsilon: 1e-5
91
- optimizer: adamw_torch
92
- output_dir: miner_id_24
93
- pad_to_sequence_len: true
94
- repository_id: dada22231/b85a4e3d-93c8-46f3-92a5-8e718064e026
95
- resume_from_checkpoint: null
96
- s2_attention: null
97
- sample_packing: false
98
- save_steps: 25
99
- save_strategy: steps
100
- sequence_len: 2048
101
- strict: false
102
- tf32: false
103
- tokenizer_type: AutoTokenizer
104
- torch_compile: false
105
- train_on_inputs: false
106
- trust_remote_code: true
107
- val_set_size: 50
108
- wandb_entity: null
109
- wandb_mode: online
110
- wandb_name: b85a4e3d-93c8-46f3-92a5-8e718064e026
111
- wandb_project: Public_TuningSN
112
- wandb_runid: b85a4e3d-93c8-46f3-92a5-8e718064e026
113
- warmup_ratio: 0.04
114
- weight_decay: 0.01
115
- xformers_attention: null
116
-
117
- ```
118
-
119
- </details><br>
120
-
121
- # b85a4e3d-93c8-46f3-92a5-8e718064e026
122
-
123
- This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B](https://huggingface.co/Qwen/Qwen2.5-1.5B) on the None dataset.
124
- It achieves the following results on the evaluation set:
125
- - Loss: 0.1484
126
-
127
- ## Model description
128
-
129
- More information needed
130
-
131
- ## Intended uses & limitations
132
-
133
- More information needed
134
-
135
- ## Training and evaluation data
136
-
137
- More information needed
138
-
139
- ## Training procedure
140
-
141
- ### Training hyperparameters
142
-
143
- The following hyperparameters were used during training:
144
- - learning_rate: 0.0001
145
- - train_batch_size: 1
146
- - eval_batch_size: 1
147
- - seed: 42
148
- - distributed_type: multi-GPU
149
- - num_devices: 4
150
- - gradient_accumulation_steps: 32
151
- - total_train_batch_size: 128
152
- - total_eval_batch_size: 4
153
- - 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
154
- - lr_scheduler_type: cosine
155
- - lr_scheduler_warmup_steps: 2
156
- - training_steps: 50
157
-
158
- ### Training results
159
-
160
- | Training Loss | Epoch | Step | Validation Loss |
161
- |:-------------:|:------:|:----:|:---------------:|
162
- | 2.4185 | 0.0264 | 1 | 3.6234 |
163
- | 0.5964 | 0.6595 | 25 | 0.5061 |
164
- | 0.0562 | 1.3289 | 50 | 0.1484 |
165
-
166
-
167
- ### Framework versions
168
-
169
- - PEFT 0.13.2
170
- - Transformers 4.46.0
171
- - Pytorch 2.5.0+cu124
172
- - Datasets 3.0.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  - Tokenizers 0.20.1
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2.5-1.5B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ language:
9
+ - zho
10
+ - eng
11
+ - fra
12
+ - spa
13
+ - por
14
+ - deu
15
+ - ita
16
+ - rus
17
+ - jpn
18
+ - kor
19
+ - vie
20
+ - tha
21
+ - ara
22
+ model-index:
23
+ - name: b85a4e3d-93c8-46f3-92a5-8e718064e026
24
+ results: []
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ [<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)
31
+ <details><summary>See axolotl config</summary>
32
+
33
+ axolotl version: `0.4.1`
34
+ ```yaml
35
+ adapter: lora
36
+ base_model: Qwen/Qwen2.5-1.5B
37
+ bf16: auto
38
+ chat_template: llama3
39
+ cosine_min_lr_ratio: 0.1
40
+ data_processes: 16
41
+ dataset_prepared_path: null
42
+ datasets:
43
+ - data_files:
44
+ - b69b8f2576840a57_train_data.json
45
+ ds_type: json
46
+ format: custom
47
+ path: /workspace/input_data/b69b8f2576840a57_train_data.json
48
+ type:
49
+ field_input: student_answer
50
+ field_instruction: question
51
+ field_output: reference_answer
52
+ format: '{instruction} {input}'
53
+ no_input_format: '{instruction}'
54
+ system_format: '{system}'
55
+ system_prompt: ''
56
+ debug: null
57
+ deepspeed: null
58
+ device_map: auto
59
+ do_eval: true
60
+ eval_batch_size: 1
61
+ eval_sample_packing: false
62
+ eval_steps: 25
63
+ evaluation_strategy: steps
64
+ flash_attention: false
65
+ fp16: null
66
+ fsdp: null
67
+ fsdp_config: null
68
+ gradient_accumulation_steps: 32
69
+ gradient_checkpointing: true
70
+ group_by_length: true
71
+ hub_model_id: dada22231/b85a4e3d-93c8-46f3-92a5-8e718064e026
72
+ hub_strategy: checkpoint
73
+ hub_token: null
74
+ hub_username: dada22231
75
+ learning_rate: 0.0001
76
+ load_in_4bit: false
77
+ load_in_8bit: false
78
+ local_rank: null
79
+ logging_steps: 1
80
+ lora_alpha: 64
81
+ lora_dropout: 0.05
82
+ lora_fan_in_fan_out: null
83
+ lora_model_dir: null
84
+ lora_r: 32
85
+ lora_target_linear: true
86
+ lora_target_modules:
87
+ - q_proj
88
+ - v_proj
89
+ lr_scheduler: cosine
90
+ max_grad_norm: 1.0
91
+ max_memory:
92
+ 0: 70GiB
93
+ 1: 70GiB
94
+ 2: 70GiB
95
+ 3: 70GiB
96
+ max_steps: 50
97
+ micro_batch_size: 1
98
+ mlflow_experiment_name: /tmp/b69b8f2576840a57_train_data.json
99
+ model_type: AutoModelForCausalLM
100
+ num_epochs: 3
101
+ optim_args:
102
+ adam_beta1: 0.9
103
+ adam_beta2: 0.95
104
+ adam_epsilon: 1e-5
105
+ optimizer: adamw_torch
106
+ output_dir: miner_id_24
107
+ pad_to_sequence_len: true
108
+ repository_id: dada22231/b85a4e3d-93c8-46f3-92a5-8e718064e026
109
+ resume_from_checkpoint: null
110
+ s2_attention: null
111
+ sample_packing: false
112
+ save_steps: 25
113
+ save_strategy: steps
114
+ sequence_len: 2048
115
+ strict: false
116
+ tf32: false
117
+ tokenizer_type: AutoTokenizer
118
+ torch_compile: false
119
+ train_on_inputs: false
120
+ trust_remote_code: true
121
+ val_set_size: 50
122
+ wandb_entity: null
123
+ wandb_mode: online
124
+ wandb_name: b85a4e3d-93c8-46f3-92a5-8e718064e026
125
+ wandb_project: Public_TuningSN
126
+ wandb_runid: b85a4e3d-93c8-46f3-92a5-8e718064e026
127
+ warmup_ratio: 0.04
128
+ weight_decay: 0.01
129
+ xformers_attention: null
130
+
131
+ ```
132
+
133
+ </details><br>
134
+
135
+ # b85a4e3d-93c8-46f3-92a5-8e718064e026
136
+
137
+ This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B](https://huggingface.co/Qwen/Qwen2.5-1.5B) on the None dataset.
138
+ It achieves the following results on the evaluation set:
139
+ - Loss: 0.1484
140
+
141
+ ## Model description
142
+
143
+ More information needed
144
+
145
+ ## Intended uses & limitations
146
+
147
+ More information needed
148
+
149
+ ## Training and evaluation data
150
+
151
+ More information needed
152
+
153
+ ## Training procedure
154
+
155
+ ### Training hyperparameters
156
+
157
+ The following hyperparameters were used during training:
158
+ - learning_rate: 0.0001
159
+ - train_batch_size: 1
160
+ - eval_batch_size: 1
161
+ - seed: 42
162
+ - distributed_type: multi-GPU
163
+ - num_devices: 4
164
+ - gradient_accumulation_steps: 32
165
+ - total_train_batch_size: 128
166
+ - total_eval_batch_size: 4
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
+ | 2.4185 | 0.0264 | 1 | 3.6234 |
177
+ | 0.5964 | 0.6595 | 25 | 0.5061 |
178
+ | 0.0562 | 1.3289 | 50 | 0.1484 |
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