Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ from langchain.memory import ConversationBufferMemory
|
|
| 15 |
from langchain.chains import ConversationalRetrievalChain
|
| 16 |
|
| 17 |
|
| 18 |
-
llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/airoboros-l2-7B-gpt4-m2.0-GGUF", filename="airoboros-l2-7B-gpt4-m2.0.
|
| 19 |
|
| 20 |
history = []
|
| 21 |
|
|
|
|
| 15 |
from langchain.chains import ConversationalRetrievalChain
|
| 16 |
|
| 17 |
|
| 18 |
+
llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/airoboros-l2-7B-gpt4-m2.0-GGUF", filename="airoboros-l2-7B-gpt4-m2.0.Q6_K.gguf"), n_ctx=2048) #download model from hf/ n_ctx=2048 for high ccontext length
|
| 19 |
|
| 20 |
history = []
|
| 21 |
|