forked from PaddlePaddle/PaddleNLP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
simpo_argument.json
41 lines (41 loc) · 1.12 KB
/
simpo_argument.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"model_name_or_path": "meta-llama/Meta-Llama-3-8B",
"train_dataset_path": "./data/train.jsonl",
"dev_dataset_path": "./data/dev.jsonl",
"output_dir": "./checkpoints/dpo_ckpts",
"per_device_train_batch_size": 1,
"gradient_accumulation_steps": 8,
"per_device_eval_batch_size": 1,
"num_train_epochs": 1,
"max_steps": 100,
"learning_rate": 6e-07,
"warmup_steps": 10,
"logging_steps": 1,
"evaluation_strategy": "steps",
"save_strategy": "steps",
"eval_steps": 100,
"save_steps": 500,
"max_seq_len": 4096,
"max_prompt_len": 2048,
"bf16": true,
"fp16_opt_level": "O2",
"do_train": true,
"do_eval": true,
"disable_tqdm": true,
"load_best_model_at_end": true,
"tensor_parallel_degree": 8,
"sharding": "stage1",
"use_flash_attention": true,
"flash_mask":true,
"recompute": false,
"recompute_granularity": "full",
"beta": 2.0,
"simpo_gamma":1.0,
"benchmark": false,
"loss_type": "simpo",
"label_smoothing": 0.0,
"unified_checkpoint": true,
"autotuner_benchmark":false,
"lazy": false,
"seed":42
}