eeeebbb2 commited on
Commit
b92d25e
1 Parent(s): e51d410

End of training

Browse files
Files changed (3) hide show
  1. README.md +185 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 498b62f0-6bf1-431e-b65c-8a37347f9c24
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
+ - a271550a67384169_train_data.json
31
+ ds_type: json
32
+ field: texte
33
+ num_proc: 4
34
+ path: /workspace/input_data/a271550a67384169_train_data.json
35
+ streaming: true
36
+ type: completion
37
+ debug: null
38
+ deepspeed: null
39
+ device_map:
40
+ lm_head: 3
41
+ model.embed_tokens: 0
42
+ model.layers.0: 0
43
+ model.layers.1: 0
44
+ model.layers.10: 3
45
+ model.layers.11: 3
46
+ model.layers.2: 0
47
+ model.layers.3: 1
48
+ model.layers.4: 1
49
+ model.layers.5: 1
50
+ model.layers.6: 2
51
+ model.layers.7: 2
52
+ model.layers.8: 2
53
+ model.layers.9: 3
54
+ model.norm: 3
55
+ do_eval: true
56
+ early_stopping_patience: 1
57
+ eval_batch_size: 1
58
+ eval_sample_packing: false
59
+ eval_steps: 25
60
+ evaluation_strategy: steps
61
+ flash_attention: false
62
+ fp16: null
63
+ fsdp: null
64
+ fsdp_config: null
65
+ gradient_accumulation_steps: 32
66
+ gradient_checkpointing: true
67
+ group_by_length: true
68
+ hub_model_id: eeeebbb2/498b62f0-6bf1-431e-b65c-8a37347f9c24
69
+ hub_strategy: checkpoint
70
+ hub_token: null
71
+ learning_rate: 0.0001
72
+ load_in_4bit: false
73
+ load_in_8bit: false
74
+ local_rank: null
75
+ logging_steps: 1
76
+ lora_alpha: 64
77
+ lora_dropout: 0.05
78
+ lora_fan_in_fan_out: null
79
+ lora_model_dir: null
80
+ lora_r: 32
81
+ lora_target_linear: true
82
+ lora_target_modules:
83
+ - q_proj
84
+ - v_proj
85
+ lr_scheduler: cosine
86
+ max_grad_norm: 0.3
87
+ max_memory:
88
+ 0: 60GB
89
+ 1: 70GB
90
+ 2: 70GB
91
+ 3: 70GB
92
+ cpu: 96GB
93
+ max_steps: 50
94
+ micro_batch_size: 1
95
+ mixed_precision: bf16
96
+ mlflow_experiment_name: /tmp/a271550a67384169_train_data.json
97
+ model_type: AutoModelForCausalLM
98
+ num_epochs: 3
99
+ optim_args:
100
+ adam_beta1: 0.9
101
+ adam_beta2: 0.95
102
+ adam_epsilon: 1e-5
103
+ optimizer: adamw_torch
104
+ output_dir: miner_id_24
105
+ pad_to_sequence_len: true
106
+ resume_from_checkpoint: null
107
+ s2_attention: null
108
+ sample_packing: false
109
+ save_steps: 25
110
+ save_strategy: steps
111
+ sequence_len: 2048
112
+ strict: false
113
+ tf32: false
114
+ tokenizer_type: AutoTokenizer
115
+ torch_compile: false
116
+ torch_dtype: bfloat16
117
+ train_on_inputs: false
118
+ trust_remote_code: true
119
+ use_cache: false
120
+ val_set_size: 50
121
+ wandb_entity: null
122
+ wandb_mode: online
123
+ wandb_name: 498b62f0-6bf1-431e-b65c-8a37347f9c24
124
+ wandb_project: Public_TuningSN
125
+ wandb_runid: 498b62f0-6bf1-431e-b65c-8a37347f9c24
126
+ warmup_ratio: 0.05
127
+ weight_decay: 0.01
128
+ xformers_attention: null
129
+
130
+ ```
131
+
132
+ </details><br>
133
+
134
+ # 498b62f0-6bf1-431e-b65c-8a37347f9c24
135
+
136
+ This model is a fine-tuned version of [unsloth/gemma-7b-it](https://huggingface.co/unsloth/gemma-7b-it) on the None dataset.
137
+ It achieves the following results on the evaluation set:
138
+ - Loss: 1.7127
139
+
140
+ ## Model description
141
+
142
+ More information needed
143
+
144
+ ## Intended uses & limitations
145
+
146
+ More information needed
147
+
148
+ ## Training and evaluation data
149
+
150
+ More information needed
151
+
152
+ ## Training procedure
153
+
154
+ ### Training hyperparameters
155
+
156
+ The following hyperparameters were used during training:
157
+ - learning_rate: 0.0001
158
+ - train_batch_size: 1
159
+ - eval_batch_size: 1
160
+ - seed: 42
161
+ - distributed_type: multi-GPU
162
+ - num_devices: 4
163
+ - gradient_accumulation_steps: 32
164
+ - total_train_batch_size: 128
165
+ - total_eval_batch_size: 4
166
+ - 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
167
+ - lr_scheduler_type: cosine
168
+ - lr_scheduler_warmup_steps: 2
169
+ - training_steps: 43
170
+
171
+ ### Training results
172
+
173
+ | Training Loss | Epoch | Step | Validation Loss |
174
+ |:-------------:|:------:|:----:|:---------------:|
175
+ | 4.6181 | 0.0699 | 1 | 9.6758 |
176
+ | 1.4078 | 1.7533 | 25 | 1.7127 |
177
+
178
+
179
+ ### Framework versions
180
+
181
+ - PEFT 0.13.2
182
+ - Transformers 4.46.0
183
+ - Pytorch 2.5.0+cu124
184
+ - Datasets 3.0.1
185
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a5e9e7915a9e721b2619a784ea3a06cba532bce22212f381fa2010aa6390e4f
3
+ size 400173482
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:53bd8c8fade11fc56f34d5339aa8f1be48f79647bac70f5f7e34f883f68ec4fe
3
  size 400084608
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:082354cf7b77354d1d6e5589631097bde4739e55f073aa94a1e51b5274982cbb
3
  size 400084608