Alphatao commited on
Commit
b417504
·
verified ·
1 Parent(s): 9546ad7

End of training

Browse files
Files changed (3) hide show
  1. README.md +165 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/Qwen2.5-Coder-1.5B-Instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 5c7f2cf8-816e-4bc8-82cb-8c5ccfff5b6d
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: unsloth/Qwen2.5-Coder-1.5B-Instruct
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 8cdb693ff17961f7_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/8cdb693ff17961f7_train_data.json
32
+ type:
33
+ field_instruction: title
34
+ field_output: content
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ device_map:
41
+ ? ''
42
+ : 0,1,2,3,4,5,6,7
43
+ early_stopping_patience: 2
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 400
46
+ eval_table_size: null
47
+ flash_attention: true
48
+ gradient_accumulation_steps: 4
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: Alphatao/5c7f2cf8-816e-4bc8-82cb-8c5ccfff5b6d
52
+ hub_repo: null
53
+ hub_strategy: null
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_best_model_at_end: true
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 32
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 16
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ - o_proj
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_steps: 12658
75
+ micro_batch_size: 2
76
+ mlflow_experiment_name: /tmp/8cdb693ff17961f7_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 2
79
+ optimizer: adamw_bnb_8bit
80
+ output_dir: miner_id_24
81
+ pad_to_sequence_len: true
82
+ resume_from_checkpoint: null
83
+ s2_attention: null
84
+ sample_packing: false
85
+ save_steps: 400
86
+ sequence_len: 1024
87
+ strict: false
88
+ tf32: true
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.05
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: 51d22812-c4f7-499f-904a-c95d4ff253e0
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: 51d22812-c4f7-499f-904a-c95d4ff253e0
99
+ warmup_steps: 10
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # 5c7f2cf8-816e-4bc8-82cb-8c5ccfff5b6d
108
+
109
+ This model is a fine-tuned version of [unsloth/Qwen2.5-Coder-1.5B-Instruct](https://huggingface.co/unsloth/Qwen2.5-Coder-1.5B-Instruct) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 3.3218
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.0002
131
+ - train_batch_size: 2
132
+ - eval_batch_size: 2
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 4
135
+ - total_train_batch_size: 8
136
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 10
139
+ - training_steps: 4560
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 3.8164 | 0.0004 | 1 | 3.6158 |
146
+ | 3.4591 | 0.1754 | 400 | 3.3666 |
147
+ | 3.3334 | 0.3509 | 800 | 3.3538 |
148
+ | 3.1532 | 0.5263 | 1200 | 3.3436 |
149
+ | 3.0933 | 0.7018 | 1600 | 3.3364 |
150
+ | 3.3893 | 0.8772 | 2000 | 3.3285 |
151
+ | 2.9716 | 1.0526 | 2400 | 3.3285 |
152
+ | 3.1509 | 1.2281 | 2800 | 3.3275 |
153
+ | 3.519 | 1.4035 | 3200 | 3.3263 |
154
+ | 3.3018 | 1.5789 | 3600 | 3.3242 |
155
+ | 3.3677 | 1.7544 | 4000 | 3.3225 |
156
+ | 3.3379 | 1.9298 | 4400 | 3.3218 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.13.2
162
+ - Transformers 4.46.0
163
+ - Pytorch 2.5.0+cu124
164
+ - Datasets 3.0.1
165
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0552903faad5e857259b4902b352fd249e4f534b5e188790243e9a5a874f9e7b
3
+ size 74000170
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:243596c414f7fe4ce9300760651e0c00a2c55d425ae1c398cefabedb0b2eb238
3
  size 73911112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e869b71ab47d02a9e856f74c06d30df676922bf8de5fc5dccc929b3028ffbdb
3
  size 73911112