mgoin commited on
Commit
1d45f17
1 Parent(s): 8479bd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,8 +20,8 @@ DEFAULT_MAX_NEW_TOKENS = 512
20
  pipe = deepsparse.Pipeline.create(
21
  task="text-generation",
22
  model_path=MODEL_PATH,
23
- max_generated_tokens=DEFAULT_MAX_NEW_TOKENS,
24
  sequence_length=MAX_MAX_NEW_TOKENS,
 
25
  )
26
 
27
 
 
20
  pipe = deepsparse.Pipeline.create(
21
  task="text-generation",
22
  model_path=MODEL_PATH,
 
23
  sequence_length=MAX_MAX_NEW_TOKENS,
24
+ prompt_sequence_length=16,
25
  )
26
 
27