venetis commited on
Commit
4d98a8f
1 Parent(s): 8e7da58

End of training

Browse files
Files changed (2) hide show
  1. README.md +157 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3
3
+ library_name: peft
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ base_model: meta-llama/Meta-Llama-3-8B
8
+ model-index:
9
+ - name: llama3-8b-hermes-sandals-100
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/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.0`
20
+ ```yaml
21
+ base_model: meta-llama/Meta-Llama-3-8B
22
+ model_type: LlamaForCausalLM
23
+ tokenizer_type: AutoTokenizer
24
+
25
+ load_in_8bit: false
26
+ load_in_4bit: false
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: ./data/openhermes2_5_first_100.jsonl
31
+ type: sharegpt
32
+ conversation: llama3
33
+ dataset_prepared_path:
34
+ val_set_size: 0.05
35
+ output_dir: ./outputs_lora-out
36
+ hub_model_id: venetis/llama3-8b-hermes-sandals-100
37
+
38
+ chat_template: llama3
39
+ adapter: lora
40
+ lora_model_dir:
41
+ lora_r: 32
42
+ lora_alpha: 16
43
+ lora_dropout: 0.05
44
+ lora_target_linear: true
45
+ lora_fan_in_fan_out:
46
+
47
+
48
+ sequence_len: 4096
49
+ sample_packing: false
50
+ pad_to_sequence_len: true
51
+ wandb_project: llama-3-8b-hermes-sandals-first100
52
+ wandb_entity: venetispall
53
+
54
+ gradient_accumulation_steps: 4
55
+ micro_batch_size: 2
56
+ num_epochs: 4
57
+ optimizer: adamw_bnb_8bit
58
+ lr_scheduler: cosine
59
+ learning_rate: 2e-4
60
+
61
+ train_on_inputs: false
62
+ group_by_length: false
63
+ bf16: auto
64
+ fp16:
65
+ tf32: false
66
+
67
+ gradient_checkpointing: true
68
+ early_stopping_patience:
69
+ resume_from_checkpoint:
70
+ local_rank:
71
+ logging_steps: 1
72
+ xformers_attention:
73
+ flash_attention: true
74
+ s2_attention:
75
+
76
+
77
+ warmup_steps: 10
78
+ evals_per_epoch: 4
79
+ eval_table_size:
80
+ eval_max_new_tokens: 128
81
+ saves_per_epoch: 1
82
+ debug:
83
+ deepspeed:
84
+ weight_decay: 0.0
85
+ fsdp:
86
+ fsdp_config:
87
+ special_tokens:
88
+ pad_token: <|end_of_text|>
89
+
90
+ ```
91
+
92
+ </details><br>
93
+
94
+ # llama3-8b-hermes-sandals-100
95
+
96
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the None dataset.
97
+ It achieves the following results on the evaluation set:
98
+ - Loss: 0.6973
99
+
100
+ ## Model description
101
+
102
+ More information needed
103
+
104
+ ## Intended uses & limitations
105
+
106
+ More information needed
107
+
108
+ ## Training and evaluation data
109
+
110
+ More information needed
111
+
112
+ ## Training procedure
113
+
114
+ ### Training hyperparameters
115
+
116
+ The following hyperparameters were used during training:
117
+ - learning_rate: 0.0002
118
+ - train_batch_size: 2
119
+ - eval_batch_size: 2
120
+ - seed: 42
121
+ - gradient_accumulation_steps: 4
122
+ - total_train_batch_size: 8
123
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
124
+ - lr_scheduler_type: cosine
125
+ - lr_scheduler_warmup_steps: 10
126
+ - num_epochs: 4
127
+
128
+ ### Training results
129
+
130
+ | Training Loss | Epoch | Step | Validation Loss |
131
+ |:-------------:|:------:|:----:|:---------------:|
132
+ | 1.1059 | 0.0833 | 1 | 0.9750 |
133
+ | 0.7822 | 0.25 | 3 | 0.9658 |
134
+ | 0.9619 | 0.5 | 6 | 0.8441 |
135
+ | 0.9988 | 0.75 | 9 | 0.7469 |
136
+ | 1.0968 | 1.0 | 12 | 0.7146 |
137
+ | 0.9651 | 1.25 | 15 | 0.6966 |
138
+ | 1.0208 | 1.5 | 18 | 0.6926 |
139
+ | 0.6837 | 1.75 | 21 | 0.7035 |
140
+ | 0.8704 | 2.0 | 24 | 0.6958 |
141
+ | 0.4346 | 2.25 | 27 | 0.6800 |
142
+ | 0.5709 | 2.5 | 30 | 0.6885 |
143
+ | 0.331 | 2.75 | 33 | 0.6952 |
144
+ | 0.5077 | 3.0 | 36 | 0.6953 |
145
+ | 0.6047 | 3.25 | 39 | 0.6939 |
146
+ | 0.5974 | 3.5 | 42 | 0.6961 |
147
+ | 0.5238 | 3.75 | 45 | 0.6963 |
148
+ | 0.7728 | 4.0 | 48 | 0.6973 |
149
+
150
+
151
+ ### Framework versions
152
+
153
+ - PEFT 0.10.0
154
+ - Transformers 4.40.2
155
+ - Pytorch 2.1.2+cu118
156
+ - Datasets 2.19.1
157
+ - Tokenizers 0.19.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0ff7401a6dc3aa95a53ca2d5d6e0a5a7052c4f8390449f39ce2d1a8ec5eabf6
3
+ size 167934026