Views
No views yet
0.4.01base_model: rizla/rizla-17
2model_type: AutoModelForCausalLM
3tokenizer_type: LlamaTokenizer
4trust_remote_code: true
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: meta-math/MetaMathQA-40K
11 type:
12 system_prompt: "You are an expert problem solver who is great at teaching how to solve problems via first principles reasoning"
13 field_system: system
14 field_instruction: query
15 field_output: response
16 format: "[INST] {instruction} [/INST]"
17 no_input_format: "[INST] {instruction} [/INST]"
18
19dataset_prepared_path: last_run_prepared
20val_set_size: 0.0
21output_dir: ./lorazapam-out
22## You can optionally freeze the entire model and unfreeze a subset of parameters
23# - lm_head.*
24# - model.embed_tokens.*
25# - model.layers.2[0-9]+.block_sparse_moe.gate.*
26# - model.layers.2[0-9]+.block_sparse_moe.experts.*
27# - model.layers.3[0-9]+.block_sparse_moe.gate.*
28# - model.layers.3[0-9]+.block_sparse_moe.experts.*
29
30model_config:
31 output_router_logits: true
32
33adapter: qlora
34lora_model_dir:
35
36sequence_len: 512
37sample_packing: true
38pad_to_sequence_len: true
39
40lora_r: 32
41lora_alpha: 16
42lora_dropout: 0.05
43lora_target_linear: true
44lora_fan_in_fan_out:
45
46wandb_project:
47wandb_entity:
48wandb_watch:
49wandb_name:
50wandb_log_model:
51
52gradient_accumulation_steps: 2
53micro_batch_size: 16
54num_epochs: 1
55optimizer: adamw_bnb_8bit
56lr_scheduler: cosine
57learning_rate: 0.0002
58
59train_on_inputs: false
60group_by_length: false
61bf16: true
62fp16:
63tf32: false
64
65gradient_checkpointing: true
66early_stopping_patience:
67resume_from_checkpoint:
68local_rank:
69logging_steps: 1
70xformers_attention: false
71flash_attention: true
72
73loss_watchdog_threshold: 5.0
74loss_watchdog_patience: 3
75
76warmup_steps: 10
77evals_per_epoch: 1
78eval_table_size:
79eval_table_max_new_tokens: 128
80saves_per_epoch: 1
81debug:
82# deepspeed: deepspeed_configs/zero_1.json
83weight_decay: 0.0
84fsdp:
85fsdp_config:
86special_tokens:
87 bos_token: "<s>"
88 eos_token: "</s>"
89 unk_token: "<unk>"
90