macadeliccc
commited on
Commit
•
0158d34
1
Parent(s):
afe7808
Update README.md
Browse files
README.md
CHANGED
@@ -11,8 +11,8 @@ base_model: microsoft/Phi-3-mini-4k-instruct
|
|
11 |
model_type: AutoModelForCausalLM
|
12 |
tokenizer_type: AutoTokenizer
|
13 |
trust_remote_code: True
|
14 |
-
load_in_8bit:
|
15 |
-
load_in_4bit:
|
16 |
strict: false
|
17 |
sequence_len: 4096
|
18 |
bf16: auto
|
@@ -24,9 +24,10 @@ flash_attention: true
|
|
24 |
datasets:
|
25 |
- path: macadeliccc/opus_samantha
|
26 |
type: sharegpt
|
|
|
27 |
|
28 |
# Iterations
|
29 |
-
num_epochs:
|
30 |
|
31 |
# Evaluation
|
32 |
val_set_size: 0.05
|
@@ -37,8 +38,8 @@ eval_sample_packing: false
|
|
37 |
eval_batch_size: 1
|
38 |
|
39 |
# LoRA
|
40 |
-
output_dir: ./
|
41 |
-
adapter:
|
42 |
lora_model_dir:
|
43 |
lora_r: 32
|
44 |
lora_alpha: 16
|
@@ -47,6 +48,10 @@ lora_target_linear: true
|
|
47 |
lora_fan_in_fan_out:
|
48 |
lora_target_modules:
|
49 |
|
|
|
|
|
|
|
|
|
50 |
# Sampling
|
51 |
sample_packing: false
|
52 |
pad_to_sequence_len: false
|
@@ -77,6 +82,13 @@ deepspeed:
|
|
77 |
weight_decay: 0
|
78 |
fsdp:
|
79 |
fsdp_config:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
```
|
81 |
|
82 |
[<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)
|
|
|
11 |
model_type: AutoModelForCausalLM
|
12 |
tokenizer_type: AutoTokenizer
|
13 |
trust_remote_code: True
|
14 |
+
load_in_8bit: true
|
15 |
+
load_in_4bit: false
|
16 |
strict: false
|
17 |
sequence_len: 4096
|
18 |
bf16: auto
|
|
|
24 |
datasets:
|
25 |
- path: macadeliccc/opus_samantha
|
26 |
type: sharegpt
|
27 |
+
conversation: chatml
|
28 |
|
29 |
# Iterations
|
30 |
+
num_epochs: 3
|
31 |
|
32 |
# Evaluation
|
33 |
val_set_size: 0.05
|
|
|
38 |
eval_batch_size: 1
|
39 |
|
40 |
# LoRA
|
41 |
+
output_dir: ./lora-out
|
42 |
+
adapter: lora
|
43 |
lora_model_dir:
|
44 |
lora_r: 32
|
45 |
lora_alpha: 16
|
|
|
48 |
lora_fan_in_fan_out:
|
49 |
lora_target_modules:
|
50 |
|
51 |
+
lora_modules_to_save:
|
52 |
+
- embed_tokens
|
53 |
+
- lm_head
|
54 |
+
|
55 |
# Sampling
|
56 |
sample_packing: false
|
57 |
pad_to_sequence_len: false
|
|
|
82 |
weight_decay: 0
|
83 |
fsdp:
|
84 |
fsdp_config:
|
85 |
+
special_tokens:
|
86 |
+
bos_token: "<s>"
|
87 |
+
eos_token: "</s>"
|
88 |
+
unk_token: "<unk>"
|
89 |
+
tokens: # these are delimiters
|
90 |
+
- "<|im_start|>"
|
91 |
+
- "<|im_end|>"
|
92 |
```
|
93 |
|
94 |
[<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)
|