Create trainer_config.json
Browse files- trainer_config.json +21 -0
trainer_config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dataset_path": "asahi417/qg_squad",
|
3 |
+
"dataset_name": "default",
|
4 |
+
"input_types": [
|
5 |
+
"paragraph_answer",
|
6 |
+
],
|
7 |
+
"output_types": [
|
8 |
+
"question"
|
9 |
+
],
|
10 |
+
"prefix_types": null,
|
11 |
+
"model": "facebook/bart-large",
|
12 |
+
"max_length": 512,
|
13 |
+
"max_length_output": 32,
|
14 |
+
"epoch": 4,
|
15 |
+
"batch": 32,
|
16 |
+
"lr": 5e-05,
|
17 |
+
"fp16": false,
|
18 |
+
"random_seed": 1,
|
19 |
+
"gradient_accumulation_steps": 4,
|
20 |
+
"label_smoothing": 0.15
|
21 |
+
}
|