Subha95 commited on
Commit
a2d4cd4
·
verified ·
1 Parent(s): b76fe22

Update chatbot_rag.py

Browse files
Files changed (1) hide show
  1. chatbot_rag.py +1 -0
chatbot_rag.py CHANGED
@@ -53,6 +53,7 @@ def build_qa():
53
  torch_dtype="auto", # auto precision
54
  trust_remote_code=True # allow custom model code
55
  )
 
56
 
57
  # Create pipeline
58
  pipe = pipeline(
 
53
  torch_dtype="auto", # auto precision
54
  trust_remote_code=True # allow custom model code
55
  )
56
+ model.config.use_cache = False
57
 
58
  # Create pipeline
59
  pipe = pipeline(