forked from PaddlePaddle/PaddleNLP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reft_argument.json
33 lines (33 loc) · 973 Bytes
/
reft_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
{
"model_name_or_path": "meta-llama/Llama-2-7b",
"dataset_name_or_path": "./data",
"output_dir": "./checkpoints/reft_ckpts",
"per_device_train_batch_size": 2,
"gradient_accumulation_steps": 2,
"per_device_eval_batch_size": 8,
"eval_accumulation_steps":16,
"num_train_epochs": 2,
"learning_rate": 3e-04,
"warmup_ratio":0.01,
"logging_steps": 1,
"remove_unused_columns":false,
"evaluation_strategy": "no",
"metric_for_best_model": "no",
"save_strategy": "epoch",
"src_length": 1024,
"max_length": 512,
"bf16": true,
"fp16_opt_level": "O2",
"do_train": true,
"do_eval": false,
"disable_tqdm": true,
"load_best_model_at_end": false,
"eval_with_do_generation": false,
"save_total_limit": 1,
"tensor_parallel_degree": 1,
"pipeline_parallel_degree": 1,
"zero_padding": false,
"recompute": false,
"reft": true,
"intervention_type": "TinyIntervention"
}