Views
No views yet
0.11.0.dev01base_model: RLHFlow/LLaMA3-SFT
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: Shiki258/test_generation_2k_rewards
11 conversation: llama-3
12 type: chat_template
13 split: "train"
14 train_on_split: "train"
15
16warmup_steps: 40
17val_set_size: 0.0
18output_dir: ./models/llama3-8b-it_bs128_lr5e-7
19#wandb_project: raft_train
20#wandb_entity: raft
21wandb_watch:
22wandb_name: "llama-8b-it_bs64_lr5e-7"
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
31
32dataset_processes: 48
33#torch_compile: true
34sequence_len: 4096
35sample_packing: true
36pad_to_sequence_len: true
37
38trust_remote_code: True
39adapter:
40lora_model_dir:
41#lora_r: 32
42#lora_alpha: 16
43#lora_dropout: 0.05
44#lora_target_linear: true
45#lora_fan_in_fan_out:
46
47
48
49
50gradient_checkpointing: True
51
52#warmup_ratio: 0.1
53gradient_accumulation_steps: 8
54micro_batch_size: 1
55num_epochs: 1
56#max_steps: 10
57#optimizer: adamw_torch_fused
58optimizer: paged_adamw_32bit
59#lr_scheduler: constant_with_warmup
60lr_scheduler: cosine
61learning_rate: 5.0e-7
62
63weight_decay: 0.0
64max_grad_norm: 1.0
65
66
67group_by_length: false
68bf16: auto
69fp16: false
70tf32: true
71
72early_stopping_patience:
73local_rank:
74logging_steps: 2
75xformers_attention:
76flash_attention: true
77
78
79eval_steps:
80eval_table_size:
81eval_table_max_new_tokens:
82#save_steps: 100
83save_strategy: "epoch"
84save_total_limit: 1
85#save_safetensors: false
86debug:
87
88
89ddp: #true
90deepspeed: #deepspeed/zero1.json # multi-gpu only
91
92fsdp:
93fsdp_config:
94special_tokens:
95
96