Alphatao commited on
Commit
b1a006e
·
verified ·
1 Parent(s): 56d67bc

End of training

Browse files
Files changed (3) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: gemma
4
+ base_model: unsloth/gemma-2-9b-it
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 51ee0b9b-ae20-41e6-bece-197c104cfdb6
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/gemma-2-9b-it
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 121866ffc332b29c_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/121866ffc332b29c_train_data.json
32
+ type:
33
+ field_instruction: instruction
34
+ field_output: response
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: 100
46
+ eval_table_size: null
47
+ flash_attention: false
48
+ gradient_accumulation_steps: 8
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: Alphatao/51ee0b9b-ae20-41e6-bece-197c104cfdb6
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: 128
62
+ lora_dropout: 0.1
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 64
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: 966
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/121866ffc332b29c_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: 100
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: f82dec12-1244-48ea-9a5a-20edb2a75c8b
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: f82dec12-1244-48ea-9a5a-20edb2a75c8b
99
+ warmup_steps: 10
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # 51ee0b9b-ae20-41e6-bece-197c104cfdb6
108
+
109
+ This model is a fine-tuned version of [unsloth/gemma-2-9b-it](https://huggingface.co/unsloth/gemma-2-9b-it) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 1.4451
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: 4
132
+ - eval_batch_size: 4
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 8
135
+ - total_train_batch_size: 32
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: 966
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 2.2889 | 0.0005 | 1 | 2.3408 |
146
+ | 1.6857 | 0.0542 | 100 | 1.6055 |
147
+ | 1.694 | 0.1084 | 200 | 1.5789 |
148
+ | 1.2731 | 0.1625 | 300 | 1.5639 |
149
+ | 1.7101 | 0.2167 | 400 | 1.5354 |
150
+ | 1.589 | 0.2709 | 500 | 1.5131 |
151
+ | 1.6603 | 0.3251 | 600 | 1.4852 |
152
+ | 1.3798 | 0.3792 | 700 | 1.4643 |
153
+ | 1.4823 | 0.4334 | 800 | 1.4498 |
154
+ | 1.1919 | 0.4876 | 900 | 1.4451 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9bc4ca2fc83c30f338c1c4ca776d1df0febc6612fc9c60aae7b78610e61068e
3
+ size 864501434
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e3621299587c62f61174e3f6dc81837968c93bd833d5eb7a21fb5aee0485070
3
  size 864368280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff6fe65dac4a24866964c2acff61ccf6d8dc59605463e611ddcc666b26200c6b
3
  size 864368280