1base_model: microsoft/Phi-3.5-mini-instruct
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: anthracite-org/stheno-filtered-v1.1
11 type: sharegpt
12 conversation: chatml
13 - path: anthracite-org/nopm_claude_writing_fixed
14 type: sharegpt
15 conversation: chatml
16 - path: Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned
17 type: sharegpt
18 conversation: chatml
19 - path: ResplendentAI/bluemoon
20 type: sharegpt
21 conversation: chatml
22 - path: openerotica/freedom-rp
23 type: sharegpt
24 conversation: chatml
25 - path: MinervaAI/Aesir-Preview
26 type: sharegpt
27 conversation: chatml
28 - path: jeiku/jeikutxt
29 type: completion
30 - path: ResplendentAI/Sissification_Hypno_1k
31 type: alpaca
32 - path: ResplendentAI/theory_of_mind_fixed_output
33 type: alpaca
34 - path: ResplendentAI/Synthetic_Soul_1k
35 type: alpaca
36
37chat_template: chatml
38
39val_set_size: 0.01
40output_dir: ./outputs/out
41
42adapter:
43lora_r:
44lora_alpha:
45lora_dropout:
46lora_target_linear:
47
48sequence_len: 8192
49# sequence_len: 32768
50sample_packing: true
51eval_sample_packing: false
52pad_to_sequence_len: true
53
54plugins:
55 - axolotl.integrations.liger.LigerPlugin
56liger_rope: true
57liger_rms_norm: true
58liger_swiglu: true
59liger_fused_linear_cross_entropy: true
60
61wandb_project: phi
62wandb_entity:
63wandb_watch:
64wandb_name: phi
65wandb_log_model:
66
67gradient_accumulation_steps: 32
68micro_batch_size: 4
69num_epochs: 2
70optimizer: adamw_bnb_8bit
71lr_scheduler: cosine
72learning_rate: 0.00001
73weight_decay: 0.05
74
75train_on_inputs: false
76group_by_length: false
77bf16: auto
78fp16:
79tf32: true
80
81gradient_checkpointing: true
82early_stopping_patience:
83resume_from_checkpoint:
84local_rank:
85logging_steps: 1
86xformers_attention:
87flash_attention: true
88
89warmup_ratio: 0.1
90evals_per_epoch: 4
91eval_table_size:
92eval_max_new_tokens: 128
93saves_per_epoch: 2
94
95debug:
96deepspeed: deepspeed_configs/zero3.json
97fsdp:
98fsdp_config:
99
100special_tokens:
101 pad_token: <|finetune_right_pad_id|>
102
103