Asaad Almutareb commited on
Commit
d24a8c0
1 Parent(s): 096b9ec

Update qa.py

Browse files

disabled returning the full text

Files changed (1) hide show
  1. qa.py +1 -1
qa.py CHANGED
@@ -75,7 +75,7 @@ llm = HuggingFaceHub(repo_id=llm_model_name, model_kwargs={
75
  "max_new_tokens":1024,
76
  "repetition_penalty":1.2,
77
  # "streaming": True,
78
- # "return_full_text":True
79
  })
80
 
81
  # initialize Embedding config
 
75
  "max_new_tokens":1024,
76
  "repetition_penalty":1.2,
77
  # "streaming": True,
78
+ "return_full_text":False
79
  })
80
 
81
  # initialize Embedding config