TracyTank commited on
Commit
b53f8de
·
verified ·
1 Parent(s): d453081

End of training

Browse files
Files changed (3) hide show
  1. README.md +176 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama3
4
+ base_model: NousResearch/Hermes-2-Pro-Llama-3-8B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 9d3fef19-25b3-4071-96a4-9349e75a2222
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: NousResearch/Hermes-2-Pro-Llama-3-8B
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
+ - 1099ba216cab69b8_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/1099ba216cab69b8_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: 64
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: sn56b2/9d3fef19-25b3-4071-96a4-9349e75a2222
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: 64
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 32
72
+ lora_target_linear: true
73
+ lora_target_modules:
74
+ - q_proj
75
+ - v_proj
76
+ lr_scheduler: cosine
77
+ max_grad_norm: 1.0
78
+ max_memory:
79
+ 0: 70GiB
80
+ max_steps: 166
81
+ micro_batch_size: 1
82
+ mlflow_experiment_name: /tmp/1099ba216cab69b8_train_data.json
83
+ model_type: AutoModelForCausalLM
84
+ num_epochs: 4
85
+ optim_args:
86
+ adam_beta1: 0.9
87
+ adam_beta2: 0.95
88
+ adam_epsilon: 1e-5
89
+ optimizer: adamw_torch
90
+ output_dir: miner_id_24
91
+ pad_to_sequence_len: true
92
+ resume_from_checkpoint: null
93
+ s2_attention: null
94
+ sample_packing: false
95
+ save_steps: 50
96
+ save_strategy: steps
97
+ sequence_len: 2048
98
+ strict: false
99
+ tf32: false
100
+ tokenizer_type: AutoTokenizer
101
+ torch_compile: false
102
+ train_on_inputs: false
103
+ trust_remote_code: true
104
+ val_set_size: 50
105
+ wandb_entity: sn56-miner
106
+ wandb_mode: disabled
107
+ wandb_name: 9d3fef19-25b3-4071-96a4-9349e75a2222
108
+ wandb_project: god
109
+ wandb_run: tuf0
110
+ wandb_runid: 9d3fef19-25b3-4071-96a4-9349e75a2222
111
+ warmup_raio: 0.03
112
+ warmup_ratio: 0.05
113
+ weight_decay: 0.01
114
+ xformers_attention: null
115
+
116
+ ```
117
+
118
+ </details><br>
119
+
120
+ # 9d3fef19-25b3-4071-96a4-9349e75a2222
121
+
122
+ This model is a fine-tuned version of [NousResearch/Hermes-2-Pro-Llama-3-8B](https://huggingface.co/NousResearch/Hermes-2-Pro-Llama-3-8B) on the None dataset.
123
+ It achieves the following results on the evaluation set:
124
+ - Loss: 0.4045
125
+
126
+ ## Model description
127
+
128
+ More information needed
129
+
130
+ ## Intended uses & limitations
131
+
132
+ More information needed
133
+
134
+ ## Training and evaluation data
135
+
136
+ More information needed
137
+
138
+ ## Training procedure
139
+
140
+ ### Training hyperparameters
141
+
142
+ The following hyperparameters were used during training:
143
+ - learning_rate: 0.0001
144
+ - train_batch_size: 1
145
+ - eval_batch_size: 1
146
+ - seed: 42
147
+ - distributed_type: multi-GPU
148
+ - num_devices: 4
149
+ - gradient_accumulation_steps: 64
150
+ - total_train_batch_size: 256
151
+ - total_eval_batch_size: 4
152
+ - 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
153
+ - lr_scheduler_type: cosine
154
+ - lr_scheduler_warmup_steps: 8
155
+ - training_steps: 166
156
+
157
+ ### Training results
158
+
159
+ | Training Loss | Epoch | Step | Validation Loss |
160
+ |:-------------:|:------:|:----:|:---------------:|
161
+ | 0.6852 | 0.0016 | 1 | 0.7759 |
162
+ | 0.4802 | 0.0405 | 25 | 0.4397 |
163
+ | 0.4346 | 0.0811 | 50 | 0.4231 |
164
+ | 0.4472 | 0.1216 | 75 | 0.4157 |
165
+ | 0.4335 | 0.1622 | 100 | 0.4093 |
166
+ | 0.4527 | 0.2027 | 125 | 0.4060 |
167
+ | 0.4207 | 0.2432 | 150 | 0.4045 |
168
+
169
+
170
+ ### Framework versions
171
+
172
+ - PEFT 0.13.2
173
+ - Transformers 4.46.0
174
+ - Pytorch 2.5.0+cu124
175
+ - Datasets 3.0.1
176
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a20c9642d0f2c44028073e4e44c7f95c86e9207e1c738330ffb52c1a6fb4ad0
3
+ size 335706186
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2727cf1162bcdc2ea431dcc02d9c762ca7acfebaebb93304ffda64edf7ffe3ec
3
  size 335604696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9cfa661c54339a670d279a82539151fa79137d5093e0b025188d9e50254cec5
3
  size 335604696