Spaces:
Build error
Build error
Update backend_utils.py
Browse files- backend_utils.py +1 -1
backend_utils.py
CHANGED
@@ -221,7 +221,7 @@ def generate_api_usage_patterns(generative_model, tokenizer, model_input, num_be
|
|
221 |
num_beams=num_beams,
|
222 |
num_return_sequences=num_return_sequences,
|
223 |
early_stopping=True,
|
224 |
-
max_length=
|
225 |
)
|
226 |
api_usage_patterns = tokenizer.batch_decode(
|
227 |
model_output,
|
|
|
221 |
num_beams=num_beams,
|
222 |
num_return_sequences=num_return_sequences,
|
223 |
early_stopping=True,
|
224 |
+
max_length=50
|
225 |
)
|
226 |
api_usage_patterns = tokenizer.batch_decode(
|
227 |
model_output,
|