-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmi300x-llama3.1-70b-fft.dsz3.liger.yaml
70 lines (59 loc) · 1.38 KB
/
mi300x-llama3.1-70b-fft.dsz3.liger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
base_model: meta-llama/Llama-3.1-70B-Instruct
model_type: LlamaForCausalLM
tokenizer_type: AutoTokenizer
load_in_8bit: false
load_in_4bit: false
strict: false
# doesn't work...
# hub_model_id: shisa-ai/shisa-llama3-70b-v1
# hub_strategy: end
use_wandb: true
wandb_project: shisa-v2
wandb_entity: augmxnt
wandb_name: mi300x-shisa-llama3.1-70b-v1-dsz3.liger
chat_template: llama3
datasets:
- path: augmxnt/ultra-orca-boros-en-ja-v1
type: sharegpt
dataset_prepared_path: last_run_prepared
val_set_size: 0.05
output_dir: ./outputs/basemodel-llama3-70b.8e6
sequence_len: 4096
sample_packing: true
pad_to_sequence_len: true
neftune_noise_alpha: 5
gradient_accumulation_steps: 1
micro_batch_size: 8
num_epochs: 3
optimizer: paged_adamw_8bit
lr_scheduler: linear
learning_rate: 2e-5
train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_ratio: 0.1
evals_per_epoch: 2
eval_table_size:
saves_per_epoch: 0
debug:
deepspeed: axolotl/deepspeed_configs/zero3_bf16.json
weight_decay: 0.05
fsdp:
fsdp_config:
special_tokens:
pad_token: <|end_of_text|>
plugins:
- axolotl.integrations.liger.LigerPlugin
liger_rope: true
liger_rms_norm: true
liger_swiglu: true
liger_fused_linear_cross_entropy: true