sonali-tamhankar
commited on
Commit
•
8657b28
1
Parent(s):
b1fd863
Change HF-TOKEN back to HF_TOKEN
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",huggingfacehub_api_token=
|
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",huggingfacehub_api_token=HF_TOKEN, model_kwargs={"temperature":0.5}) #, "max_length":512})
|
20 |
|
21 |
qa_chain = RetrievalQA.from_chain_type(llm=llm,
|
22 |
chain_type='stuff',
|