naot97 commited on
Commit
9e21612
1 Parent(s): d4238f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -92,7 +92,8 @@ def evaluate(
92
  temperature=temperature,
93
  top_p=top_p,
94
  top_k=top_k,
95
- num_beams=num_beams
 
96
  )
97
  with torch.no_grad():
98
  generation_output = model.generate(
 
92
  temperature=temperature,
93
  top_p=top_p,
94
  top_k=top_k,
95
+ num_beams=num_beams,
96
+ **kwargs,
97
  )
98
  with torch.no_grad():
99
  generation_output = model.generate(