Views
No views yet
0.8.11base_model: mistralai/Mistral-7B-v0.1
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9torch_compile: true
10torch_compile_backend: inductor
11
12lora_mlp_kernel: true
13lora_qkv_kernel: true
14lora_o_kernel: true
15
16datasets:
17 - path: ./math_genie/patch/train
18 type:
19 system_prompt: ""
20 field_system: system
21 field_instruction: question
22 field_output: answer
23 format: "Question:{instruction}\nAnswer:"
24 no_input_format: "Question:{instruction}\nAnswer:"
25 ds_type: arrow
26
27val_set_size: 0.05
28
29output_dir: ./peft_output/mistral7b-math_genie_patch
30
31sequence_len: 2048
32sample_packing: true
33pad_to_sequence_len: true
34eval_sample_packing: false
35
36adapter: lora
37lora_model_dir:
38
39lora_r: 8
40lora_alpha: 16
41lora_dropout: 0.15
42lora_target_linear: true
43lora_fan_in_fan_out:
44lora_target_modules:
45 - gate_proj
46 - down_proj
47 - up_proj
48 - q_proj
49 - v_proj
50 - k_proj
51 - o_proj
52
53wandb_project:
54wandb_entity:
55wandb_watch:
56wandb_name:
57wandb_log_model:
58
59gradient_accumulation_steps: 1
60micro_batch_size: 16
61num_epochs: 4
62optimizer: adamw_torch_fused
63learning_rate: 2e-4
64lr_scheduler: cosine
65lr_scheduler_kwargs:
66cosine_min_lr_ratio: 0.1
67cosine_constant_lr_ratio: 0.8
68
69train_on_inputs: false
70group_by_length: false
71bf16: true
72fp16:
73tf32: false
74
75gradient_checkpointing: true
76early_stopping_patience:
77local_rank:
78logging_steps: 1
79xformers_attention: false
80flash_attention: true
81
82loss_watchdog_threshold: 20.0
83loss_watchdog_patience: 5
84
85warmup_ratio: 0.1
86evals_per_epoch: 1
87saves_per_epoch: 2
88save_strategy: best
89debug:
90deepspeed:
91weight_decay: 0.02
92fsdp:
93fsdp_config:
94special_tokens:
95
96plugins:
97 - axolotl.integrations.liger.LigerPlugin
98liger_rope: true
99liger_rms_norm: true
100liger_glu_activation: true
101liger_layer_norm: true
102liger_fused_linear_cross_entropy: true| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.6507 | 0.0526 | 1 | 0.6676 |
| 0.3424 | 1.0 | 19 | 0.3352 |
| 0.2915 | 2.0 | 38 | 0.3036 |
| 0.2815 | 3.0 | 57 | 0.2944 |
| 0.2869 | 4.0 | 76 | 0.2911 |