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-base",
|
| 12 |
+
"max_length": 512,
|
| 13 |
+
"max_length_output": 32,
|
| 14 |
+
"epoch": 10,
|
| 15 |
+
"batch": 32,
|
| 16 |
+
"lr": 1.25e-5,
|
| 17 |
+
"fp16": false,
|
| 18 |
+
"random_seed": 1,
|
| 19 |
+
"gradient_accumulation_steps": 1,
|
| 20 |
+
"label_smoothing": 0.1
|
| 21 |
+
}
|