Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,9 +22,6 @@ def download(model):
|
|
| 22 |
|
| 23 |
return model_path
|
| 24 |
|
| 25 |
-
for model_name in models:
|
| 26 |
-
download(model_name)
|
| 27 |
-
|
| 28 |
|
| 29 |
MODELS_PATH = "./models"
|
| 30 |
models = ["Llama-2-13B-chat", "Mistral-7B-Instruct-v0.2", "zephyr-7B-beta", "vicuna-7B-v1.5", "CodeLlama-7B","Falcon-7B-Instruct"]
|
|
@@ -55,7 +52,10 @@ model_info = {
|
|
| 55 |
},
|
| 56 |
|
| 57 |
}
|
|
|
|
|
|
|
| 58 |
|
|
|
|
| 59 |
mistral_model_path = hf_hub_download(
|
| 60 |
repo_id= "TheBloke/Mistral-7B-Instruct-v0.2-GGUF",
|
| 61 |
filename="mistral-7b-instruct-v0.2.Q4_K_M.gguf",
|
|
|
|
| 22 |
|
| 23 |
return model_path
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
MODELS_PATH = "./models"
|
| 27 |
models = ["Llama-2-13B-chat", "Mistral-7B-Instruct-v0.2", "zephyr-7B-beta", "vicuna-7B-v1.5", "CodeLlama-7B","Falcon-7B-Instruct"]
|
|
|
|
| 52 |
},
|
| 53 |
|
| 54 |
}
|
| 55 |
+
for model_name in models:
|
| 56 |
+
download(model_name)
|
| 57 |
|
| 58 |
+
|
| 59 |
mistral_model_path = hf_hub_download(
|
| 60 |
repo_id= "TheBloke/Mistral-7B-Instruct-v0.2-GGUF",
|
| 61 |
filename="mistral-7b-instruct-v0.2.Q4_K_M.gguf",
|