A CLI tool to download Hugging Face models and datasets from mirror sites.
Project description
hf-mirror-hub
一个从 Hugging Face 镜像站点快速下载模型和数据集的命令行工具。
特性
- 使用 Hugging Face 镜像站点加速下载
- 支持
hf-transfer加速下载 - 支持指定保存目录
- 支持使用 Hugging Face Hub 访问令牌
- 自动转换软链接为实际文件
安装
从源码下载:
git clone https://github.com/neverbiasu/hf-mirror-hub.git
cd hf-mirror-downloader
conda create -n hf-mirror-hub # 非必需,也可以用venv或者直接安装
conda activate hf-mirror-hub
pip install -e .
pypi安装:
pip install hf-mirror-hub
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hf_mirror_hub-0.0.1.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hf_mirror_hub-0.0.1.tar.gz.
File metadata
- Download URL: hf_mirror_hub-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0b94460a37de8693db9d3aa02bb30caa0a72348de8b356ba77206f2dbe8693b
|
|
| MD5 |
7433b4d86ab4af5537c0717c58a5b375
|
|
| BLAKE2b-256 |
491306e9b23f103f266b019ab15481c0c03525f4e3f04ffa7dd2202967e39f4b
|
File details
Details for the file hf_mirror_hub-0.0.1-py3-none-any.whl.
File metadata
- Download URL: hf_mirror_hub-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c88429271303c3d1a3b8715d6f28c82c278dcb9a24ea6248dcb9965791929ba
|
|
| MD5 |
b5899f9f59e55aaead3d43be9ad33b13
|
|
| BLAKE2b-256 |
fe180b14799457233d7a8aac963d68ae8803cb80cd32c112512521906de90844
|