Nexspear commited on
Commit
1c0c864
·
verified ·
1 Parent(s): 16b1684

End of training

Browse files
Files changed (3) hide show
  1. README.md +168 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: f412cfd0-50dd-43ac-85b8-91b32ab9a0d2
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: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - cf26cb39616c43c8_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/cf26cb39616c43c8_train_data.json
32
+ type:
33
+ field_input: rejected
34
+ field_instruction: prompt
35
+ field_output: chosen
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 5
45
+ eval_batch_size: 4
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 50
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: Nexspear/f412cfd0-50dd-43ac-85b8-91b32ab9a0d2
58
+ hub_repo: null
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: 64
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 32
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_memory:
75
+ 0: 75GB
76
+ max_steps: 400
77
+ micro_batch_size: 8
78
+ mlflow_experiment_name: /tmp/cf26cb39616c43c8_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 3
81
+ optim_args:
82
+ adam_beta1: 0.9
83
+ adam_beta2: 0.95
84
+ adam_epsilon: 1e-5
85
+ optimizer: adamw_bnb_8bit
86
+ output_dir: miner_id_24
87
+ pad_to_sequence_len: true
88
+ resume_from_checkpoint: null
89
+ s2_attention: null
90
+ sample_packing: false
91
+ save_steps: 50
92
+ saves_per_epoch: null
93
+ sequence_len: 1024
94
+ strict: false
95
+ tf32: true
96
+ tokenizer_type: AutoTokenizer
97
+ train_on_inputs: false
98
+ trust_remote_code: true
99
+ val_set_size: 0.05
100
+ wandb_entity: techspear-hub
101
+ wandb_mode: online
102
+ wandb_name: 0d78807d-584f-4ba4-8bea-4cdedaff3023
103
+ wandb_project: Gradients-On-Four
104
+ wandb_run: your_name
105
+ wandb_runid: 0d78807d-584f-4ba4-8bea-4cdedaff3023
106
+ warmup_steps: 10
107
+ weight_decay: 0.0
108
+ xformers_attention: null
109
+
110
+ ```
111
+
112
+ </details><br>
113
+
114
+ # f412cfd0-50dd-43ac-85b8-91b32ab9a0d2
115
+
116
+ This model is a fine-tuned version of [unsloth/codegemma-2b](https://huggingface.co/unsloth/codegemma-2b) on the None dataset.
117
+ It achieves the following results on the evaluation set:
118
+ - Loss: 0.3294
119
+
120
+ ## Model description
121
+
122
+ More information needed
123
+
124
+ ## Intended uses & limitations
125
+
126
+ More information needed
127
+
128
+ ## Training and evaluation data
129
+
130
+ More information needed
131
+
132
+ ## Training procedure
133
+
134
+ ### Training hyperparameters
135
+
136
+ The following hyperparameters were used during training:
137
+ - learning_rate: 0.0001
138
+ - train_batch_size: 8
139
+ - eval_batch_size: 4
140
+ - seed: 42
141
+ - gradient_accumulation_steps: 4
142
+ - total_train_batch_size: 32
143
+ - optimizer: Use OptimizerNames.ADAMW_BNB 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
144
+ - lr_scheduler_type: cosine
145
+ - lr_scheduler_warmup_steps: 10
146
+ - training_steps: 361
147
+
148
+ ### Training results
149
+
150
+ | Training Loss | Epoch | Step | Validation Loss |
151
+ |:-------------:|:------:|:----:|:---------------:|
152
+ | 4.6137 | 0.0083 | 1 | 5.3521 |
153
+ | 1.9538 | 0.4149 | 50 | 1.9951 |
154
+ | 1.6718 | 0.8299 | 100 | 1.3937 |
155
+ | 0.6332 | 1.2469 | 150 | 0.9937 |
156
+ | 0.3016 | 1.6618 | 200 | 0.6100 |
157
+ | 0.0311 | 2.0788 | 250 | 0.4098 |
158
+ | 0.1049 | 2.4938 | 300 | 0.3370 |
159
+ | 0.0093 | 2.9087 | 350 | 0.3294 |
160
+
161
+
162
+ ### Framework versions
163
+
164
+ - PEFT 0.13.2
165
+ - Transformers 4.46.0
166
+ - Pytorch 2.5.0+cu124
167
+ - Datasets 3.0.1
168
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83c2c7e253af4b2e7468c107bba6eaf2a0e1f9e049f3d0356e31725839949ff3
3
+ size 156984186
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e67a979db55d6147b4bb468cc931d0dc8300c8fa1ab3c13b8c292d544c3bd1e3
3
  size 156926880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:097d4fdc64d9ee31a96db161db9847ba9166f14e21a958dcd74c46699dc78bed
3
  size 156926880