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/direct_label_rolls
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.0290 | 1 | 3.8909 |
| 3.8462 | 0.0580 | 2 | 3.1606 |
| 3.8462 | 0.0870 | 3 | 1.4003 |
| 2.3026 | 0.1159 | 4 | 0.5247 |
| 2.3026 | 0.1449 | 5 | 0.2535 |
| 0.3725 | 0.1739 | 6 | 0.1224 |
| 0.3725 | 0.2029 | 7 | 0.0711 |
| 0.1704 | 0.2319 | 8 | 0.0705 |
| 0.1704 | 0.2609 | 9 | 0.0842 |
| 0.0719 | 0.2899 | 10 | 0.0684 |
| 0.0719 | 0.3188 | 11 | 0.0837 |
| 0.0719 | 0.3478 | 12 | 0.0794 |
| 0.0719 | 0.3768 | 13 | 0.0679 |
| 0.0729 | 0.4058 | 14 | 0.0607 |
| 0.0729 | 0.4348 | 15 | 0.0682 |
| 0.0639 | 0.4638 | 16 | 0.0660 |
| 0.0639 | 0.4928 | 17 | 0.0607 |
| 0.0659 | 0.5217 | 18 | 0.0609 |
| 0.0659 | 0.5507 | 19 | 0.0599 |
| 0.0584 | 0.5797 | 20 | 0.0595 |
| 0.0584 | 0.6087 | 21 | 0.0579 |
| 0.059 | 0.6377 | 22 | 0.0572 |
| 0.059 | 0.6667 | 23 | 0.0579 |
| 0.1069 | 0.6957 | 24 | 0.0617 |
| 0.1069 | 0.7246 | 25 | 0.0601 |
| 0.0585 | 0.7536 | 26 | 0.0563 |
| 0.0585 | 0.7826 | 27 | 0.0598 |
| 0.097 | 0.8116 | 28 | 0.0590 |
| 0.097 | 0.8406 | 29 | 0.0548 |
| 0.059 | 0.8696 | 30 | 0.0559 |
| 0.059 | 0.8986 | 31 | 0.0570 |
| 0.0695 | 0.9275 | 32 | 0.0548 |
| 0.0695 | 0.9565 | 33 | 0.0554 |
| 0.0533 | 0.9855 | 34 | 0.0564 |
| 0.0533 | 1.0145 | 35 | 0.0541 |
| 0.0544 | 1.0145 | 36 | 0.0548 |
| 0.0544 | 1.0435 | 37 | 0.0555 |
| 0.0555 | 1.0725 | 38 | 0.0531 |
| 0.0555 | 1.1014 | 39 | 0.0532 |
| 0.0524 | 1.1304 | 40 | 0.0536 |
| 0.0524 | 1.1594 | 41 | 0.0519 |
| 0.0641 | 1.1884 | 42 | 0.0520 |
| 0.0641 | 1.2174 | 43 | 0.0522 |
| 0.0494 | 1.2464 | 44 | 0.0514 |
| 0.0494 | 1.2754 | 45 | 0.0511 |
| 0.0502 | 1.3043 | 46 | 0.0514 |
| 0.0502 | 1.3333 | 47 | 0.0511 |
| 0.0482 | 1.3623 | 48 | 0.0505 |
| 0.0482 | 1.3913 | 49 | 0.0511 |
| 0.0472 | 1.4203 | 50 | 0.0509 |
| 0.0472 | 1.4493 | 51 | 0.0498 |
| 0.0478 | 1.4783 | 52 | 0.0498 |
| 0.0478 | 1.5072 | 53 | 0.0502 |
| 0.055 | 1.5362 | 54 | 0.0499 |
| 0.055 | 1.5652 | 55 | 0.0493 |
| 0.0459 | 1.5942 | 56 | 0.0493 |
| 0.0459 | 1.6232 | 57 | 0.0497 |
| 0.0492 | 1.6522 | 58 | 0.0497 |
| 0.0492 | 1.6812 | 59 | 0.0494 |
| 0.0504 | 1.7101 | 60 | 0.0490 |
| 0.0504 | 1.7391 | 61 | 0.0488 |
| 0.0564 | 1.7681 | 62 | 0.0488 |
| 0.0564 | 1.7971 | 63 | 0.0488 |
| 0.0503 | 1.8261 | 64 | 0.0488 |
| 0.0503 | 1.8551 | 65 | 0.0487 |
| 0.0495 | 1.8841 | 66 | 0.0487 |
| 0.0495 | 1.9130 | 67 | 0.0487 |
| 0.0446 | 1.9420 | 68 | 0.0487 |