codelion commited on
Commit
383e6bf
·
verified ·
1 Parent(s): ad85ac1

Update question.py

Browse files
Files changed (1) hide show
  1. question.py +1 -1
question.py CHANGED
@@ -68,7 +68,7 @@ def chat_with_doc(model, vector_store: SupabaseVectorStore, stats_db):
68
  model_kwargs = {"temperature" : st.session_state['temperature'],
69
  "min_p" : 0.1,
70
  "top_p" : 0.9,
71
- "repetition_penalty"=1.5,
72
  "max_new_tokens" : st.session_state['max_tokens'],
73
  "return_full_text" : False}
74
  hf = HuggingFaceEndpoint(
 
68
  model_kwargs = {"temperature" : st.session_state['temperature'],
69
  "min_p" : 0.1,
70
  "top_p" : 0.9,
71
+ "repetition_penalty" : 1.5,
72
  "max_new_tokens" : st.session_state['max_tokens'],
73
  "return_full_text" : False}
74
  hf = HuggingFaceEndpoint(