Update app.py
Browse files
app.py
CHANGED
@@ -95,6 +95,7 @@ def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
|
95 |
llm = HuggingFaceHub(
|
96 |
#repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
97 |
repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF",
|
|
|
98 |
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
99 |
)
|
100 |
|
|
|
95 |
llm = HuggingFaceHub(
|
96 |
#repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
97 |
repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF",
|
98 |
+
task="text-generation",
|
99 |
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
100 |
)
|
101 |
|