Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,8 +46,8 @@ def get_vectorstore(text_chunks : list) -> FAISS:
|
|
| 46 |
def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
| 47 |
# llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
|
| 48 |
llm = HuggingFaceHub(
|
| 49 |
-
|
| 50 |
-
repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
| 51 |
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
| 52 |
)
|
| 53 |
|
|
|
|
| 46 |
def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
|
| 47 |
# llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")
|
| 48 |
llm = HuggingFaceHub(
|
| 49 |
+
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 50 |
+
#repo_id="TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
|
| 51 |
model_kwargs={"temperature": 0.5, "max_length": 1048},
|
| 52 |
)
|
| 53 |
|