Files changed (1) hide show
  1. README.md +173 -159
README.md CHANGED
@@ -1,160 +1,174 @@
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: 13c4d0b9-d08e-40f1-834a-f145476a6324
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
- dataset_prepared_path: null
26
- datasets:
27
- - data_files:
28
- - 3b46dfa78dc1c7f9_train_data.json
29
- ds_type: json
30
- format: custom
31
- path: /workspace/input_data/3b46dfa78dc1c7f9_train_data.json
32
- type:
33
- field_input: context
34
- field_instruction: prompt_serial
35
- field_output: hypothesis
36
- format: '{instruction} {input}'
37
- no_input_format: '{instruction}'
38
- system_format: '{system}'
39
- system_prompt: ''
40
- debug: null
41
- device_map:
42
- ? ''
43
- : 0,1,2,3,4,5,6,7
44
- early_stopping_patience: 2
45
- eval_max_new_tokens: 128
46
- eval_steps: 400
47
- eval_table_size: null
48
- flash_attention: true
49
- gradient_accumulation_steps: 4
50
- gradient_checkpointing: true
51
- group_by_length: false
52
- hub_model_id: Alphatao/13c4d0b9-d08e-40f1-834a-f145476a6324
53
- hub_repo: null
54
- hub_strategy: null
55
- hub_token: null
56
- learning_rate: 0.0002
57
- load_best_model_at_end: true
58
- load_in_4bit: false
59
- load_in_8bit: false
60
- local_rank: null
61
- logging_steps: 1
62
- lora_alpha: 32
63
- lora_dropout: 0.05
64
- lora_fan_in_fan_out: null
65
- lora_model_dir: null
66
- lora_r: 16
67
- lora_target_linear: true
68
- lora_target_modules:
69
- - q_proj
70
- - k_proj
71
- - v_proj
72
- - o_proj
73
- lr_scheduler: cosine
74
- max_grad_norm: 1.0
75
- max_steps: 11952
76
- micro_batch_size: 2
77
- mlflow_experiment_name: /tmp/3b46dfa78dc1c7f9_train_data.json
78
- model_type: AutoModelForCausalLM
79
- num_epochs: 2
80
- optimizer: adamw_bnb_8bit
81
- output_dir: miner_id_24
82
- pad_to_sequence_len: true
83
- resume_from_checkpoint: null
84
- s2_attention: null
85
- sample_packing: false
86
- save_steps: 400
87
- sequence_len: 1024
88
- strict: false
89
- tf32: true
90
- tokenizer_type: AutoTokenizer
91
- train_on_inputs: false
92
- trust_remote_code: true
93
- val_set_size: 0.04
94
- wandb_entity: null
95
- wandb_mode: online
96
- wandb_name: d6369cfd-a96d-4d15-a21b-a90c2b0e3ef1
97
- wandb_project: Gradients-On-Demand
98
- wandb_run: your_name
99
- wandb_runid: d6369cfd-a96d-4d15-a21b-a90c2b0e3ef1
100
- warmup_steps: 10
101
- weight_decay: 0.0
102
- xformers_attention: null
103
-
104
- ```
105
-
106
- </details><br>
107
-
108
- # 13c4d0b9-d08e-40f1-834a-f145476a6324
109
-
110
- 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.
111
- It achieves the following results on the evaluation set:
112
- - Loss: 0.0004
113
-
114
- ## Model description
115
-
116
- More information needed
117
-
118
- ## Intended uses & limitations
119
-
120
- More information needed
121
-
122
- ## Training and evaluation data
123
-
124
- More information needed
125
-
126
- ## Training procedure
127
-
128
- ### Training hyperparameters
129
-
130
- The following hyperparameters were used during training:
131
- - learning_rate: 0.0002
132
- - train_batch_size: 2
133
- - eval_batch_size: 2
134
- - seed: 42
135
- - gradient_accumulation_steps: 4
136
- - total_train_batch_size: 8
137
- - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
138
- - lr_scheduler_type: cosine
139
- - lr_scheduler_warmup_steps: 10
140
- - training_steps: 9408
141
-
142
- ### Training results
143
-
144
- | Training Loss | Epoch | Step | Validation Loss |
145
- |:-------------:|:------:|:----:|:---------------:|
146
- | 1.0604 | 0.0002 | 1 | 1.5925 |
147
- | 0.1565 | 0.0850 | 400 | 0.0018 |
148
- | 0.0001 | 0.1701 | 800 | 0.0000 |
149
- | 0.0 | 0.2551 | 1200 | 0.0000 |
150
- | 0.0 | 0.3401 | 1600 | 0.0003 |
151
- | 0.0 | 0.4252 | 2000 | 0.0004 |
152
-
153
-
154
- ### Framework versions
155
-
156
- - PEFT 0.13.2
157
- - Transformers 4.46.0
158
- - Pytorch 2.5.0+cu124
159
- - Datasets 3.0.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  - 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: 13c4d0b9-d08e-40f1-834a-f145476a6324
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
+ dataset_prepared_path: null
40
+ datasets:
41
+ - data_files:
42
+ - 3b46dfa78dc1c7f9_train_data.json
43
+ ds_type: json
44
+ format: custom
45
+ path: /workspace/input_data/3b46dfa78dc1c7f9_train_data.json
46
+ type:
47
+ field_input: context
48
+ field_instruction: prompt_serial
49
+ field_output: hypothesis
50
+ format: '{instruction} {input}'
51
+ no_input_format: '{instruction}'
52
+ system_format: '{system}'
53
+ system_prompt: ''
54
+ debug: null
55
+ device_map:
56
+ ? ''
57
+ : 0,1,2,3,4,5,6,7
58
+ early_stopping_patience: 2
59
+ eval_max_new_tokens: 128
60
+ eval_steps: 400
61
+ eval_table_size: null
62
+ flash_attention: true
63
+ gradient_accumulation_steps: 4
64
+ gradient_checkpointing: true
65
+ group_by_length: false
66
+ hub_model_id: Alphatao/13c4d0b9-d08e-40f1-834a-f145476a6324
67
+ hub_repo: null
68
+ hub_strategy: null
69
+ hub_token: null
70
+ learning_rate: 0.0002
71
+ load_best_model_at_end: true
72
+ load_in_4bit: false
73
+ load_in_8bit: false
74
+ local_rank: null
75
+ logging_steps: 1
76
+ lora_alpha: 32
77
+ lora_dropout: 0.05
78
+ lora_fan_in_fan_out: null
79
+ lora_model_dir: null
80
+ lora_r: 16
81
+ lora_target_linear: true
82
+ lora_target_modules:
83
+ - q_proj
84
+ - k_proj
85
+ - v_proj
86
+ - o_proj
87
+ lr_scheduler: cosine
88
+ max_grad_norm: 1.0
89
+ max_steps: 11952
90
+ micro_batch_size: 2
91
+ mlflow_experiment_name: /tmp/3b46dfa78dc1c7f9_train_data.json
92
+ model_type: AutoModelForCausalLM
93
+ num_epochs: 2
94
+ optimizer: adamw_bnb_8bit
95
+ output_dir: miner_id_24
96
+ pad_to_sequence_len: true
97
+ resume_from_checkpoint: null
98
+ s2_attention: null
99
+ sample_packing: false
100
+ save_steps: 400
101
+ sequence_len: 1024
102
+ strict: false
103
+ tf32: true
104
+ tokenizer_type: AutoTokenizer
105
+ train_on_inputs: false
106
+ trust_remote_code: true
107
+ val_set_size: 0.04
108
+ wandb_entity: null
109
+ wandb_mode: online
110
+ wandb_name: d6369cfd-a96d-4d15-a21b-a90c2b0e3ef1
111
+ wandb_project: Gradients-On-Demand
112
+ wandb_run: your_name
113
+ wandb_runid: d6369cfd-a96d-4d15-a21b-a90c2b0e3ef1
114
+ warmup_steps: 10
115
+ weight_decay: 0.0
116
+ xformers_attention: null
117
+
118
+ ```
119
+
120
+ </details><br>
121
+
122
+ # 13c4d0b9-d08e-40f1-834a-f145476a6324
123
+
124
+ 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.
125
+ It achieves the following results on the evaluation set:
126
+ - Loss: 0.0004
127
+
128
+ ## Model description
129
+
130
+ More information needed
131
+
132
+ ## Intended uses & limitations
133
+
134
+ More information needed
135
+
136
+ ## Training and evaluation data
137
+
138
+ More information needed
139
+
140
+ ## Training procedure
141
+
142
+ ### Training hyperparameters
143
+
144
+ The following hyperparameters were used during training:
145
+ - learning_rate: 0.0002
146
+ - train_batch_size: 2
147
+ - eval_batch_size: 2
148
+ - seed: 42
149
+ - gradient_accumulation_steps: 4
150
+ - total_train_batch_size: 8
151
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
152
+ - lr_scheduler_type: cosine
153
+ - lr_scheduler_warmup_steps: 10
154
+ - training_steps: 9408
155
+
156
+ ### Training results
157
+
158
+ | Training Loss | Epoch | Step | Validation Loss |
159
+ |:-------------:|:------:|:----:|:---------------:|
160
+ | 1.0604 | 0.0002 | 1 | 1.5925 |
161
+ | 0.1565 | 0.0850 | 400 | 0.0018 |
162
+ | 0.0001 | 0.1701 | 800 | 0.0000 |
163
+ | 0.0 | 0.2551 | 1200 | 0.0000 |
164
+ | 0.0 | 0.3401 | 1600 | 0.0003 |
165
+ | 0.0 | 0.4252 | 2000 | 0.0004 |
166
+
167
+
168
+ ### Framework versions
169
+
170
+ - PEFT 0.13.2
171
+ - Transformers 4.46.0
172
+ - Pytorch 2.5.0+cu124
173
+ - Datasets 3.0.1
174
  - Tokenizers 0.20.1