brandonironbirdlabs
commited on
Commit
•
16f2c7e
1
Parent(s):
ca68531
Upload config.yaml with huggingface_hub
Browse files- config.yaml +34 -0
config.yaml
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.2
|
3 |
+
model_type: MistralForCausalLM
|
4 |
+
is_mistral_derived_model: true
|
5 |
+
datasets:
|
6 |
+
- path: burkelibbey/colors
|
7 |
+
type:
|
8 |
+
field_instruction: color
|
9 |
+
field_output: description
|
10 |
+
conversation: chatml
|
11 |
+
chat_template: chatml
|
12 |
+
val_set_size: 0.05
|
13 |
+
output_dir: ./out
|
14 |
+
sequence_len: 512
|
15 |
+
gradient_accumulation_steps: 4
|
16 |
+
micro_batch_size: 2
|
17 |
+
learning_rate: 0.0002
|
18 |
+
|
19 |
+
load_in_4bit: true
|
20 |
+
adapter: qlora
|
21 |
+
lora_r: 16
|
22 |
+
lora_alpha: 8
|
23 |
+
lora_dropout: 0.05
|
24 |
+
lora_target_linear: true
|
25 |
+
gradient_checkpointing: true
|
26 |
+
warmup_steps: 10
|
27 |
+
|
28 |
+
tokenizer_type: LlamaTokenizer
|
29 |
+
num_epochs: 1
|
30 |
+
optimizer: paged_adamw_32bit
|
31 |
+
special_tokens:
|
32 |
+
bos_token: "<s>"
|
33 |
+
eos_token: "</s>"
|
34 |
+
unk_token: "<unk>"
|