1base_model: mistralai/Mixtral-8x7B-v0.1
2model_type: AutoModelForCausalLM
3tokenizer_type: LlamaTokenizer
4trust_remote_code: true
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9datasets:
10 - path: cognitivecomputations/WizardLM_evol_instruct_V2_196k_unfiltered_merged_split
11 type: sharegpt
12 conversation: chatml
13dataset_prepared_path: last_run_prepared
14val_set_size: 0.02
15output_dir: ./qlora-out
16model_config:
17 output_router_logits: true
18adapter: qlora
19lora_model_dir:
20sequence_len: 1024
21sample_packing: false
22pad_to_sequence_len: false
23lora_r: 16
24lora_alpha: 16
25lora_dropout: 0.05
26lora_target_linear: true
27lora_fan_in_fan_out:
28wandb_project: fsdp
29wandb_entity:
30wandb_watch:
31wandb_name:
32wandb_log_model:
33gradient_accumulation_steps: 4
34micro_batch_size: 2
35num_epochs: 1
36max_steps: 100
37optimizer: paged_adamw_8bit
38lr_scheduler: cosine
39learning_rate: 0.0002
40train_on_inputs: false
41group_by_length: false
42bf16: auto
43fp16:
44tf32: false
45gradient_checkpointing: true
46early_stopping_patience:
47resume_from_checkpoint:
48local_rank:
49logging_steps: 1
50xformers_attention:
51flash_attention: true
52loss_watchdog_threshold: 5.0
53loss_watchdog_patience: 3
54warmup_steps: 10
55evals_per_epoch: 4
56eval_table_size:
57eval_max_new_tokens: 128
58saves_per_epoch: 1
59debug:
60weight_decay: 0.0
61fsdp:
62 - full_shard
63fsdp_config:
64 fsdp_transformer_layer_cls_to_wrap: MixtralSparseMoeBlock
65special_tokens: