Alphatao commited on
Commit
993e567
·
verified ·
1 Parent(s): c4ebe47

End of training

Browse files
Files changed (3) hide show
  1. README.md +184 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: Qwen/Qwen1.5-0.5B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: a30c98f1-5377-4fe4-bf1b-66b3d754b9b2
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/Qwen1.5-0.5B
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 08def8d176b3ee4d_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/08def8d176b3ee4d_train_data.json
32
+ type:
33
+ field_input: tools
34
+ field_instruction: query
35
+ field_output: answers
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: 100
47
+ eval_table_size: null
48
+ flash_attention: true
49
+ gradient_accumulation_steps: 8
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: Alphatao/a30c98f1-5377-4fe4-bf1b-66b3d754b9b2
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: 4224
76
+ micro_batch_size: 4
77
+ mlflow_experiment_name: /tmp/08def8d176b3ee4d_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: 100
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: 7a7bc575-869c-40c2-9816-fca44c877c0b
97
+ wandb_project: Gradients-On-Demand
98
+ wandb_run: your_name
99
+ wandb_runid: 7a7bc575-869c-40c2-9816-fca44c877c0b
100
+ warmup_steps: 10
101
+ weight_decay: 0.0
102
+ xformers_attention: null
103
+
104
+ ```
105
+
106
+ </details><br>
107
+
108
+ # a30c98f1-5377-4fe4-bf1b-66b3d754b9b2
109
+
110
+ This model is a fine-tuned version of [Qwen/Qwen1.5-0.5B](https://huggingface.co/Qwen/Qwen1.5-0.5B) on the None dataset.
111
+ It achieves the following results on the evaluation set:
112
+ - Loss: 0.0594
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: 4
133
+ - eval_batch_size: 4
134
+ - seed: 42
135
+ - gradient_accumulation_steps: 8
136
+ - total_train_batch_size: 32
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: 2917
141
+
142
+ ### Training results
143
+
144
+ | Training Loss | Epoch | Step | Validation Loss |
145
+ |:-------------:|:------:|:----:|:---------------:|
146
+ | 0.9008 | 0.0007 | 1 | 0.9272 |
147
+ | 0.1566 | 0.0686 | 100 | 0.0968 |
148
+ | 0.0716 | 0.1372 | 200 | 0.0869 |
149
+ | 0.081 | 0.2057 | 300 | 0.0793 |
150
+ | 0.1297 | 0.2743 | 400 | 0.0786 |
151
+ | 0.0308 | 0.3429 | 500 | 0.0740 |
152
+ | 0.075 | 0.4115 | 600 | 0.0740 |
153
+ | 0.0821 | 0.4801 | 700 | 0.0723 |
154
+ | 0.0985 | 0.5486 | 800 | 0.0694 |
155
+ | 0.051 | 0.6172 | 900 | 0.0675 |
156
+ | 0.0472 | 0.6858 | 1000 | 0.0666 |
157
+ | 0.0509 | 0.7544 | 1100 | 0.0658 |
158
+ | 0.1134 | 0.8230 | 1200 | 0.0651 |
159
+ | 0.073 | 0.8916 | 1300 | 0.0636 |
160
+ | 0.1127 | 0.9601 | 1400 | 0.0636 |
161
+ | 0.0228 | 1.0287 | 1500 | 0.0637 |
162
+ | 0.0262 | 1.0973 | 1600 | 0.0634 |
163
+ | 0.0448 | 1.1659 | 1700 | 0.0629 |
164
+ | 0.037 | 1.2345 | 1800 | 0.0625 |
165
+ | 0.1208 | 1.3030 | 1900 | 0.0620 |
166
+ | 0.0368 | 1.3716 | 2000 | 0.0619 |
167
+ | 0.0951 | 1.4402 | 2100 | 0.0612 |
168
+ | 0.0582 | 1.5088 | 2200 | 0.0604 |
169
+ | 0.0438 | 1.5774 | 2300 | 0.0602 |
170
+ | 0.033 | 1.6459 | 2400 | 0.0598 |
171
+ | 0.0626 | 1.7145 | 2500 | 0.0597 |
172
+ | 0.0106 | 1.7831 | 2600 | 0.0597 |
173
+ | 0.0312 | 1.8517 | 2700 | 0.0594 |
174
+ | 0.0382 | 1.9203 | 2800 | 0.0595 |
175
+ | 0.0622 | 1.9889 | 2900 | 0.0594 |
176
+
177
+
178
+ ### Framework versions
179
+
180
+ - PEFT 0.13.2
181
+ - Transformers 4.46.0
182
+ - Pytorch 2.5.0+cu124
183
+ - Datasets 3.0.1
184
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:145aad93a90b014ea648f76d9c2bfe8e696b4fcde538980d458ee1814d29def3
3
+ size 30398410
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b09b7b22f4ef42c6b2a0245417886d738039632e0f5c4a2853f720efeba6b439
3
  size 30322120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f51552bf52b9701f87a6fb455864c102391cf9f6f4d028738838cf3f1d02caf
3
  size 30322120