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 # - path: /home/yujia/home/CN_Hateful/train_toxiCN_cn.json
13 - path: /home/yujia/home/CN_Hateful/train.json
14 ds_type: json
15 type: alpaca
16dataset_prepared_path: last_run_prepared
17val_set_size: 0.1
18# output_dir: /home/yujia/home/CN_Hateful/trained_models/mistral/toxi/1e-5/
19# output_dir: /home/yujia/home/CN_Hateful/trained_models/mistral/CN/toxi/1e-5/
20output_dir: /home/yujia/home/CN_Hateful/trained_models/mistral/cold/3e-4/
21
22
23
24adapter: lora
25lora_model_dir:
26
27sequence_len: 256
28sample_packing: true
29pad_to_sequence_len: true
30
31lora_r: 32
32lora_alpha: 16
33lora_dropout: 0.05
34lora_target_linear: true
35lora_fan_in_fan_out:
36lora_target_modules:
37 - gate_proj
38 - down_proj
39 - up_proj
40 - q_proj
41 - v_proj
42 - k_proj
43 - o_proj
44
45wandb_project:
46wandb_entity:
47wandb_watch:
48wandb_name:
49wandb_log_model:
50
51gradient_accumulation_steps: 8
52micro_batch_size: 4
53num_epochs: 3
54optimizer: adamw_bnb_8bit
55lr_scheduler: cosine
56learning_rate: 0.0003
57
58train_on_inputs: false
59group_by_length: false
60bf16: auto
61fp16:
62tf32: false
63
64gradient_checkpointing: true
65early_stopping_patience:
66resume_from_checkpoint:
67local_rank:
68logging_steps: 1
69xformers_attention:
70flash_attention: true
71
72loss_watchdog_threshold: 5.0
73loss_watchdog_patience: 3
74
75warmup_steps: 10
76evals_per_epoch: 4
77eval_table_size:
78eval_max_new_tokens: 128
79saves_per_epoch: 1
80debug:
81deepspeed:
82weight_decay: 0.0
83fsdp:
84fsdp_config:
85special_tokens:
86| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.9655 | 0.01 | 1 | 2.9710 |
| 0.0451 | 0.25 | 46 | 0.0619 |
| 0.0541 | 0.5 | 92 | 0.0392 |
| 0.0353 | 0.75 | 138 | 0.0345 |
| 0.0249 | 1.0 | 184 | 0.0315 |
| 0.0259 | 1.23 | 230 | 0.0329 |
| 0.0238 | 1.48 | 276 | 0.0309 |
| 0.019 | 1.73 | 322 | 0.0305 |
| 0.0173 | 1.97 | 368 | 0.0313 |
| 0.0051 | 2.21 | 414 | 0.0369 |
| 0.0093 | 2.46 | 460 | 0.0436 |
| 0.0023 | 2.71 | 506 | 0.0407 |
| 0.003 | 2.95 | 552 | 0.0406 |