Views
No views yet
0.4.11base_model: Qwen/Qwen2.5-7B-Instruct
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: Jennny/strict_mc_label
11 conversation: qwen-7b-chat
12 type: sharegpt
13 split: "train"
14 train_on_split: "train"
15
16warmup_ratio: 0.05
17val_set_size: 0.0
18output_dir: ./prm
19wandb_project: preference-models
20# wandb_entity: domain-generalization
21wandb_watch:
22wandb_name: "qwen-7b-bs32_lr2e-6_prm"
23wandb_log_model:
24
25train_on_inputs: false
26
27save_safetensors: true
28#noisy_embedding_alpha: 10.0 # default for sharegpt type
29dataset_prepared_path: ~/data/preference-models/last_run_prepared
30
31dataset_processes: 48
32#torch_compile: true
33sequence_len: 8192
34sample_packing: true
35pad_to_sequence_len: true
36
37trust_remote_code: True
38adapter:
39lora_model_dir:
40#lora_r: 32
41#lora_alpha: 16
42#lora_dropout: 0.05
43#lora_target_linear: true
44#lora_fan_in_fan_out:
45
46gradient_checkpointing: True
47
48#warmup_ratio: 0.1
49gradient_accumulation_steps: 4
50micro_batch_size: 1
51num_epochs: 1
52#max_steps: 10
53#optimizer: adamw_torch_fused
54optimizer: paged_adamw_32bit
55#lr_scheduler: constant_with_warmup
56lr_scheduler: cosine
57learning_rate: 2.0e-6
58
59weight_decay: 0.0
60max_grad_norm: 1.0
61
62group_by_length: false
63bf16: auto
64fp16: false
65tf32: true
66
67early_stopping_patience:
68local_rank:
69logging_steps: 2
70xformers_attention:
71flash_attention: true
72
73eval_steps:
74eval_table_size:
75eval_table_max_new_tokens:
76#save_steps: 100
77save_strategy: "epoch"
78save_total_limit: 4
79#save_safetensors: false
80debug:
81
82ddp: #true
83deepspeed: #deepspeed/zero1.json # multi-gpu only
84
85fsdp:
86fsdp_config:
87special_tokens:
88 pad_token: <|end_of_text|>
89| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.0296 | 1 | 3.5810 |
| 3.6289 | 0.0593 | 2 | 2.8980 |
| 3.6289 | 0.0889 | 3 | 1.3876 |
| 2.1145 | 0.1185 | 4 | 0.4411 |
| 2.1145 | 0.1481 | 5 | 0.2394 |
| 0.3565 | 0.1778 | 6 | 0.1183 |
| 0.3565 | 0.2074 | 7 | 0.0618 |
| 0.0918 | 0.2370 | 8 | 0.1148 |
| 0.0918 | 0.2667 | 9 | 0.0619 |
| 0.0815 | 0.2963 | 10 | 0.0790 |
| 0.0815 | 0.3259 | 11 | 0.0636 |
| 0.0707 | 0.3556 | 12 | 0.0596 |
| 0.0707 | 0.3852 | 13 | 0.0577 |
| 0.0521 | 0.4148 | 14 | 0.0554 |
| 0.0521 | 0.4444 | 15 | 0.0563 |
| 0.0587 | 0.4741 | 16 | 0.0559 |
| 0.0587 | 0.5037 | 17 | 0.0517 |
| 0.0519 | 0.5333 | 18 | 0.0529 |
| 0.0519 | 0.5630 | 19 | 0.0559 |
| 0.0512 | 0.5926 | 20 | 0.0524 |
| 0.0512 | 0.6222 | 21 | 0.0513 |
| 0.0505 | 0.6519 | 22 | 0.0513 |
| 0.0505 | 0.6815 | 23 | 0.0512 |
| 0.1024 | 0.7111 | 24 | 0.0521 |
| 0.1024 | 0.7407 | 25 | 0.0507 |
| 0.0486 | 0.7704 | 26 | 0.0498 |
| 0.0486 | 0.8 | 27 | 0.0505 |
| 0.0485 | 0.8296 | 28 | 0.0495 |
| 0.0485 | 0.8593 | 29 | 0.0482 |
| 0.0497 | 0.8889 | 30 | 0.0495 |
| 0.0497 | 0.9185 | 31 | 0.0511 |
| 0.074 | 0.9481 | 32 | 0.0485 |
| 0.074 | 0.9778 | 33 | 0.0484 |
| 0.047 | 1.0074 | 34 | 0.0493 |
| 0.047 | 1.0148 | 35 | 0.0483 |
| 0.0448 | 1.0444 | 36 | 0.0480 |
| 0.0448 | 1.0741 | 37 | 0.0483 |
| 0.041 | 1.1037 | 38 | 0.0477 |
| 0.041 | 1.1333 | 39 | 0.0471 |
| 0.0463 | 1.1630 | 40 | 0.0467 |
| 0.0463 | 1.1926 | 41 | 0.0465 |
| 0.0435 | 1.2222 | 42 | 0.0464 |
| 0.0435 | 1.2519 | 43 | 0.0469 |
| 0.0457 | 1.2815 | 44 | 0.0472 |
| 0.0457 | 1.3111 | 45 | 0.0467 |
| 0.0484 | 1.3407 | 46 | 0.0462 |
| 0.0484 | 1.3704 | 47 | 0.0461 |
| 0.0449 | 1.4 | 48 | 0.0459 |
| 0.0449 | 1.4296 | 49 | 0.0458 |
| 0.0481 | 1.4593 | 50 | 0.0458 |
| 0.0481 | 1.4889 | 51 | 0.0459 |
| 0.0433 | 1.5185 | 52 | 0.0461 |
| 0.0433 | 1.5481 | 53 | 0.0461 |
| 0.042 | 1.5778 | 54 | 0.0458 |
| 0.042 | 1.6074 | 55 | 0.0458 |
| 0.0428 | 1.6370 | 56 | 0.0457 |
| 0.0428 | 1.6667 | 57 | 0.0457 |
| 0.0443 | 1.6963 | 58 | 0.0457 |
| 0.0443 | 1.7259 | 59 | 0.0457 |
| 0.0428 | 1.7556 | 60 | 0.0457 |
| 0.0428 | 1.7852 | 61 | 0.0457 |
| 0.042 | 1.8148 | 62 | 0.0458 |
| 0.042 | 1.8444 | 63 | 0.0457 |
| 0.0433 | 1.8741 | 64 | 0.0457 |
| 0.0433 | 1.9037 | 65 | 0.0458 |
| 0.0397 | 1.9333 | 66 | 0.0457 |