-
Notifications
You must be signed in to change notification settings - Fork 53
/
trainer_ppl_file_tmpl.json
57 lines (57 loc) · 1.21 KB
/
trainer_ppl_file_tmpl.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
55
56
57
{
"actions": [
{
"type": "LoadDataSetAction",
"datasets": {
"sourceType": "Platform",
"versions": [
{
"versionId": "ds-syeynswz2yxav8ix",
"samplingRate": 1
}
]
},
"eval_split_ratio": 10,
"corpus_config": {
"copy_data": true,
"config": [
{
"proportion": "1:2",
"corpus_type": 3,
"labels": [
"文本创作"
]
}
]
}
},
{
"type": "TrainAction",
"init_params": {
"train_mode": "SFT",
"train_type": "ERNIE-Speed-8K",
"train_config": {
"peft_type": "LoRA",
"epoch": 1,
"learning_rate": 0.0003,
"max_seq_len": 4096,
"logging_steps": 1,
"warmup_ratio": 0.1,
"weight_decay": 0.01,
"lora_rank": 8,
"lora_all_linear": "True"
},
"is_incr": false,
"job_name": "speed_math02",
"task_description": "task_desc1",
"job_description": "job_desc1"
}
},
{
"type": "ModelPublishAction"
}
],
"case_init_params": {
"case_type": "Finetune"
}
}