Spaces:
Sleeping
Sleeping
Update completeness.py
Browse files- completeness.py +1 -1
completeness.py
CHANGED
|
@@ -10,7 +10,7 @@ with open('cv_completeness.json', 'r') as f:
|
|
| 10 |
|
| 11 |
def load_model():
|
| 12 |
try:
|
| 13 |
-
model_path = "
|
| 14 |
return Llama(model_path=model_path, n_ctx=32768, n_gpu_layers=2)
|
| 15 |
except Exception as e:
|
| 16 |
logging.error(f"Error loading model: {str(e)}")
|
|
|
|
| 10 |
|
| 11 |
def load_model():
|
| 12 |
try:
|
| 13 |
+
model_path = hf_hub_download("TheBloke/Mistral-7B-Instruct-v0.2-GGUF", filename="mistral-7b-instruct-v0.2.Q4_K_M.gguf")
|
| 14 |
return Llama(model_path=model_path, n_ctx=32768, n_gpu_layers=2)
|
| 15 |
except Exception as e:
|
| 16 |
logging.error(f"Error loading model: {str(e)}")
|