magatex commited on
Commit
8b34a88
·
verified ·
1 Parent(s): 283cc94

End of training

Browse files
Files changed (3) hide show
  1. README.md +176 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/codegemma-2b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 36x539196e
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/codegemma-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
+ - e1c400429355d086_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/e1c400429355d086_train_data.json
34
+ type:
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map: '{'''':torch.cuda.current_device()}'
44
+ do_eval: true
45
+ early_stopping_patience: 1
46
+ eval_batch_size: 8
47
+ eval_sample_packing: false
48
+ eval_steps: 25
49
+ evaluation_strategy: steps
50
+ flash_attention: true
51
+ fp16: null
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 16
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: magatex/36x539196e
58
+ hub_repo: stevemonite
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ learning_rate: 0.0001
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 1
66
+ lora_alpha: 32
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 16
71
+ lora_target_linear: true
72
+ lora_target_modules:
73
+ - q_proj
74
+ - v_proj
75
+ lr_scheduler: cosine
76
+ max_grad_norm: 1.0
77
+ max_memory:
78
+ 0: 70GiB
79
+ max_steps: 666
80
+ micro_batch_size: 8
81
+ mlflow_experiment_name: /tmp/e1c400429355d086_train_data.json
82
+ model_type: AutoModelForCausalLM
83
+ num_epochs: 4
84
+ optim_args:
85
+ adam_beta1: 0.9
86
+ adam_beta2: 0.95
87
+ adam_epsilon: 1e-5
88
+ optimizer: adamw_torch
89
+ output_dir: miner_id_24
90
+ pad_to_sequence_len: true
91
+ resume_from_checkpoint: null
92
+ s2_attention: null
93
+ sample_packing: false
94
+ save_steps: 50
95
+ save_strategy: steps
96
+ sequence_len: 2048
97
+ strict: false
98
+ tf32: false
99
+ tokenizer_type: AutoTokenizer
100
+ torch_compile: false
101
+ train_on_inputs: false
102
+ trust_remote_code: true
103
+ val_set_size: 50
104
+ wandb_entity: null
105
+ wandb_mode: online
106
+ wandb_project: Public_TuningSN
107
+ wandb_run: miner_id_24
108
+ wandb_runid: x539196e
109
+ warmup_raio: 0.03
110
+ warmup_ratio: 0.05
111
+ weight_decay: 0.01
112
+ xformers_attention: null
113
+
114
+ ```
115
+
116
+ </details><br>
117
+
118
+ # 36x539196e
119
+
120
+ This model is a fine-tuned version of [unsloth/codegemma-2b](https://huggingface.co/unsloth/codegemma-2b) on the None dataset.
121
+ It achieves the following results on the evaluation set:
122
+ - Loss: 0.4641
123
+
124
+ ## Model description
125
+
126
+ More information needed
127
+
128
+ ## Intended uses & limitations
129
+
130
+ More information needed
131
+
132
+ ## Training and evaluation data
133
+
134
+ More information needed
135
+
136
+ ## Training procedure
137
+
138
+ ### Training hyperparameters
139
+
140
+ The following hyperparameters were used during training:
141
+ - learning_rate: 0.0001
142
+ - train_batch_size: 8
143
+ - eval_batch_size: 8
144
+ - seed: 42
145
+ - gradient_accumulation_steps: 16
146
+ - total_train_batch_size: 128
147
+ - 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
148
+ - lr_scheduler_type: cosine
149
+ - lr_scheduler_warmup_steps: 13
150
+ - training_steps: 279
151
+
152
+ ### Training results
153
+
154
+ | Training Loss | Epoch | Step | Validation Loss |
155
+ |:-------------:|:------:|:----:|:---------------:|
156
+ | 2.03 | 0.0144 | 1 | 2.1693 |
157
+ | 1.7963 | 0.3591 | 25 | 1.6978 |
158
+ | 1.2916 | 0.7181 | 50 | 1.4282 |
159
+ | 1.276 | 1.0772 | 75 | 1.2075 |
160
+ | 0.8154 | 1.4363 | 100 | 1.0468 |
161
+ | 1.0533 | 1.7953 | 125 | 0.9283 |
162
+ | 0.671 | 2.1544 | 150 | 0.7878 |
163
+ | 1.023 | 2.5135 | 175 | 0.7299 |
164
+ | 0.4683 | 2.8725 | 200 | 0.6165 |
165
+ | 0.1139 | 3.2316 | 225 | 0.5439 |
166
+ | 0.4448 | 3.5907 | 250 | 0.4978 |
167
+ | 0.13 | 3.9497 | 275 | 0.4641 |
168
+
169
+
170
+ ### Framework versions
171
+
172
+ - PEFT 0.13.2
173
+ - Transformers 4.46.0
174
+ - Pytorch 2.5.0+cu124
175
+ - Datasets 3.0.1
176
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a20518852994887a59d7a9ce49331c252f5898523a99567e6b3066e61c5dd164
3
+ size 78537274
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3e4eb2b85b34775dda40d612d8e0e0fef4dd234a5021de12dd66d4d842bfe2e
3
  size 78480072
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d03be7cd88f841328a915192c41c5230d9dca513190e2fe330b82acac365c837
3
  size 78480072