Subha95 commited on
Commit
885fdee
·
verified ·
1 Parent(s): f5e7a11

Update chatbot_rag.py

Browse files
Files changed (1) hide show
  1. chatbot_rag.py +2 -2
chatbot_rag.py CHANGED
@@ -52,8 +52,8 @@ def build_qa():
52
  model=model,
53
  tokenizer=tokenizer,
54
  max_new_tokens=256,
55
- temperature=0.0,
56
- do_sample=False,
57
  return_full_text=False # 🚀 only return new text, avoids messy context echoes
58
  )
59
 
 
52
  model=model,
53
  tokenizer=tokenizer,
54
  max_new_tokens=256,
55
+ temperature=0.2,
56
+ do_sample=True,
57
  return_full_text=False # 🚀 only return new text, avoids messy context echoes
58
  )
59