RoyJoy commited on
Commit
e090d70
·
verified ·
1 Parent(s): 45b35b8

End of training

Browse files
Files changed (3) hide show
  1. README.md +184 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/llama-2-7b-chat
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: ccc1bbdd-503c-4877-a2dc-b6f031e94e57
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/llama-2-7b-chat
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
+ - e79e0fc4c4f12847_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/e79e0fc4c4f12847_train_data.json
34
+ type:
35
+ field_input: input
36
+ field_instruction: instruction
37
+ field_output: output
38
+ format: '{instruction} {input}'
39
+ no_input_format: '{instruction}'
40
+ system_format: '{system}'
41
+ system_prompt: ''
42
+ debug: null
43
+ deepspeed: null
44
+ device_map: '{'''':torch.cuda.current_device()}'
45
+ do_eval: true
46
+ early_stopping_patience: 30
47
+ eval_batch_size: 1
48
+ eval_sample_packing: false
49
+ eval_steps: 25
50
+ evaluation_strategy: steps
51
+ flash_attention: true
52
+ fp16: null
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 32
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: sn56a5/ccc1bbdd-503c-4877-a2dc-b6f031e94e57
59
+ hub_repo: stevemonite
60
+ hub_strategy: checkpoint
61
+ hub_token: null
62
+ learning_rate: 0.0001
63
+ load_in_4bit: false
64
+ load_in_8bit: false
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 32
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 16
72
+ lora_target_linear: true
73
+ lora_target_modules:
74
+ - q_proj
75
+ - k_proj
76
+ - v_proj
77
+ - o_proj
78
+ - gate_proj
79
+ - down_proj
80
+ - up_proj
81
+ lr_scheduler: cosine
82
+ max_grad_norm: 1.0
83
+ max_memory:
84
+ 0: 70GiB
85
+ max_steps: 228
86
+ micro_batch_size: 1
87
+ mlflow_experiment_name: /tmp/e79e0fc4c4f12847_train_data.json
88
+ model_type: AutoModelForCausalLM
89
+ num_epochs: 3
90
+ optim_args:
91
+ adam_beta1: 0.9
92
+ adam_beta2: 0.95
93
+ adam_epsilon: 1e-5
94
+ optimizer: adamw_torch
95
+ output_dir: miner_id_24
96
+ pad_to_sequence_len: true
97
+ resume_from_checkpoint: null
98
+ s2_attention: null
99
+ sample_packing: false
100
+ save_steps: 50
101
+ save_strategy: steps
102
+ sequence_len: 2056
103
+ strict: false
104
+ tf32: false
105
+ tokenizer_type: AutoTokenizer
106
+ torch_compile: false
107
+ train_on_inputs: false
108
+ trust_remote_code: true
109
+ val_set_size: 50
110
+ wandb_entity: sn56-miner
111
+ wandb_mode: disabled
112
+ wandb_name: ccc1bbdd-503c-4877-a2dc-b6f031e94e57
113
+ wandb_project: god
114
+ wandb_run: 2cci
115
+ wandb_runid: ccc1bbdd-503c-4877-a2dc-b6f031e94e57
116
+ warmup_raio: 0.03
117
+ warmup_ratio: 0.04
118
+ weight_decay: 0.01
119
+ xformers_attention: null
120
+
121
+ ```
122
+
123
+ </details><br>
124
+
125
+ # ccc1bbdd-503c-4877-a2dc-b6f031e94e57
126
+
127
+ This model is a fine-tuned version of [unsloth/llama-2-7b-chat](https://huggingface.co/unsloth/llama-2-7b-chat) on the None dataset.
128
+ It achieves the following results on the evaluation set:
129
+ - Loss: 1.0822
130
+
131
+ ## Model description
132
+
133
+ More information needed
134
+
135
+ ## Intended uses & limitations
136
+
137
+ More information needed
138
+
139
+ ## Training and evaluation data
140
+
141
+ More information needed
142
+
143
+ ## Training procedure
144
+
145
+ ### Training hyperparameters
146
+
147
+ The following hyperparameters were used during training:
148
+ - learning_rate: 0.0001
149
+ - train_batch_size: 1
150
+ - eval_batch_size: 1
151
+ - seed: 42
152
+ - distributed_type: multi-GPU
153
+ - num_devices: 4
154
+ - gradient_accumulation_steps: 32
155
+ - total_train_batch_size: 128
156
+ - total_eval_batch_size: 4
157
+ - 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
158
+ - lr_scheduler_type: cosine
159
+ - lr_scheduler_warmup_steps: 9
160
+ - training_steps: 228
161
+
162
+ ### Training results
163
+
164
+ | Training Loss | Epoch | Step | Validation Loss |
165
+ |:-------------:|:------:|:----:|:---------------:|
166
+ | 1.3358 | 0.0003 | 1 | 1.4042 |
167
+ | 1.1634 | 0.0063 | 25 | 1.2142 |
168
+ | 1.0938 | 0.0126 | 50 | 1.1531 |
169
+ | 1.0963 | 0.0189 | 75 | 1.1230 |
170
+ | 1.065 | 0.0252 | 100 | 1.1066 |
171
+ | 1.0389 | 0.0315 | 125 | 1.0968 |
172
+ | 1.0322 | 0.0378 | 150 | 1.0902 |
173
+ | 0.9888 | 0.0441 | 175 | 1.0866 |
174
+ | 0.9935 | 0.0504 | 200 | 1.0843 |
175
+ | 0.9881 | 0.0567 | 225 | 1.0822 |
176
+
177
+
178
+ ### Framework versions
179
+
180
+ - PEFT 0.13.2
181
+ - Transformers 4.46.0
182
+ - Pytorch 2.5.0+cu124
183
+ - Datasets 3.0.1
184
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:117e3daf072a301feb5b92e84f5bf1b0188071d6c607ab70c7b10927d8d3f495
3
+ size 160069834
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f23fa0abcceb4576164d25f6810ea57c4f04160e54f905722383348b3eb47f1f
3
  size 159967880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac2ac417702e98625d47dd35f976dd57acd1ae55ecf95d106cbca91f0c25ffad
3
  size 159967880