diff --git a/download_model.py b/download_model.py index 371bf4b..6ed963c 100644 --- a/download_model.py +++ b/download_model.py @@ -7,7 +7,8 @@ def download_mpt_quant(destination_folder: str, repo_id: str, model_filename: st return hf_hub_download( repo_id=repo_id, filename=model_filename, - cache_dir=local_path, + local_dir=local_path, + local_dir_use_symlinks=False )