Spaces:
Sleeping
Sleeping
from huggingface_hub import hf_hub_download | |
import os | |
repo_id="Qwen/Qwen2.5-1.5B-Instruct-GGUF" | |
filename = "qwen2.5-1.5b-instruct-q4_k_m.gguf" | |
script_dir = os.path.dirname(os.path.abspath(__file__)) | |
model_path = hf_hub_download( | |
repo_id=repo_id, | |
filename=filename, | |
local_dir=script_dir, | |
) | |
print(f"Model downloaded to: {model_path}") |