dsakerkwq commited on
Commit
0c6121b
1 Parent(s): 7ebe1fd

End of training

Browse files
Files changed (2) hide show
  1. README.md +194 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Korabbit/llama-2-ko-7b
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: eb1f4b45-3f73-438b-af61-9eb257a683a1
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<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)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: Korabbit/llama-2-ko-7b
22
+ bf16: auto
23
+ chat_template: llama3
24
+ cosine_min_lr_ratio: 0.1
25
+ data_processes: 4
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - b9fa0810534cd78a_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ num_proc: 4
33
+ path: /workspace/input_data/b9fa0810534cd78a_train_data.json
34
+ streaming: true
35
+ type:
36
+ field_input: input
37
+ field_instruction: instruction
38
+ field_output: output
39
+ format: '{instruction} {input}'
40
+ no_input_format: '{instruction}'
41
+ system_format: '{system}'
42
+ system_prompt: ''
43
+ debug: null
44
+ deepspeed: null
45
+ device_map:
46
+ lm_head: 3
47
+ model.embed_tokens: 0
48
+ model.layers.0: 0
49
+ model.layers.1: 0
50
+ model.layers.10: 3
51
+ model.layers.11: 3
52
+ model.layers.2: 0
53
+ model.layers.3: 1
54
+ model.layers.4: 1
55
+ model.layers.5: 1
56
+ model.layers.6: 2
57
+ model.layers.7: 2
58
+ model.layers.8: 2
59
+ model.layers.9: 3
60
+ model.norm: 3
61
+ do_eval: true
62
+ early_stopping_patience: 1
63
+ eval_batch_size: 1
64
+ eval_sample_packing: false
65
+ eval_steps: 25
66
+ evaluation_strategy: steps
67
+ flash_attention: false
68
+ fp16: null
69
+ fsdp: null
70
+ fsdp_config: null
71
+ gradient_accumulation_steps: 32
72
+ gradient_checkpointing: true
73
+ group_by_length: true
74
+ hub_model_id: dsakerkwq/eb1f4b45-3f73-438b-af61-9eb257a683a1
75
+ hub_strategy: checkpoint
76
+ hub_token: null
77
+ learning_rate: 0.0001
78
+ load_in_4bit: false
79
+ load_in_8bit: false
80
+ local_rank: null
81
+ logging_steps: 1
82
+ lora_alpha: 64
83
+ lora_dropout: 0.05
84
+ lora_fan_in_fan_out: null
85
+ lora_model_dir: null
86
+ lora_r: 32
87
+ lora_target_linear: true
88
+ lora_target_modules:
89
+ - q_proj
90
+ - v_proj
91
+ lr_scheduler: cosine
92
+ max_grad_norm: 0.3
93
+ max_memory:
94
+ 0: 60GB
95
+ 1: 70GB
96
+ 2: 70GB
97
+ 3: 70GB
98
+ cpu: 96GB
99
+ max_steps: 50
100
+ micro_batch_size: 1
101
+ mixed_precision: bf16
102
+ mlflow_experiment_name: /tmp/b9fa0810534cd78a_train_data.json
103
+ model_type: AutoModelForCausalLM
104
+ num_epochs: 3
105
+ optim_args:
106
+ adam_beta1: 0.9
107
+ adam_beta2: 0.95
108
+ adam_epsilon: 1e-5
109
+ optimizer: adamw_torch
110
+ output_dir: miner_id_24
111
+ pad_to_sequence_len: true
112
+ resume_from_checkpoint: null
113
+ s2_attention: null
114
+ sample_packing: false
115
+ save_steps: 25
116
+ save_strategy: steps
117
+ sequence_len: 2048
118
+ special_tokens:
119
+ pad_token: </s>
120
+ strict: false
121
+ tf32: false
122
+ tokenizer_type: AutoTokenizer
123
+ torch_compile: false
124
+ torch_dtype: bfloat16
125
+ train_on_inputs: false
126
+ trust_remote_code: true
127
+ use_cache: false
128
+ val_set_size: 50
129
+ wandb_entity: null
130
+ wandb_mode: online
131
+ wandb_name: eb1f4b45-3f73-438b-af61-9eb257a683a1
132
+ wandb_project: Public_TuningSN
133
+ wandb_runid: eb1f4b45-3f73-438b-af61-9eb257a683a1
134
+ warmup_ratio: 0.05
135
+ weight_decay: 0.01
136
+ xformers_attention: null
137
+
138
+ ```
139
+
140
+ </details><br>
141
+
142
+ # eb1f4b45-3f73-438b-af61-9eb257a683a1
143
+
144
+ This model is a fine-tuned version of [Korabbit/llama-2-ko-7b](https://huggingface.co/Korabbit/llama-2-ko-7b) on the None dataset.
145
+ It achieves the following results on the evaluation set:
146
+ - Loss: 1.5278
147
+
148
+ ## Model description
149
+
150
+ More information needed
151
+
152
+ ## Intended uses & limitations
153
+
154
+ More information needed
155
+
156
+ ## Training and evaluation data
157
+
158
+ More information needed
159
+
160
+ ## Training procedure
161
+
162
+ ### Training hyperparameters
163
+
164
+ The following hyperparameters were used during training:
165
+ - learning_rate: 0.0001
166
+ - train_batch_size: 1
167
+ - eval_batch_size: 1
168
+ - seed: 42
169
+ - distributed_type: multi-GPU
170
+ - num_devices: 4
171
+ - gradient_accumulation_steps: 32
172
+ - total_train_batch_size: 128
173
+ - total_eval_batch_size: 4
174
+ - 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
175
+ - lr_scheduler_type: cosine
176
+ - lr_scheduler_warmup_steps: 2
177
+ - training_steps: 50
178
+
179
+ ### Training results
180
+
181
+ | Training Loss | Epoch | Step | Validation Loss |
182
+ |:-------------:|:------:|:----:|:---------------:|
183
+ | 1.832 | 0.0068 | 1 | 2.2257 |
184
+ | 1.8153 | 0.1700 | 25 | 1.6210 |
185
+ | 1.7149 | 0.3400 | 50 | 1.5278 |
186
+
187
+
188
+ ### Framework versions
189
+
190
+ - PEFT 0.13.2
191
+ - Transformers 4.46.0
192
+ - Pytorch 2.5.0+cu124
193
+ - Datasets 3.0.1
194
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b36e39f4c5f70a8c2ac2e8ecd47832de0f609c283f1d58d4803e5dbec6e8306
3
+ size 319977674