Views
No views yet
0.4.01base_model: Crystalcareai/CrystalMistral-13b
2model_type: AutoModelForCausalLM
3tokenizer_type: LlamaTokenizer
4trust_remote_code: true
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10rl: dpo
11datasets:
12 - path: Crystalcareai/truthyDPO-intel
13 split: train
14 type: chatml.intel
15 - path: Crystalcareai/distilabel-intel-orca-dpo-pairs_intel_format
16 split: train
17 type: chatml.intel
18
19dataset_prepared_path: last_run_prepared
20val_set_size: 0.0
21output_dir: ./qlora-out
22
23## You can optionally freeze the entire model and unfreeze a subset of parameters
24unfrozen_parameters:
25# - lm_head.*
26# - model.embed_tokens.*
27# - model.layers.2[0-9]+.block_sparse_moe.gate.*
28# - model.layers.2[0-9]+.block_sparse_moe.experts.*
29# - model.layers.3[0-9]+.block_sparse_moe.gate.*
30# - model.layers.3[0-9]+.block_sparse_moe.experts.*
31
32model_config:
33 output_router_logits: true
34
35adapter: qlora
36lora_model_dir:
37
38sequence_len: 4096
39sample_packing: false
40pad_to_sequence_len: true
41
42lora_r: 32
43lora_alpha: 16
44lora_dropout: 0.05
45lora_target_linear: true
46lora_fan_in_fan_out:
47#lora_target_modules:
48# - gate
49# - q_proj
50# - k_proj
51# - v_proj
52# - o_proj
53# - w1
54# - w2
55# - w3
56
57wandb_project:
58wandb_entity:
59wandb_watch:
60wandb_name:
61wandb_log_model:
62
63gradient_accumulation_steps: 16
64micro_batch_size: 1
65num_epochs: 1
66optimizer: adamw_bnb_8bit
67lr_scheduler: cosine
68learning_rate: 0.0002
69
70train_on_inputs: false
71group_by_length: false
72bf16: auto
73fp16:
74tf32: false
75
76gradient_checkpointing: true
77early_stopping_patience:
78resume_from_checkpoint:
79local_rank:
80logging_steps: 1
81xformers_attention:
82flash_attention: true
83
84loss_watchdog_threshold: 5.0
85loss_watchdog_patience: 3
86
87warmup_steps: 10
88evals_per_epoch: 4
89eval_table_size:
90eval_table_max_new_tokens: 128
91saves_per_epoch: 1
92debug:
93deepspeed:
94weight_decay: 0.0
95fsdp:
96fsdp_config:
97special_tokens:
98