ArturG9 commited on
Commit
1cfaad0
·
verified ·
1 Parent(s): f1a1fb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -171,7 +171,7 @@ def create_conversational_rag_chain(retriever):
171
  n_ctx=5000,
172
  n_batch=2000,
173
  max_tokens=200,
174
- repeat_penalty=1.6,
175
  last_n_tokens_size = 200,
176
  callback_manager=callback_manager,
177
  verbose=False,
@@ -183,7 +183,7 @@ def create_conversational_rag_chain(retriever):
183
  Question: {question}
184
 
185
 
186
- Answer:
187
  """
188
 
189
  prompt = ChatPromptTemplate.from_template(template)
 
171
  n_ctx=5000,
172
  n_batch=2000,
173
  max_tokens=200,
174
+ repeat_penalty=1.8,
175
  last_n_tokens_size = 200,
176
  callback_manager=callback_manager,
177
  verbose=False,
 
183
  Question: {question}
184
 
185
 
186
+
187
  """
188
 
189
  prompt = ChatPromptTemplate.from_template(template)