YousifPerr commited on
Commit
d381642
·
verified ·
1 Parent(s): 69a2968

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -173,8 +173,8 @@ You must not use external knowledge. If the provided context does not contain th
173
  # 4. Generate the response
174
  response = generator(
175
  prompt,
176
- max_new_tokens=600,
177
- temperature=0.3,
178
  top_p=0.9,
179
  do_sample=True,
180
  # Crucial to ensure the output only contains the generated answer text
 
173
  # 4. Generate the response
174
  response = generator(
175
  prompt,
176
+ max_new_tokens=400,
177
+ temperature=0.4,
178
  top_p=0.9,
179
  do_sample=True,
180
  # Crucial to ensure the output only contains the generated answer text