Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
174db67
1
Parent(s):
7fd77b8
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def get_conversation_chain(vectorstore):
|
|
110 |
|
111 |
"""
|
112 |
llm = HuggingFaceHub(
|
113 |
-
repo_id="",#"mistralai/Mixtral-8x7B-Instruct-v0.1",
|
114 |
model_kwargs={"temperature": 0.5, "max_new_tokens": 1024, "max_length": 1048, "top_k": 3, "trust_remote_code": True, "torch_dtype": "auto"},
|
115 |
)
|
116 |
# llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
|
|
|
110 |
|
111 |
"""
|
112 |
llm = HuggingFaceHub(
|
113 |
+
repo_id="microsoft/phi-2",#"mistralai/Mixtral-8x7B-Instruct-v0.1",
|
114 |
model_kwargs={"temperature": 0.5, "max_new_tokens": 1024, "max_length": 1048, "top_k": 3, "trust_remote_code": True, "torch_dtype": "auto"},
|
115 |
)
|
116 |
# llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
|