ArturG9 commited on
Commit
e07abfa
·
verified ·
1 Parent(s): 154a0ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -168,14 +168,14 @@ def create_conversational_rag_chain(retriever):
168
  temperature=0.0,
169
  n_ctx=5000,
170
  n_batch=2000,
171
- max_tokens=200,
172
  repeat_penalty=1.8,
173
- last_n_tokens_size = 200,
174
  callback_manager=callback_manager,
175
  verbose=False,
176
  )
177
 
178
- template = """Answer the question {question} based only on this context:
179
  {context} . Be consise.
180
  Question : {question}
181
  """
 
168
  temperature=0.0,
169
  n_ctx=5000,
170
  n_batch=2000,
171
+ max_tokens=250,
172
  repeat_penalty=1.8,
173
+ last_n_tokens_size = 250,
174
  callback_manager=callback_manager,
175
  verbose=False,
176
  )
177
 
178
+ template = """Answer the question based only on this context:
179
  {context} . Be consise.
180
  Question : {question}
181
  """