Views
No views yet
0.4.01base_model: mistralai/Mistral-7B-v0.1
2model_type: MistralForCausalLM
3tokenizer_type: LlamaTokenizer
4
5load_in_8bit: true
6load_in_4bit: false
7strict: false
8
9datasets:
10 # - path: mhenrichsen/alpaca_2k_test
11 - path: /home/yujia/home/CN_Hateful/train_toxiCN.json
12 ds_type: json
13 type: alpaca
14dataset_prepared_path: last_run_prepared
15val_set_size: 0.1
16output_dir: /home/yujia/home/CN_Hateful/experiment/mistral/toxi/1e-5/
17
18
19adapter: lora
20lora_model_dir:
21
22sequence_len: 256
23sample_packing: true
24pad_to_sequence_len: true
25
26lora_r: 32
27lora_alpha: 16
28lora_dropout: 0.05
29lora_target_linear: true
30lora_fan_in_fan_out:
31lora_target_modules:
32 - gate_proj
33 - down_proj
34 - up_proj
35 - q_proj
36 - v_proj
37 - k_proj
38 - o_proj
39
40wandb_project:
41wandb_entity:
42wandb_watch:
43wandb_name:
44wandb_log_model:
45
46gradient_accumulation_steps: 8
47micro_batch_size: 4
48num_epochs: 3
49optimizer: adamw_bnb_8bit
50lr_scheduler: cosine
51learning_rate: 0.00001
52
53train_on_inputs: false
54group_by_length: false
55bf16: auto
56fp16:
57tf32: false
58
59gradient_checkpointing: true
60early_stopping_patience:
61resume_from_checkpoint:
62local_rank:
63logging_steps: 1
64xformers_attention:
65flash_attention: true
66
67loss_watchdog_threshold: 5.0
68loss_watchdog_patience: 3
69
70warmup_steps: 10
71evals_per_epoch: 4
72eval_table_size:
73eval_max_new_tokens: 128
74saves_per_epoch: 1
75debug:
76deepspeed:
77weight_decay: 0.0
78fsdp:
79fsdp_config:
80special_tokens:
81| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.8988 | 0.02 | 1 | 2.8992 |
| 1.7314 | 0.25 | 14 | 1.5246 |
| 0.0935 | 0.5 | 28 | 0.0929 |
| 0.0895 | 0.75 | 42 | 0.0832 |
| 0.0697 | 1.0 | 56 | 0.0809 |
| 0.0709 | 1.22 | 70 | 0.0793 |
| 0.0853 | 1.47 | 84 | 0.0778 |
| 0.0794 | 1.72 | 98 | 0.0785 |
| 0.0741 | 1.97 | 112 | 0.0758 |
| 0.0783 | 2.2 | 126 | 0.0762 |
| 0.0825 | 2.45 | 140 | 0.0748 |
| 0.0716 | 2.7 | 154 | 0.0757 |
| 0.0671 | 2.95 | 168 | 0.0745 |