davanstrien HF staff commited on
Commit
596b8a2
1 Parent(s): 959b5f2

End of training

Browse files
Files changed (2) hide show
  1. README.md +160 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: query-gen
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: true
27
+ strict: false
28
+
29
+ hub_model_id: davanstrien/query-gen
30
+
31
+ datasets:
32
+ - path: davanstrien/query-gen
33
+ type: alpaca
34
+ dataset_prepared_path: last_run_prepared
35
+ val_set_size: 0.05
36
+ output_dir: ./lora-out
37
+
38
+ sequence_len: 1024
39
+ sample_packing: true
40
+ pad_to_sequence_len: true
41
+
42
+ adapter: lora
43
+ lora_model_dir:
44
+ lora_r: 32
45
+ lora_alpha: 16
46
+ lora_dropout: 0.05
47
+ lora_target_linear: true
48
+ lora_fan_in_fan_out:
49
+
50
+ wandb_project: axolotl
51
+ wandb_entity:
52
+ wandb_watch:
53
+ wandb_name: query
54
+ wandb_log_model:
55
+
56
+ gradient_accumulation_steps: 4
57
+ micro_batch_size: 10
58
+ num_epochs: 4
59
+ optimizer: adamw_bnb_8bit
60
+ lr_scheduler: cosine
61
+ learning_rate: 0.0002
62
+
63
+ train_on_inputs: false
64
+ group_by_length: false
65
+ bf16: auto
66
+ fp16:
67
+ tf32: false
68
+
69
+ gradient_checkpointing: true
70
+ early_stopping_patience:
71
+ resume_from_checkpoint:
72
+ local_rank:
73
+ logging_steps: 1
74
+ xformers_attention:
75
+ flash_attention: true
76
+ s2_attention:
77
+
78
+ warmup_steps: 10
79
+ evals_per_epoch: 4
80
+ eval_table_size:
81
+ eval_max_new_tokens: 128
82
+ saves_per_epoch: 1
83
+ debug:
84
+ deepspeed:
85
+ weight_decay: 0.0
86
+ fsdp:
87
+ fsdp_config:
88
+ special_tokens:
89
+ pad_token: <|end_of_text|>
90
+
91
+ ```
92
+
93
+ </details><br>
94
+
95
+ # query-gen
96
+
97
+ 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.
98
+ It achieves the following results on the evaluation set:
99
+ - Loss: 1.2679
100
+
101
+ ## Model description
102
+
103
+ More information needed
104
+
105
+ ## Intended uses & limitations
106
+
107
+ More information needed
108
+
109
+ ## Training and evaluation data
110
+
111
+ More information needed
112
+
113
+ ## Training procedure
114
+
115
+ ### Training hyperparameters
116
+
117
+ The following hyperparameters were used during training:
118
+ - learning_rate: 0.0002
119
+ - train_batch_size: 10
120
+ - eval_batch_size: 10
121
+ - seed: 42
122
+ - distributed_type: multi-GPU
123
+ - num_devices: 4
124
+ - gradient_accumulation_steps: 4
125
+ - total_train_batch_size: 160
126
+ - total_eval_batch_size: 40
127
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
128
+ - lr_scheduler_type: cosine
129
+ - lr_scheduler_warmup_steps: 10
130
+ - num_epochs: 4
131
+
132
+ ### Training results
133
+
134
+ | Training Loss | Epoch | Step | Validation Loss |
135
+ |:-------------:|:------:|:----:|:---------------:|
136
+ | 2.8337 | 0.0071 | 1 | 2.8390 |
137
+ | 1.414 | 0.2540 | 36 | 1.4018 |
138
+ | 1.3212 | 0.5079 | 72 | 1.3332 |
139
+ | 1.304 | 0.7619 | 108 | 1.3042 |
140
+ | 1.2874 | 1.0159 | 144 | 1.2900 |
141
+ | 1.229 | 1.2522 | 180 | 1.2835 |
142
+ | 1.2247 | 1.5062 | 216 | 1.2779 |
143
+ | 1.2362 | 1.7601 | 252 | 1.2708 |
144
+ | 1.2364 | 2.0141 | 288 | 1.2663 |
145
+ | 1.1734 | 2.2504 | 324 | 1.2691 |
146
+ | 1.1781 | 2.5044 | 360 | 1.2683 |
147
+ | 1.1995 | 2.7584 | 396 | 1.2658 |
148
+ | 1.1861 | 3.0123 | 432 | 1.2626 |
149
+ | 1.1332 | 3.2487 | 468 | 1.2680 |
150
+ | 1.1438 | 3.5026 | 504 | 1.2680 |
151
+ | 1.1553 | 3.7566 | 540 | 1.2679 |
152
+
153
+
154
+ ### Framework versions
155
+
156
+ - PEFT 0.10.0
157
+ - Transformers 4.40.2
158
+ - Pytorch 2.1.2+cu118
159
+ - Datasets 2.19.1
160
+ - Tokenizers 0.19.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030abbcf52d88e378797f26233c8b335cd99b246fe20755111f2c182847daf06
3
+ size 335706186