noeloco commited on
Commit
d4edc9d
·
verified ·
1 Parent(s): f03cd97

End of training

Browse files
Files changed (2) hide show
  1. README.md +155 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama2
3
+ library_name: peft
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ base_model: codellama/CodeLlama-7b-hf
8
+ model-index:
9
+ - name: camel-lora
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: codellama/CodeLlama-7b-hf
22
+ model_type: LlamaForCausalLM
23
+ tokenizer_type: CodeLlamaTokenizer
24
+ is_llama_derived_model: true
25
+
26
+ hub_model_id: noeloco/camel-lora
27
+
28
+ load_in_8bit: true
29
+ load_in_4bit: false
30
+ strict: false
31
+
32
+ datasets:
33
+ - path: noeloco/fizzbuzz-sft
34
+ type: alpaca
35
+ ds_type: json
36
+
37
+ hf_use_auth_token: true
38
+ push_dataset_to_hub: noeloco
39
+ val_set_size: 0.05
40
+ output_dir: ./lora-out
41
+ chat_template: chatml
42
+
43
+ sequence_len: 2048
44
+ sample_packing: false
45
+ pad_to_sequence_len: true
46
+
47
+ adapter: lora
48
+ lora_model_dir:
49
+ lora_r: 16
50
+ lora_alpha: 8
51
+ lora_dropout: 0.05
52
+ lora_target_linear: true
53
+ lora_fan_in_fan_out:
54
+
55
+ wandb_project: runpod1
56
+ wandb_entity:
57
+ wandb_watch:
58
+ wandb_name:
59
+ wandb_log_model:
60
+
61
+ gradient_accumulation_steps: 1
62
+ micro_batch_size: 2
63
+ num_epochs: 3
64
+ optimizer: paged_adamw_32bit
65
+ lr_scheduler: cosine
66
+ learning_rate: 0.0002
67
+
68
+ train_on_inputs: false
69
+ group_by_length: false
70
+ bf16: true
71
+ fp16: false
72
+ tf32: false
73
+
74
+ gradient_checkpointing: true
75
+ early_stopping_patience:
76
+ resume_from_checkpoint:
77
+ local_rank:
78
+ logging_steps: 1
79
+ xformers_attention:
80
+ flash_attention: true
81
+
82
+ warmup_steps: 10
83
+ evals_per_epoch: 4
84
+ saves_per_epoch: 1
85
+ debug: true
86
+ deepspeed:
87
+ weight_decay: 0.0
88
+ fsdp:
89
+ fsdp_config:
90
+ special_tokens:
91
+ bos_token: "<s>"
92
+ eos_token: "</s>"
93
+ unk_token: "<unk>"
94
+
95
+ ```
96
+
97
+ </details><br>
98
+
99
+ # camel-lora
100
+
101
+ This model is a fine-tuned version of [codellama/CodeLlama-7b-hf](https://huggingface.co/codellama/CodeLlama-7b-hf) on an unknown dataset.
102
+ It achieves the following results on the evaluation set:
103
+ - Loss: 0.0194
104
+
105
+ ## Model description
106
+
107
+ More information needed
108
+
109
+ ## Intended uses & limitations
110
+
111
+ More information needed
112
+
113
+ ## Training and evaluation data
114
+
115
+ More information needed
116
+
117
+ ## Training procedure
118
+
119
+ ### Training hyperparameters
120
+
121
+ The following hyperparameters were used during training:
122
+ - learning_rate: 0.0002
123
+ - train_batch_size: 2
124
+ - eval_batch_size: 2
125
+ - seed: 42
126
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
127
+ - lr_scheduler_type: cosine
128
+ - lr_scheduler_warmup_steps: 10
129
+ - num_epochs: 3
130
+
131
+ ### Training results
132
+
133
+ | Training Loss | Epoch | Step | Validation Loss |
134
+ |:-------------:|:-----:|:----:|:---------------:|
135
+ | 1.9757 | 0.01 | 1 | 2.5058 |
136
+ | 0.6029 | 0.26 | 18 | 0.8441 |
137
+ | 0.3298 | 0.51 | 36 | 0.2600 |
138
+ | 0.0939 | 0.77 | 54 | 0.1288 |
139
+ | 0.0961 | 1.03 | 72 | 0.1025 |
140
+ | 0.0641 | 1.29 | 90 | 0.0430 |
141
+ | 0.0639 | 1.54 | 108 | 0.0405 |
142
+ | 0.2106 | 1.8 | 126 | 0.0206 |
143
+ | 0.0558 | 2.06 | 144 | 0.0349 |
144
+ | 0.0407 | 2.31 | 162 | 0.0298 |
145
+ | 0.0493 | 2.57 | 180 | 0.0237 |
146
+ | 0.0915 | 2.83 | 198 | 0.0194 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.10.1.dev0
152
+ - Transformers 4.40.0.dev0
153
+ - Pytorch 2.1.2+cu118
154
+ - Datasets 2.15.0
155
+ - Tokenizers 0.15.0
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e687c7c1ccc2f6c5257babe05a9ccbaa36d09282566e5a5c5785d479eb7cccc
3
+ size 160069834