Update app.py
Browse files
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=
|
| 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,
|