ecyht2 commited on
Commit
ecae120
1 Parent(s): a19677d

fix: Fixed crash with model kwargs

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -48,8 +48,7 @@ def generate(
48
  max_new_tokens=max_new_tokens,
49
  top_p=top_p,
50
  repetition_penalty=repetition_penalty,
51
- do_sample=True,
52
- seed=42,
53
  )
54
  logging.debug("Generate Args: %s", generate_kwargs)
55
 
 
48
  max_new_tokens=max_new_tokens,
49
  top_p=top_p,
50
  repetition_penalty=repetition_penalty,
51
+ do_sample=True
 
52
  )
53
  logging.debug("Generate Args: %s", generate_kwargs)
54