Views
No views yet

huggingface-hub Python library:pip3 install huggingface-hubmain branch to a folder called NAI-3.5:1mkdir NAI-3.5
2huggingface-cli download neboolaai/NAI-3.5 --local-dir NAI-3.5 --local-dir-use-symlinks False--revision parameter:1mkdir NAI-3.5
2huggingface-cli download neboolaai/NAI-3.5 --revision gptq-4bit-32g-actorder_True --local-dir NAI-3.5 --local-dir-use-symlinks False--local-dir-use-symlinks False parameter, the files will instead be stored in the central Hugging Face cache directory (default location on Linux is: ~/.cache/huggingface), and symlinks will be added to the specified --local-dir, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.HF_HOME environment variable, and/or the --cache-dir parameter to huggingface-cli.huggingface-cli, please see: HF -> Hub Python Library -> Download files -> Download from the CLI.hf_transfer:pip3 install hf_transferHF_HUB_ENABLE_HF_TRANSFER to 1:1mkdir NAI-3.5
2HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download neboolaai/NAI-3.5 --local-dir NAI-3.5 --local-dir-use-symlinks Falseset HF_HUB_ENABLE_HF_TRANSFER=1 before the download command.