Alphatao commited on
Commit
3750a48
·
verified ·
1 Parent(s): d6bea5f

End of training

Browse files
Files changed (3) hide show
  1. README.md +167 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2.5-0.5B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 2c6413dc-d92f-4df2-8c35-d74ecae5a3d1
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
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 0e8365ce28f10388_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/0e8365ce28f10388_train_data.json
32
+ type:
33
+ field_input: context
34
+ field_instruction: question-X
35
+ field_output: answer-Y
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: 2
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 100
45
+ eval_table_size: null
46
+ flash_attention: true
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 8
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: Alphatao/2c6413dc-d92f-4df2-8c35-d74ecae5a3d1
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0002
58
+ load_best_model_at_end: true
59
+ load_in_4bit: false
60
+ load_in_8bit: false
61
+ local_rank: null
62
+ logging_steps: 1
63
+ lora_alpha: 32
64
+ lora_dropout: 0.05
65
+ lora_fan_in_fan_out: null
66
+ lora_model_dir: null
67
+ lora_r: 16
68
+ lora_target_linear: true
69
+ lora_target_modules:
70
+ - q_proj
71
+ - k_proj
72
+ - v_proj
73
+ lr_scheduler: cosine
74
+ max_grad_norm: 1.0
75
+ max_steps: 6528
76
+ micro_batch_size: 4
77
+ mlflow_experiment_name: /tmp/0e8365ce28f10388_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: 012ceced-ebc3-4133-9f3b-090d40160419
97
+ wandb_project: Gradients-On-Demand
98
+ wandb_run: your_name
99
+ wandb_runid: 012ceced-ebc3-4133-9f3b-090d40160419
100
+ warmup_steps: 10
101
+ weight_decay: 0.0
102
+ xformers_attention: null
103
+
104
+ ```
105
+
106
+ </details><br>
107
+
108
+ # 2c6413dc-d92f-4df2-8c35-d74ecae5a3d1
109
+
110
+ This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) on the None dataset.
111
+ It achieves the following results on the evaluation set:
112
+ - Loss: 1.8993
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: 2039
141
+
142
+ ### Training results
143
+
144
+ | Training Loss | Epoch | Step | Validation Loss |
145
+ |:-------------:|:------:|:----:|:---------------:|
146
+ | 5.7618 | 0.0010 | 1 | 5.8334 |
147
+ | 1.9971 | 0.0981 | 100 | 2.0450 |
148
+ | 2.0453 | 0.1962 | 200 | 2.0072 |
149
+ | 2.149 | 0.2944 | 300 | 1.9763 |
150
+ | 1.8109 | 0.3925 | 400 | 1.9683 |
151
+ | 1.7674 | 0.4906 | 500 | 1.9461 |
152
+ | 1.9503 | 0.5887 | 600 | 1.9336 |
153
+ | 1.9147 | 0.6869 | 700 | 1.9230 |
154
+ | 1.9247 | 0.7850 | 800 | 1.9150 |
155
+ | 1.76 | 0.8831 | 900 | 1.8989 |
156
+ | 1.87 | 0.9812 | 1000 | 1.8904 |
157
+ | 1.6386 | 1.0794 | 1100 | 1.9086 |
158
+ | 1.7189 | 1.1775 | 1200 | 1.8993 |
159
+
160
+
161
+ ### Framework versions
162
+
163
+ - PEFT 0.13.2
164
+ - Transformers 4.46.0
165
+ - Pytorch 2.5.0+cu124
166
+ - Datasets 3.0.1
167
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31e913b216defc7bc93740e23942e68c981556569af5c9d96c72833fd2407bb4
3
+ size 35313738
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:21f1f3acda76ad4e88a7c83adc2e48f1ee2adc3335201431003f84c84136a9cb
3
  size 35237104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d879a31bf817231b2a2a0bafd43ea9d7d8d3d779546cd69f56092ff819c45508
3
  size 35237104