dada22231 commited on
Commit
7779010
1 Parent(s): 3ea7091

End of training

Browse files
Files changed (2) hide show
  1. README.md +179 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/gemma-7b-it
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: b2bdce73-b029-4c0d-9cab-4425ac192934
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-7b-it
23
+ bf16: auto
24
+ chat_template: llama3
25
+ cosine_min_lr_ratio: 0.1
26
+ data_processes: 4
27
+ dataset_prepared_path: null
28
+ datasets:
29
+ - data_files:
30
+ - dc40b002f7ed77e8_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ num_proc: 4
34
+ path: /workspace/input_data/dc40b002f7ed77e8_train_data.json
35
+ streaming: true
36
+ type:
37
+ field_instruction: en
38
+ field_output: id
39
+ format: '{instruction}'
40
+ no_input_format: '{instruction}'
41
+ system_format: '{system}'
42
+ system_prompt: ''
43
+ debug: null
44
+ deepspeed: null
45
+ device_map:
46
+ ? ''
47
+ : balanced_low_0
48
+ do_eval: true
49
+ early_stopping_patience: 1
50
+ eval_batch_size: 1
51
+ eval_sample_packing: false
52
+ eval_steps: 25
53
+ evaluation_strategy: steps
54
+ flash_attention: false
55
+ fp16: null
56
+ fsdp: null
57
+ fsdp_config: null
58
+ gradient_accumulation_steps: 32
59
+ gradient_checkpointing: true
60
+ group_by_length: true
61
+ hub_model_id: dada22231/b2bdce73-b029-4c0d-9cab-4425ac192934
62
+ hub_strategy: checkpoint
63
+ hub_token: null
64
+ learning_rate: 0.0001
65
+ load_in_4bit: false
66
+ load_in_8bit: false
67
+ local_rank: null
68
+ logging_steps: 1
69
+ lora_alpha: 64
70
+ lora_dropout: 0.05
71
+ lora_fan_in_fan_out: null
72
+ lora_model_dir: null
73
+ lora_r: 32
74
+ lora_target_linear: true
75
+ lora_target_modules:
76
+ - q_proj
77
+ - v_proj
78
+ lr_scheduler: cosine
79
+ max_grad_norm: 0.3
80
+ max_memory:
81
+ 0: 65GB
82
+ 1: 75GB
83
+ 2: 75GB
84
+ 3: 75GB
85
+ cpu: 96GB
86
+ max_steps: 50
87
+ micro_batch_size: 1
88
+ mixed_precision: bf16
89
+ mlflow_experiment_name: /tmp/dc40b002f7ed77e8_train_data.json
90
+ model_type: AutoModelForCausalLM
91
+ num_epochs: 3
92
+ optim_args:
93
+ adam_beta1: 0.9
94
+ adam_beta2: 0.95
95
+ adam_epsilon: 1e-5
96
+ optimizer: adamw_torch
97
+ output_dir: miner_id_24
98
+ pad_to_sequence_len: true
99
+ resume_from_checkpoint: null
100
+ s2_attention: null
101
+ sample_packing: false
102
+ save_steps: 25
103
+ save_strategy: steps
104
+ sequence_len: 2048
105
+ strict: false
106
+ tf32: false
107
+ tokenizer_type: AutoTokenizer
108
+ torch_compile: false
109
+ torch_dtype: bfloat16
110
+ train_on_inputs: false
111
+ trust_remote_code: true
112
+ use_cache: false
113
+ val_set_size: 50
114
+ wandb_entity: null
115
+ wandb_mode: online
116
+ wandb_name: b2bdce73-b029-4c0d-9cab-4425ac192934
117
+ wandb_project: Public_TuningSN
118
+ wandb_runid: b2bdce73-b029-4c0d-9cab-4425ac192934
119
+ warmup_ratio: 0.05
120
+ weight_decay: 0.01
121
+ xformers_attention: null
122
+
123
+ ```
124
+
125
+ </details><br>
126
+
127
+ # b2bdce73-b029-4c0d-9cab-4425ac192934
128
+
129
+ This model is a fine-tuned version of [unsloth/gemma-7b-it](https://huggingface.co/unsloth/gemma-7b-it) on the None dataset.
130
+ It achieves the following results on the evaluation set:
131
+ - Loss: 1.4853
132
+
133
+ ## Model description
134
+
135
+ More information needed
136
+
137
+ ## Intended uses & limitations
138
+
139
+ More information needed
140
+
141
+ ## Training and evaluation data
142
+
143
+ More information needed
144
+
145
+ ## Training procedure
146
+
147
+ ### Training hyperparameters
148
+
149
+ The following hyperparameters were used during training:
150
+ - learning_rate: 0.0001
151
+ - train_batch_size: 1
152
+ - eval_batch_size: 1
153
+ - seed: 42
154
+ - distributed_type: multi-GPU
155
+ - num_devices: 4
156
+ - gradient_accumulation_steps: 32
157
+ - total_train_batch_size: 128
158
+ - total_eval_batch_size: 4
159
+ - 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
160
+ - lr_scheduler_type: cosine
161
+ - lr_scheduler_warmup_steps: 2
162
+ - training_steps: 50
163
+
164
+ ### Training results
165
+
166
+ | Training Loss | Epoch | Step | Validation Loss |
167
+ |:-------------:|:------:|:----:|:---------------:|
168
+ | 3.9133 | 0.0026 | 1 | 6.5665 |
169
+ | 1.4544 | 0.0658 | 25 | 1.6196 |
170
+ | 1.3318 | 0.1315 | 50 | 1.4853 |
171
+
172
+
173
+ ### Framework versions
174
+
175
+ - PEFT 0.13.2
176
+ - Transformers 4.46.0
177
+ - Pytorch 2.5.0+cu124
178
+ - Datasets 3.0.1
179
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd9107b85c60692fa99ad2dd93b6f89fae975f09e71c2f1202e62cbacfde9610
3
+ size 400173482