Files changed (1) hide show
  1. README.md +179 -165
README.md CHANGED
@@ -1,166 +1,180 @@
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: 2380d594-2f92-4d7e-abcc-59027c4745d3
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: true
24
- chat_template: llama3
25
- data_processes: 16
26
- dataset_prepared_path: null
27
- datasets:
28
- - data_files:
29
- - 7c97aa9d6f5603b2_train_data.json
30
- ds_type: json
31
- format: custom
32
- path: /workspace/input_data/7c97aa9d6f5603b2_train_data.json
33
- type:
34
- field_input: input
35
- field_instruction: instruction
36
- field_output: output
37
- format: '{instruction} {input}'
38
- no_input_format: '{instruction}'
39
- system_format: '{system}'
40
- system_prompt: ''
41
- debug: null
42
- deepspeed: null
43
- device_map: auto
44
- do_eval: true
45
- early_stopping_patience: 5
46
- eval_batch_size: 4
47
- eval_max_new_tokens: 128
48
- eval_steps: 50
49
- eval_table_size: null
50
- evals_per_epoch: null
51
- flash_attention: true
52
- fp16: false
53
- fsdp: null
54
- fsdp_config: null
55
- gradient_accumulation_steps: 4
56
- gradient_checkpointing: true
57
- group_by_length: true
58
- hub_model_id: prxy5604/2380d594-2f92-4d7e-abcc-59027c4745d3
59
- hub_repo: null
60
- hub_strategy: checkpoint
61
- hub_token: null
62
- learning_rate: 0.0001
63
- load_in_4bit: false
64
- load_in_8bit: false
65
- local_rank: null
66
- logging_steps: 1
67
- lora_alpha: 128
68
- lora_dropout: 0.05
69
- lora_fan_in_fan_out: null
70
- lora_model_dir: null
71
- lora_r: 64
72
- lora_target_linear: true
73
- lr_scheduler: cosine
74
- max_grad_norm: 1.0
75
- max_memory:
76
- 0: 75GB
77
- max_steps: 200
78
- micro_batch_size: 8
79
- mlflow_experiment_name: /tmp/7c97aa9d6f5603b2_train_data.json
80
- model_type: AutoModelForCausalLM
81
- num_epochs: 3
82
- optim_args:
83
- adam_beta1: 0.9
84
- adam_beta2: 0.95
85
- adam_epsilon: 1e-5
86
- optimizer: adamw_bnb_8bit
87
- output_dir: miner_id_24
88
- pad_to_sequence_len: true
89
- resume_from_checkpoint: null
90
- s2_attention: null
91
- sample_packing: false
92
- save_steps: 50
93
- saves_per_epoch: null
94
- sequence_len: 1024
95
- strict: false
96
- tf32: true
97
- tokenizer_type: AutoTokenizer
98
- train_on_inputs: false
99
- trust_remote_code: true
100
- val_set_size: 0.05
101
- wandb_entity: null
102
- wandb_mode: online
103
- wandb_name: 8e8840bc-68c6-4e97-bf69-1235619d9df0
104
- wandb_project: Gradients-On-Demand
105
- wandb_run: your_name
106
- wandb_runid: 8e8840bc-68c6-4e97-bf69-1235619d9df0
107
- warmup_steps: 10
108
- weight_decay: 0.0
109
- xformers_attention: null
110
-
111
- ```
112
-
113
- </details><br>
114
-
115
- # 2380d594-2f92-4d7e-abcc-59027c4745d3
116
-
117
- 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.
118
- It achieves the following results on the evaluation set:
119
- - Loss: 2.3128
120
-
121
- ## Model description
122
-
123
- More information needed
124
-
125
- ## Intended uses & limitations
126
-
127
- More information needed
128
-
129
- ## Training and evaluation data
130
-
131
- More information needed
132
-
133
- ## Training procedure
134
-
135
- ### Training hyperparameters
136
-
137
- The following hyperparameters were used during training:
138
- - learning_rate: 0.0001
139
- - train_batch_size: 8
140
- - eval_batch_size: 4
141
- - seed: 42
142
- - gradient_accumulation_steps: 4
143
- - total_train_batch_size: 32
144
- - optimizer: Use OptimizerNames.ADAMW_BNB 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
145
- - lr_scheduler_type: cosine
146
- - lr_scheduler_warmup_steps: 10
147
- - training_steps: 200
148
-
149
- ### Training results
150
-
151
- | Training Loss | Epoch | Step | Validation Loss |
152
- |:-------------:|:------:|:----:|:---------------:|
153
- | 2.4819 | 0.0002 | 1 | 3.2957 |
154
- | 2.7058 | 0.0083 | 50 | 2.5835 |
155
- | 2.8479 | 0.0165 | 100 | 2.4071 |
156
- | 2.8146 | 0.0248 | 150 | 2.3324 |
157
- | 2.8933 | 0.0331 | 200 | 2.3128 |
158
-
159
-
160
- ### Framework versions
161
-
162
- - PEFT 0.13.2
163
- - Transformers 4.46.0
164
- - Pytorch 2.5.0+cu124
165
- - Datasets 3.0.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  - 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: 2380d594-2f92-4d7e-abcc-59027c4745d3
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: true
38
+ chat_template: llama3
39
+ data_processes: 16
40
+ dataset_prepared_path: null
41
+ datasets:
42
+ - data_files:
43
+ - 7c97aa9d6f5603b2_train_data.json
44
+ ds_type: json
45
+ format: custom
46
+ path: /workspace/input_data/7c97aa9d6f5603b2_train_data.json
47
+ type:
48
+ field_input: input
49
+ field_instruction: instruction
50
+ field_output: output
51
+ format: '{instruction} {input}'
52
+ no_input_format: '{instruction}'
53
+ system_format: '{system}'
54
+ system_prompt: ''
55
+ debug: null
56
+ deepspeed: null
57
+ device_map: auto
58
+ do_eval: true
59
+ early_stopping_patience: 5
60
+ eval_batch_size: 4
61
+ eval_max_new_tokens: 128
62
+ eval_steps: 50
63
+ eval_table_size: null
64
+ evals_per_epoch: null
65
+ flash_attention: true
66
+ fp16: false
67
+ fsdp: null
68
+ fsdp_config: null
69
+ gradient_accumulation_steps: 4
70
+ gradient_checkpointing: true
71
+ group_by_length: true
72
+ hub_model_id: prxy5604/2380d594-2f92-4d7e-abcc-59027c4745d3
73
+ hub_repo: null
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: 128
82
+ lora_dropout: 0.05
83
+ lora_fan_in_fan_out: null
84
+ lora_model_dir: null
85
+ lora_r: 64
86
+ lora_target_linear: true
87
+ lr_scheduler: cosine
88
+ max_grad_norm: 1.0
89
+ max_memory:
90
+ 0: 75GB
91
+ max_steps: 200
92
+ micro_batch_size: 8
93
+ mlflow_experiment_name: /tmp/7c97aa9d6f5603b2_train_data.json
94
+ model_type: AutoModelForCausalLM
95
+ num_epochs: 3
96
+ optim_args:
97
+ adam_beta1: 0.9
98
+ adam_beta2: 0.95
99
+ adam_epsilon: 1e-5
100
+ optimizer: adamw_bnb_8bit
101
+ output_dir: miner_id_24
102
+ pad_to_sequence_len: true
103
+ resume_from_checkpoint: null
104
+ s2_attention: null
105
+ sample_packing: false
106
+ save_steps: 50
107
+ saves_per_epoch: null
108
+ sequence_len: 1024
109
+ strict: false
110
+ tf32: true
111
+ tokenizer_type: AutoTokenizer
112
+ train_on_inputs: false
113
+ trust_remote_code: true
114
+ val_set_size: 0.05
115
+ wandb_entity: null
116
+ wandb_mode: online
117
+ wandb_name: 8e8840bc-68c6-4e97-bf69-1235619d9df0
118
+ wandb_project: Gradients-On-Demand
119
+ wandb_run: your_name
120
+ wandb_runid: 8e8840bc-68c6-4e97-bf69-1235619d9df0
121
+ warmup_steps: 10
122
+ weight_decay: 0.0
123
+ xformers_attention: null
124
+
125
+ ```
126
+
127
+ </details><br>
128
+
129
+ # 2380d594-2f92-4d7e-abcc-59027c4745d3
130
+
131
+ 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.
132
+ It achieves the following results on the evaluation set:
133
+ - Loss: 2.3128
134
+
135
+ ## Model description
136
+
137
+ More information needed
138
+
139
+ ## Intended uses & limitations
140
+
141
+ More information needed
142
+
143
+ ## Training and evaluation data
144
+
145
+ More information needed
146
+
147
+ ## Training procedure
148
+
149
+ ### Training hyperparameters
150
+
151
+ The following hyperparameters were used during training:
152
+ - learning_rate: 0.0001
153
+ - train_batch_size: 8
154
+ - eval_batch_size: 4
155
+ - seed: 42
156
+ - gradient_accumulation_steps: 4
157
+ - total_train_batch_size: 32
158
+ - optimizer: Use OptimizerNames.ADAMW_BNB 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
159
+ - lr_scheduler_type: cosine
160
+ - lr_scheduler_warmup_steps: 10
161
+ - training_steps: 200
162
+
163
+ ### Training results
164
+
165
+ | Training Loss | Epoch | Step | Validation Loss |
166
+ |:-------------:|:------:|:----:|:---------------:|
167
+ | 2.4819 | 0.0002 | 1 | 3.2957 |
168
+ | 2.7058 | 0.0083 | 50 | 2.5835 |
169
+ | 2.8479 | 0.0165 | 100 | 2.4071 |
170
+ | 2.8146 | 0.0248 | 150 | 2.3324 |
171
+ | 2.8933 | 0.0331 | 200 | 2.3128 |
172
+
173
+
174
+ ### Framework versions
175
+
176
+ - PEFT 0.13.2
177
+ - Transformers 4.46.0
178
+ - Pytorch 2.5.0+cu124
179
+ - Datasets 3.0.1
180
  - Tokenizers 0.20.1