telcom commited on
Commit
36c4581
·
verified ·
1 Parent(s): 5e1570b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ Answer only from the context. If the answer is not in the context, say it is not
119
  with torch.no_grad():
120
  outputs = self.model.generate(
121
  **inputs,
122
- max_new_tokens=256,
123
  temperature=0.7,
124
  top_p=0.9,
125
  do_sample=True,
 
119
  with torch.no_grad():
120
  outputs = self.model.generate(
121
  **inputs,
122
+ max_new_tokens=1024,
123
  temperature=0.7,
124
  top_p=0.9,
125
  do_sample=True,