nafisehNik
commited on
Commit
•
a2005df
1
Parent(s):
3e3c7ff
Update config.json
Browse files- config.json +7 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"MT5ForConditionalGeneration"
|
5 |
],
|
@@ -27,5 +27,10 @@
|
|
27 |
"torch_dtype": "float32",
|
28 |
"transformers_version": "4.21.1",
|
29 |
"use_cache": true,
|
30 |
-
"vocab_size": 250112
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "nafisehNik/mt5-persian-summary",
|
3 |
"architectures": [
|
4 |
"MT5ForConditionalGeneration"
|
5 |
],
|
|
|
27 |
"torch_dtype": "float32",
|
28 |
"transformers_version": "4.21.1",
|
29 |
"use_cache": true,
|
30 |
+
"vocab_size": 250112,
|
31 |
+
"num_beams": 2,
|
32 |
+
"repetition_penalty": 1.0,
|
33 |
+
"length_penalty": 2.0,
|
34 |
+
"early_stopping": true,
|
35 |
+
"max_length": 120
|
36 |
}
|