Spaces:
Sleeping
Sleeping
Amrita P commited on
Commit ·
f694daf
1
Parent(s): 3aa2eab
fix: increase max output token limit
Browse files- generation/generator.py +1 -1
generation/generator.py
CHANGED
|
@@ -55,7 +55,7 @@ class Generator:
|
|
| 55 |
system_instruction=_SYSTEM_PROMPT,
|
| 56 |
generation_config=genai.GenerationConfig(
|
| 57 |
temperature=0.1,
|
| 58 |
-
max_output_tokens=
|
| 59 |
),
|
| 60 |
)
|
| 61 |
logger.info("Generator initialised with model: %s", model_name)
|
|
|
|
| 55 |
system_instruction=_SYSTEM_PROMPT,
|
| 56 |
generation_config=genai.GenerationConfig(
|
| 57 |
temperature=0.1,
|
| 58 |
+
max_output_tokens=2048,
|
| 59 |
),
|
| 60 |
)
|
| 61 |
logger.info("Generator initialised with model: %s", model_name)
|