SivilTaram
commited on
Commit
•
dfb8094
1
Parent(s):
a515d4b
Fix the bug in generation config
Browse filesIf we follow the default generation configuration, it does not utilize the key-value cache during inference. This can cause the model to be too slow to generate text efficiently.
- generation_config.json +1 -1
generation_config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"transformers_version": "4.34.1",
|
4 |
-
"use_cache":
|
5 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"transformers_version": "4.34.1",
|
4 |
+
"use_cache": true
|
5 |
}
|