Add text generation parameters
Browse files- config.json +7 -2
config.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 768,
|
9 |
"decoder_start_token_id": 0,
|
10 |
-
"dropout_rate": 0.
|
11 |
"eos_token_id": 1,
|
12 |
"feed_forward_proj": "gated-gelu",
|
13 |
"initializer_factor": 1.0,
|
@@ -24,5 +24,10 @@
|
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.13.0",
|
26 |
"use_cache": true,
|
27 |
-
"vocab_size": 32103
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
|
|
7 |
"d_kv": 64,
|
8 |
"d_model": 768,
|
9 |
"decoder_start_token_id": 0,
|
10 |
+
"dropout_rate": 0.1,
|
11 |
"eos_token_id": 1,
|
12 |
"feed_forward_proj": "gated-gelu",
|
13 |
"initializer_factor": 1.0,
|
|
|
24 |
"torch_dtype": "float32",
|
25 |
"transformers_version": "4.13.0",
|
26 |
"use_cache": true,
|
27 |
+
"vocab_size": 32103,
|
28 |
+
"no_repeat_ngram_size": 3,
|
29 |
+
"num_beams": 6,
|
30 |
+
"min_length": 75,
|
31 |
+
"max_length": 142,
|
32 |
+
"length_penalty": 1.5
|
33 |
}
|