Add config for text generation to accommodate automatic evaluation
Browse files- config.json +6 -1
config.json
CHANGED
@@ -25,5 +25,10 @@
|
|
25 |
"torch_dtype": "float32",
|
26 |
"transformers_version": "4.13.0",
|
27 |
"use_cache": true,
|
28 |
-
"vocab_size": 32103
|
|
|
|
|
|
|
|
|
|
|
29 |
}
|
|
|
25 |
"torch_dtype": "float32",
|
26 |
"transformers_version": "4.13.0",
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 32103,
|
29 |
+
"no_repeat_ngram_size": 3,
|
30 |
+
"num_beams": 6,
|
31 |
+
"min_length": 75,
|
32 |
+
"max_length": 142,
|
33 |
+
"length_penalty": 1.5
|
34 |
}
|