Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-Instruct-v0.2
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4is_mistral_derived_model: true
5hub_model_id: if-mistral-7b-v0.2
6
7load_in_8bit: false
8load_in_4bit: true
9strict: false
10
11datasets:
12 - path: train_alpaca.jsonl
13 ds_type: json
14 type: alpaca
15val_set_size: 0.1
16output_dir: ./qlora-out
17
18adapter: qlora
19lora_model_dir:
20
21sequence_len: 1024
22sample_packing: true
23pad_to_sequence_len: true
24
25lora_r: 32
26lora_alpha: 16
27lora_dropout: 0.05
28lora_target_linear: true
29lora_fan_in_fan_out:
30lora_target_modules:
31 - gate_proj
32 - down_proj
33 - up_proj
34 - q_proj
35 - v_proj
36 - k_proj
37 - o_proj
38
39wandb_project:
40wandb_entity:
41wandb_watch:
42wandb_name:
43wandb_log_model:
44
45gradient_accumulation_steps: 4
46micro_batch_size: 2
47num_epochs: 1
48optimizer: adamw_bnb_8bit
49lr_scheduler: cosine
50learning_rate: 0.0002
51
52train_on_inputs: false
53group_by_length: false
54bf16: auto
55fp16:
56tf32: false
57
58gradient_checkpointing: true
59early_stopping_patience:
60resume_from_checkpoint:
61local_rank:
62logging_steps: 1
63xformers_attention:
64flash_attention: true
65
66loss_watchdog_threshold: 5.0
67loss_watchdog_patience: 3
68
69warmup_steps: 10
70evals_per_epoch: 4
71eval_table_size:
72eval_table_max_new_tokens: 128
73saves_per_epoch: 1
74debug:
75deepspeed:
76weight_decay: 0.0
77fsdp:
78fsdp_config:
79special_tokens:
80 bos_token: "<s>"
81 eos_token: "</s>"
82 unk_token: "<unk>"
83| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 4.7937 | 0.01 | 1 | 4.5661 |
| 2.6718 | 0.25 | 18 | 2.7041 |
| 2.5812 | 0.51 | 36 | 2.6526 |
| 2.6002 | 0.76 | 54 | 2.6317 |