Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-v0.1
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4is_mistral_derived_model: true
5
6load_in_8bit: false
7load_in_4bit: true
8strict: false
9
10lora_fan_in_fan_out: false
11data_seed: 49
12seed: 49
13
14datasets:
15 - path: sample_data/alpaca_synth_queries.jsonl
16 type: sharegpt
17 conversation: alpaca
18dataset_prepared_path: last_run_prepared
19val_set_size: 0.1
20output_dir: ./qlora-alpaca-out
21hub_model_id: caldana/hc-mistral-alpaca
22
23adapter: qlora
24lora_model_dir:
25
26sequence_len: 896
27sample_packing: false
28pad_to_sequence_len: true
29
30lora_r: 32
31lora_alpha: 16
32lora_dropout: 0.05
33lora_target_linear: true
34lora_fan_in_fan_out:
35lora_target_modules:
36 - gate_proj
37 - down_proj
38 - up_proj
39 - q_proj
40 - v_proj
41 - k_proj
42 - o_proj
43
44wandb_project:
45wandb_entity:
46
47gradient_accumulation_steps: 4
48micro_batch_size: 16
49eval_batch_size: 16
50num_epochs: 100
51optimizer: adamw_bnb_8bit
52lr_scheduler: cosine
53learning_rate: 0.0002
54max_grad_norm: 1.0
55adam_beta2: 0.95
56adam_epsilon: 0.00001
57save_total_limit: 12
58
59train_on_inputs: false
60group_by_length: false
61bf16: true
62fp16: false
63tf32: false
64
65gradient_checkpointing: true
66early_stopping_patience:
67resume_from_checkpoint:
68local_rank:
69logging_steps: 1
70xformers_attention:
71flash_attention: true
72
73loss_watchdog_threshold: 5.0
74loss_watchdog_patience: 3
75
76warmup_steps: 20
77evals_per_epoch: 3
78eval_table_size:
79eval_table_max_new_tokens: 128
80saves_per_epoch: 6
81debug:
82weight_decay: 0.0
83fsdp:
84fsdp_config:
85special_tokens:
86 bos_token: "<s>"
87 eos_token: "</s>"
88 unk_token: "<unk>"
89save_safetensors: true
90| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.334 | 0.6667 | 1 | 1.2849 |
| 1.3476 | 1.3333 | 2 | 1.2780 |
| 1.2981 | 2.0 | 3 | 1.2487 |
| 1.3157 | 2.6667 | 4 | 1.1840 |
| 1.1757 | 3.3333 | 5 | 1.0690 |
| 1.1376 | 4.0 | 6 | 0.9086 |
| 0.9395 | 4.6667 | 7 | 0.7184 |
| 0.7385 | 5.3333 | 8 | 0.5617 |
| 0.5541 | 6.0 | 9 | 0.4307 |
| 0.4056 | 6.6667 | 10 | 0.3257 |
| 0.2791 | 7.3333 | 11 | 0.2866 |
| 0.2198 | 8.0 | 12 | 0.2453 |
| 0.1746 | 8.6667 | 13 | 0.2167 |
| 0.1582 | 9.3333 | 14 | 0.2104 |
| 0.1515 | 10.0 | 15 | 0.1699 |
| 0.1168 | 10.6667 | 16 | 0.1502 |
| 0.087 | 11.3333 | 17 | 0.1415 |
| 0.1 | 12.0 | 18 | 0.1574 |
| 0.0832 | 12.6667 | 19 | 0.1699 |
| 0.0765 | 13.3333 | 20 | 0.1601 |
| 0.0697 | 14.0 | 21 | 0.1544 |
| 0.0625 | 14.6667 | 22 | 0.1653 |
| 0.0583 | 15.3333 | 23 | 0.1628 |
| 0.047 | 16.0 | 24 | 0.1463 |
| 0.0366 | 16.6667 | 25 | 0.1637 |
| 0.0342 | 17.3333 | 26 | 0.2020 |
| 0.0398 | 18.0 | 27 | 0.1801 |
| 0.0319 | 18.6667 | 28 | 0.1835 |
| 0.0229 | 19.3333 | 29 | 0.1957 |
| 0.0286 | 20.0 | 30 | 0.2024 |
| 0.0166 | 20.6667 | 31 | 0.2519 |
| 0.0184 | 21.3333 | 32 | 0.2699 |
| 0.0129 | 22.0 | 33 | 0.2813 |
| 0.0109 | 22.6667 | 34 | 0.2950 |
| 0.0105 | 23.3333 | 35 | 0.3037 |
| 0.0111 | 24.0 | 36 | 0.3161 |
| 0.0071 | 24.6667 | 37 | 0.3310 |
| 0.0115 | 25.3333 | 38 | 0.3375 |
| 0.0051 | 26.0 | 39 | 0.3456 |
| 0.004 | 26.6667 | 40 | 0.3488 |
| 0.0077 | 27.3333 | 41 | 0.3599 |
| 0.0028 | 28.0 | 42 | 0.3706 |
| 0.0021 | 28.6667 | 43 | 0.3737 |
| 0.002 | 29.3333 | 44 | 0.3729 |
| 0.0017 | 30.0 | 45 | 0.3742 |
| 0.0013 | 30.6667 | 46 | 0.3757 |
| 0.0004 | 31.3333 | 47 | 0.3755 |
| 0.0006 | 32.0 | 48 | 0.3764 |
| 0.0002 | 32.6667 | 49 | 0.3750 |
| 0.0011 | 33.3333 | 50 | 0.3646 |
| 0.0005 | 34.0 | 51 | 0.3586 |
| 0.0013 | 34.6667 | 52 | 0.3617 |
| 0.0005 | 35.3333 | 53 | 0.3638 |
| 0.0011 | 36.0 | 54 | 0.3657 |
| 0.0003 | 36.6667 | 55 | 0.3710 |
| 0.0002 | 37.3333 | 56 | 0.3711 |
| 0.0004 | 38.0 | 57 | 0.3736 |
| 0.0003 | 38.6667 | 58 | 0.3784 |
| 0.0001 | 39.3333 | 59 | 0.3795 |
| 0.0007 | 40.0 | 60 | 0.3737 |
| 0.0001 | 40.6667 | 61 | 0.3730 |
| 0.0003 | 41.3333 | 62 | 0.3729 |
| 0.0002 | 42.0 | 63 | 0.3714 |
| 0.0001 | 42.6667 | 64 | 0.3698 |
| 0.0001 | 43.3333 | 65 | 0.3704 |
| 0.0001 | 44.0 | 66 | 0.3704 |
| 0.0001 | 44.6667 | 67 | 0.3705 |
| 0.0001 | 45.3333 | 68 | 0.3655 |
| 0.0002 | 46.0 | 69 | 0.3672 |
| 0.0002 | 46.6667 | 70 | 0.3682 |
| 0.0002 | 47.3333 | 71 | 0.3656 |
| 0.0001 | 48.0 | 72 | 0.3663 |
| 0.0001 | 48.6667 | 73 | 0.3668 |
| 0.0001 | 49.3333 | 74 | 0.3673 |
| 0.0001 | 50.0 | 75 | 0.3638 |
| 0.0001 | 50.6667 | 76 | 0.3640 |
| 0.0001 | 51.3333 | 77 | 0.3643 |
| 0.0001 | 52.0 | 78 | 0.3640 |
| 0.0001 | 52.6667 | 79 | 0.3648 |
| 0.0001 | 53.3333 | 80 | 0.3629 |
| 0.0001 | 54.0 | 81 | 0.3648 |
| 0.0001 | 54.6667 | 82 | 0.3617 |
| 0.0001 | 55.3333 | 83 | 0.3632 |
| 0.0001 | 56.0 | 84 | 0.3650 |
| 0.0001 | 56.6667 | 85 | 0.3636 |
| 0.0001 | 57.3333 | 86 | 0.3633 |
| 0.0001 | 58.0 | 87 | 0.3673 |
| 0.0001 | 58.6667 | 88 | 0.3663 |
| 0.0001 | 59.3333 | 89 | 0.3618 |
| 0.0001 | 60.0 | 90 | 0.3635 |
| 0.0001 | 60.6667 | 91 | 0.3605 |
| 0.0001 | 61.3333 | 92 | 0.3654 |
| 0.0001 | 62.0 | 93 | 0.3647 |
| 0.0001 | 62.6667 | 94 | 0.3586 |
| 0.0001 | 63.3333 | 95 | 0.3601 |
| 0.0001 | 64.0 | 96 | 0.3631 |
| 0.0001 | 64.6667 | 97 | 0.3629 |
| 0.0001 | 65.3333 | 98 | 0.3652 |
| 0.0001 | 66.0 | 99 | 0.3645 |
| 0.0001 | 66.6667 | 100 | 0.3648 |