-
Notifications
You must be signed in to change notification settings - Fork 59
/
openllama_peft_stage_1.json
54 lines (53 loc) · 1.08 KB
/
openllama_peft_stage_1.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
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"train_batch_size": 64,
"train_micro_batch_size_per_gpu": 1,
"gradient_accumulation_steps": 8,
"steps_per_print": 1,
"gradient_clipping": 1.0,
"zero_optimization": {
"stage": 2,
"offload_optimizer": {
"device": "cpu"
},
"contiguous_gradients": true,
"allgather_bucket_size": 500000000,
"allgather_partitions": true
},
"fp16": {
"enabled": true,
"opt_level": "O2",
"min_loss_scale": 1
},
"bf16": {
"enable": true
},
"optimizer": {
"type": "Adam",
"params": {
"lr": 0.0005,
"betas": [
0.9,
0.95
],
"eps": 1e-8,
"weight_decay": 0.001
}
},
"scheduler": {
"type": "WarmupDecayLR",
"params": {
"warmup_min_lr": 0,
"warmup_max_lr": 0.0005,
"warmup_num_steps": 10,
"total_num_steps": 10000
}
},
"activation_checkpointing": {
"partition_activations": true,
"cpu_checkpointing": true,
"contiguous_memory_optimization": false,
"number_checkpoints": null,
"synchronize_checkpoint_boundary": false,
"profile": false
}
}