Views
No views yet
0.4.01# base_model: Qwen/Qwen-7B
2base_model: Qwen/Qwen1.5-7B
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5
6trust_remote_code: true
7
8load_in_8bit: true
9load_in_4bit: false
10strict: false
11
12datasets:
13 # - path: mhenrichsen/alpaca_2k_test
14 - path: /home/yujia/home/CN_Hateful/train_toxiCN.json
15 ds_type: json
16 type: alpaca
17dataset_prepared_path:
18val_set_size: 0.05
19output_dir: /home/yujia/home/CN_Hateful/trained_models/qwen/toxi/3e-5/
20
21sequence_len: 256 # supports up to 8192
22sample_packing: false
23pad_to_sequence_len:
24
25adapter: lora
26lora_model_dir:
27lora_r: 32
28lora_alpha: 16
29lora_dropout: 0.05
30lora_target_linear: true
31lora_fan_in_fan_out:
32
33wandb_project:
34wandb_entity:
35wandb_watch:
36wandb_name:
37wandb_log_model:
38
39gradient_accumulation_steps: 4
40micro_batch_size: 2
41num_epochs: 3
42optimizer: adamw_bnb_8bit
43lr_scheduler: cosine
44learning_rate: 0.00003
45
46train_on_inputs: false
47group_by_length: false
48bf16: auto
49fp16:
50tf32: false
51
52gradient_checkpointing: false
53early_stopping_patience:
54resume_from_checkpoint:
55local_rank:
56logging_steps: 1
57xformers_attention:
58flash_attention:
59
60warmup_steps: 10
61evals_per_epoch: 4
62eval_table_size:
63eval_max_new_tokens: 20
64saves_per_epoch: 1
65debug:
66deepspeed:
67weight_decay: 0.0
68fsdp:
69fsdp_config:
70special_tokens:
71| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 3.4697 | 0.0 | 1 | 3.5475 |
| 0.0788 | 0.25 | 142 | 0.0807 |
| 0.0973 | 0.5 | 284 | 0.0657 |
| 0.0454 | 0.75 | 426 | 0.0627 |
| 0.0263 | 1.0 | 568 | 0.0547 |
| 0.0819 | 1.26 | 710 | 0.0521 |
| 0.0552 | 1.51 | 852 | 0.0530 |
| 0.0764 | 1.76 | 994 | 0.0523 |
| 0.0503 | 2.01 | 1136 | 0.0514 |
| 0.0221 | 2.26 | 1278 | 0.0519 |
| 0.0267 | 2.51 | 1420 | 0.0534 |
| 0.0213 | 2.76 | 1562 | 0.0527 |