sonali-tamhankar
commited on
Commit
•
f62ef6b
1
Parent(s):
8657b28
Removed HF_TOKEN reference
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def get_vectorstore():
|
|
16 |
|
17 |
vector_store = get_vectorstore()
|
18 |
|
19 |
-
llm = HuggingFaceHub(repo_id = "meta-llama/Llama-2-7b-chat-hf",
|
20 |
|
21 |
qa_chain = RetrievalQA.from_chain_type(llm=llm,
|
22 |
chain_type='stuff',
|
|
|
16 |
|
17 |
vector_store = get_vectorstore()
|
18 |
|
19 |
+
llm = HuggingFaceHub(repo_id = "meta-llama/Llama-2-7b-chat-hf",model_kwargs={"temperature":0.5}) #, "max_length":512})
|
20 |
|
21 |
qa_chain = RetrievalQA.from_chain_type(llm=llm,
|
22 |
chain_type='stuff',
|