OlivierDehaene commited on
Commit
f4b02db
1 Parent(s): f3fa1db

add truncate to oasst

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -73,6 +73,7 @@ def predict(
73
  iterator = client.generate_stream(
74
  total_inputs,
75
  typical_p=typical_p,
 
76
  watermark=watermark,
77
  max_new_tokens=500,
78
  )
 
73
  iterator = client.generate_stream(
74
  total_inputs,
75
  typical_p=typical_p,
76
+ truncate=1000,
77
  watermark=watermark,
78
  max_new_tokens=500,
79
  )