imamnurby commited on
Commit
9624c24
1 Parent(s): d6045f2

Update backend_utils.py

Browse files
Files changed (1) hide show
  1. 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=100
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,