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