Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-Instruct-v0.2
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: data.jsonl
11 ds_type: json
12 type: alpaca
13dataset_prepared_path: last_run_prepared
14val_set_size: 0.1
15output_dir: ./mistral-out
16
17adapter: qlora
18lora_model_dir:
19
20hub_model_id: Burhan02/Mistral-7B-Instruct-v0.2-ft
21hub_strategy: every_save
22hf_use_auth_token: true
23
24sequence_len: 8192
25sample_packing: true
26eval_sample_packing: false
27pad_to_sequence_len: true
28
29lora_r: 32
30lora_alpha: 16
31lora_dropout: 0.05
32lora_target_linear: true
33lora_fan_in_fan_out:
34lora_target_modules:
35 - gate_proj
36 - down_proj
37 - up_proj
38 - q_proj
39 - v_proj
40 - k_proj
41 - o_proj
42
43wandb_project:
44wandb_entity:
45wandb_watch:
46wandb_name:
47wandb_log_model:
48
49gradient_accumulation_steps: 4
50micro_batch_size: 2
51num_epochs: 18
52optimizer: adamw_bnb_8bit
53lr_scheduler: cosine
54learning_rate: 0.0002
55
56train_on_inputs: false
57group_by_length: false
58bf16: auto
59fp16:
60tf32: false
61
62gradient_checkpointing: true
63early_stopping_patience:
64resume_from_checkpoint:
65local_rank:
66logging_steps: 1
67xformers_attention:
68flash_attention: true
69
70loss_watchdog_threshold: 5.0
71loss_watchdog_patience: 3
72
73warmup_steps: 10
74evals_per_epoch: 4
75eval_table_size:
76eval_max_new_tokens: 128
77saves_per_epoch: 1
78debug:
79deepspeed:
80weight_decay: 0.0
81fsdp:
82fsdp_config:
83special_tokens:
84| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.2077 | 1.0 | 1 | 0.3832 |
| 0.1985 | 2.0 | 2 | 0.3782 |
| 0.1979 | 2.0 | 3 | 0.3553 |
| 0.1901 | 3.0 | 4 | 0.3147 |
| 0.1624 | 3.0 | 5 | 0.2756 |
| 0.1489 | 4.0 | 6 | 0.2525 |
| 0.1342 | 4.0 | 7 | 0.2383 |
| 0.1137 | 5.0 | 8 | 0.2228 |
| 0.1026 | 5.0 | 9 | 0.2040 |
| 0.1001 | 6.0 | 10 | 0.1905 |
| 0.0828 | 6.0 | 11 | 0.1816 |
| 0.0746 | 7.0 | 12 | 0.1751 |
| 0.0687 | 7.0 | 13 | 0.1707 |
| 0.0544 | 8.0 | 14 | 0.1654 |
| 0.0526 | 8.0 | 15 | 0.1620 |
| 0.0469 | 9.0 | 16 | 0.1591 |
| 0.048 | 9.0 | 17 | 0.1575 |
| 0.0392 | 10.0 | 18 | 0.1573 |