Views
No views yet
0.4.11base_model: mistralai/Mistral-7B-v0.1
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: false
6load_in_4bit: true
7strict: false
8
9datasets:
10 - path: /workspace/data/subset_ophm/subset.json
11 type: sharegpt
12 conversation: chatml
13chat_template: chatml
14dataset_prepared_path: last_run_prepared
15val_set_size: 0.01
16output_dir: ./outputs/qlora-out
17
18adapter: qlora
19lora_model_dir:
20
21sequence_len: 8192
22sample_packing: true
23pad_to_sequence_len: true
24
25eval_sample_packing: false
26
27lora_r: 32
28lora_alpha: 16
29lora_dropout: 0.05
30lora_target_linear: true
31lora_fan_in_fan_out:
32lora_target_modules:
33 - gate_proj
34 - down_proj
35 - up_proj
36 - q_proj
37 - v_proj
38 - k_proj
39 - o_proj
40
41wandb_project: try
42wandb_entity: sanchuan
43wandb_watch: "true"
44wandb_name: end_try
45wandb_log_model: "checkpoint"
46
47gradient_accumulation_steps: 8
48micro_batch_size: 2
49num_epochs: 1
50optimizer: adamw_bnb_8bit
51lr_scheduler: cosine
52learning_rate: 0.0002
53
54train_on_inputs: false
55group_by_length: false
56bf16: auto
57fp16:
58tf32: false
59
60gradient_checkpointing: true
61early_stopping_patience:
62resume_from_checkpoint:
63local_rank:
64logging_steps: 1
65xformers_attention:
66flash_attention: true
67
68loss_watchdog_threshold: 5.0
69loss_watchdog_patience: 3
70
71warmup_steps: 10
72evals_per_epoch: 4
73eval_table_size:
74eval_max_new_tokens: 128
75saves_per_epoch: 1
76debug:
77deepspeed:
78weight_decay: 0.0
79fsdp:
80fsdp_config:
81special_tokens:
82| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.6721 | 0.0028 | 1 | 0.8014 |
| 0.5585 | 0.2496 | 89 | 0.5805 |
| 0.5953 | 0.4991 | 178 | 0.5657 |
| 0.5453 | 0.7487 | 267 | 0.5579 |
| 0.5728 | 0.9982 | 356 | 0.5560 |