forked from PaddlePaddle/PaddleNLP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rm_flashmask_argument.json
36 lines (36 loc) · 1.03 KB
/
rm_flashmask_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
{
"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": 1e-06,
"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_parallel_degree": 1,
"sharding": "stage1",
"use_flash_attention": true,
"flash_mask":false,
"recompute": false,
"recompute_granularity": "full",
"benchmark": false,
"unified_checkpoint": true,
"autotuner_benchmark":false
}