farmery commited on
Commit
072c320
·
verified ·
1 Parent(s): 06b5f22

End of training

Browse files
Files changed (3) hide show
  1. README.md +196 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: gemma
4
+ base_model: unsloth/gemma-2-2b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: f7a9fbea-d994-4e0e-bfbf-06206445ed8f
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-2b
23
+ bf16: auto
24
+ chat_template: llama3
25
+ cosine_min_lr_ratio: 0.1
26
+ data_processes: 16
27
+ dataset_prepared_path: null
28
+ datasets:
29
+ - data_files:
30
+ - 32799483a740097f_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/32799483a740097f_train_data.json
34
+ type:
35
+ field_input: gender
36
+ field_instruction: en
37
+ field_output: es
38
+ format: '{instruction} {input}'
39
+ no_input_format: '{instruction}'
40
+ system_format: '{system}'
41
+ system_prompt: ''
42
+ debug: null
43
+ deepspeed: null
44
+ device_map: '{'''':torch.cuda.current_device()}'
45
+ do_eval: true
46
+ early_stopping_patience: 60
47
+ eval_batch_size: 1
48
+ eval_sample_packing: false
49
+ eval_steps: 25
50
+ evaluation_strategy: steps
51
+ flash_attention: true
52
+ fp16: null
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 64
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: sn56m3/f7a9fbea-d994-4e0e-bfbf-06206445ed8f
59
+ hub_repo: stevemonite
60
+ hub_strategy: checkpoint
61
+ hub_token: null
62
+ learning_rate: 0.0001
63
+ load_in_4bit: false
64
+ load_in_8bit: false
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 32
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 16
72
+ lora_target_linear: true
73
+ lora_target_modules:
74
+ - q_proj
75
+ - v_proj
76
+ lr_scheduler: cosine
77
+ max_grad_norm: 1.0
78
+ max_memory:
79
+ 0: 70GiB
80
+ max_steps: 666
81
+ micro_batch_size: 1
82
+ mlflow_experiment_name: /tmp/32799483a740097f_train_data.json
83
+ model_type: AutoModelForCausalLM
84
+ num_epochs: 4
85
+ optim_args:
86
+ adam_beta1: 0.9
87
+ adam_beta2: 0.95
88
+ adam_epsilon: 1e-5
89
+ optimizer: adamw_torch
90
+ output_dir: miner_id_24
91
+ pad_to_sequence_len: true
92
+ resume_from_checkpoint: null
93
+ s2_attention: null
94
+ sample_packing: false
95
+ save_steps: 50
96
+ save_strategy: steps
97
+ sequence_len: 2048
98
+ strict: false
99
+ tf32: false
100
+ tokenizer_type: AutoTokenizer
101
+ torch_compile: false
102
+ train_on_inputs: false
103
+ trust_remote_code: true
104
+ val_set_size: 50
105
+ wandb_entity: sn56-miner
106
+ wandb_mode: disabled
107
+ wandb_name: null
108
+ wandb_project: god
109
+ wandb_run: w2k6
110
+ wandb_runid: null
111
+ warmup_raio: 0.03
112
+ warmup_ratio: 0.05
113
+ weight_decay: 0.01
114
+ xformers_attention: null
115
+
116
+ ```
117
+
118
+ </details><br>
119
+
120
+ # f7a9fbea-d994-4e0e-bfbf-06206445ed8f
121
+
122
+ This model is a fine-tuned version of [unsloth/gemma-2-2b](https://huggingface.co/unsloth/gemma-2-2b) on the None dataset.
123
+ It achieves the following results on the evaluation set:
124
+ - Loss: 0.8542
125
+
126
+ ## Model description
127
+
128
+ More information needed
129
+
130
+ ## Intended uses & limitations
131
+
132
+ More information needed
133
+
134
+ ## Training and evaluation data
135
+
136
+ More information needed
137
+
138
+ ## Training procedure
139
+
140
+ ### Training hyperparameters
141
+
142
+ The following hyperparameters were used during training:
143
+ - learning_rate: 0.0001
144
+ - train_batch_size: 1
145
+ - eval_batch_size: 1
146
+ - seed: 42
147
+ - distributed_type: multi-GPU
148
+ - num_devices: 4
149
+ - gradient_accumulation_steps: 64
150
+ - total_train_batch_size: 256
151
+ - total_eval_batch_size: 4
152
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
153
+ - lr_scheduler_type: cosine
154
+ - lr_scheduler_warmup_steps: 33
155
+ - training_steps: 666
156
+
157
+ ### Training results
158
+
159
+ | Training Loss | Epoch | Step | Validation Loss |
160
+ |:-------------:|:------:|:----:|:---------------:|
161
+ | 1.6422 | 0.0008 | 1 | 3.9106 |
162
+ | 0.8483 | 0.0211 | 25 | 1.0149 |
163
+ | 0.7166 | 0.0422 | 50 | 0.9550 |
164
+ | 0.7464 | 0.0633 | 75 | 0.9110 |
165
+ | 0.821 | 0.0844 | 100 | 0.9160 |
166
+ | 0.6771 | 0.1055 | 125 | 0.9025 |
167
+ | 0.7014 | 0.1266 | 150 | 0.8940 |
168
+ | 0.6945 | 0.1477 | 175 | 0.8904 |
169
+ | 0.728 | 0.1688 | 200 | 0.8883 |
170
+ | 0.6273 | 0.1898 | 225 | 0.8844 |
171
+ | 0.7142 | 0.2109 | 250 | 0.8767 |
172
+ | 0.7023 | 0.2320 | 275 | 0.8791 |
173
+ | 0.7075 | 0.2531 | 300 | 0.8649 |
174
+ | 0.6953 | 0.2742 | 325 | 0.8715 |
175
+ | 0.6841 | 0.2953 | 350 | 0.8684 |
176
+ | 0.6334 | 0.3164 | 375 | 0.8652 |
177
+ | 0.7264 | 0.3375 | 400 | 0.8651 |
178
+ | 0.669 | 0.3586 | 425 | 0.8657 |
179
+ | 0.67 | 0.3797 | 450 | 0.8620 |
180
+ | 0.6409 | 0.4008 | 475 | 0.8569 |
181
+ | 0.6531 | 0.4219 | 500 | 0.8557 |
182
+ | 0.6698 | 0.4430 | 525 | 0.8561 |
183
+ | 0.7231 | 0.4641 | 550 | 0.8552 |
184
+ | 0.6126 | 0.4852 | 575 | 0.8560 |
185
+ | 0.647 | 0.5063 | 600 | 0.8546 |
186
+ | 0.689 | 0.5273 | 625 | 0.8545 |
187
+ | 0.7106 | 0.5484 | 650 | 0.8542 |
188
+
189
+
190
+ ### Framework versions
191
+
192
+ - PEFT 0.13.2
193
+ - Transformers 4.46.0
194
+ - Pytorch 2.5.0+cu124
195
+ - Datasets 3.0.1
196
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:108a1b93c9cb92a6e0560215ed9cf36d317e2187c9df7881767182a617d70ba7
3
+ size 83197882
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be6a6293e873d29e9c123cfed8b9129a3a500086fa1097f67ec4d0c631d4846a
3
  size 83115256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cfa65a3b114689d9988157f964345cffd0fdf3868c0528e061bd0c6d337077a
3
  size 83115256