-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings_transformer_multi.json
53 lines (52 loc) · 1.54 KB
/
settings_transformer_multi.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
{
"toy_multiclass_mbert__title_en":{
"problem_type": "multiclass",
"model_type": "transformer",
"model": "bert-base-multilingual-uncased",
"n_runs": 3,
"use_description": false,
"hyperparameter_search": true,
"train_lang": ["en"],
"eval_lang": ["en","de", "es", "fr"],
"category": "toy",
"model_parameters": {
"overwrite_output_dir": true,
"num_train_epochs": 25,
"learning_rate": 5e-5,
"save_total_limit": 1,
"per_device_train_batch_size": 16,
"per_device_eval_batch_size": 64,
"gradient_accumulation_steps": 1,
"weight_decay": 0.01,
"evaluation_strategy": "epoch",
"load_best_model_at_end": true,
"metric_for_best_model": "f1",
"disable_tqdm": false
}
},
"phone_multiclass_mbert__title_en":{
"problem_type": "multiclass",
"model_type": "transformer",
"model": "bert-base-multilingual-uncased",
"n_runs": 3,
"use_description": false,
"hyperparameter_search": true,
"train_lang": ["en"],
"eval_lang": ["en","de", "es", "fr"],
"category": "phone",
"model_parameters": {
"overwrite_output_dir": true,
"num_train_epochs": 25,
"learning_rate": 5e-5,
"save_total_limit": 1,
"per_device_train_batch_size": 16,
"per_device_eval_batch_size": 64,
"gradient_accumulation_steps": 1,
"weight_decay": 0.01,
"evaluation_strategy": "epoch",
"load_best_model_at_end": true,
"metric_for_best_model": "f1",
"disable_tqdm": false
}
}
}