1base_model: NeverSleep/MiquMaid-v2-70B
2model_type: LlamaForCausalLM
3tokenizer_type: LlamaTokenizer
4is_llama_derived_model: true
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10rl: dpo
11datasets:
12 - path: NobodyExistsOnTheInternet/ToxicDPOqa
13 split: train
14 type: chatml.alpaca
15 - path: Undi95/toxic-dpo-v0.1-NoWarning
16 split: train
17 type: chatml.alpaca2
18dataset_prepared_path:
19val_set_size: 0.0
20output_dir: ./out
21
22adapter: qlora
23lora_model_dir:
24
25sequence_len: 1024
26sample_packing: false
27pad_to_sequence_len: true
28
29lora_r: 16
30lora_alpha: 8
31lora_dropout: 0.05
32lora_target_modules:
33lora_target_linear: true
34lora_fan_in_fan_out:
35
36wandb_project: MiquMaidDPO
37wandb_entity:
38wandb_watch:
39wandb_name:
40wandb_log_model:
41
42gradient_accumulation_steps: 4
43micro_batch_size: 3
44num_epochs: 3
45optimizer: adamw_bnb_8bit
46lr_scheduler: cosine
47learning_rate: 0.000001
48
49train_on_inputs: false
50group_by_length: false
51bf16: true
52fp16: false
53tf32: true
54
55gradient_checkpointing: true
56gradient_checkpointing_kwargs:
57 use_reentrant: true
58early_stopping_patience:
59resume_from_checkpoint:
60local_rank:
61logging_steps: 1
62xformers_attention:
63flash_attention: true
64
65warmup_steps: 10
66eval_steps:
67eval_table_size:
68saves_per_epoch: 1
69debug:
70deepspeed: ./axolotl/deepspeed_configs/zero2.json
71weight_decay: 0.0
72fsdp:
73fsdp_config:
74special_tokens:
75 bos_token: "<s>"
76 eos_token: "</s>"
77 unk_token: "<unk>"
78