mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 12:39:32 +00:00
LLaMA2 with JSON schema support template (#12435)
This commit is contained in:
@@ -12,7 +12,8 @@ from langchain.utilities import SQLDatabase
|
||||
|
||||
# File name and URL
|
||||
file_name = "mistral-7b-instruct-v0.1.Q4_K_M.gguf"
|
||||
url = "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf"
|
||||
url = ("https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/"
|
||||
"mistral-7b-instruct-v0.1.Q4_K_M.gguf")
|
||||
# Check if file is present in the current directory
|
||||
if not os.path.exists(file_name):
|
||||
print(f"'{file_name}' not found. Downloading...")
|
||||
|
Reference in New Issue
Block a user