{"id":25973054,"url":"https://github.com/neverbiasu/hf-mirror-hub","last_synced_at":"2026-05-28T13:02:48.225Z","repository":{"id":279397881,"uuid":"938002590","full_name":"neverbiasu/hf-mirror-hub","owner":"neverbiasu","description":"一个从 Hugging Face 镜像站点快速下载模型和数据集的命令行工具。","archived":false,"fork":false,"pushed_at":"2025-12-16T16:55:09.000Z","size":22,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-20T07:53:37.049Z","etag":null,"topics":["cli","huggingface","huggingface-datasets","huggingface-hub","huggingface-models","huggingface-repository","mirror","pypi"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/hf-mirror-hub/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neverbiasu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-24T09:10:49.000Z","updated_at":"2025-12-16T16:55:13.000Z","dependencies_parsed_at":"2025-03-06T08:22:53.836Z","dependency_job_id":"83f4032b-4f4e-4204-87fa-4426217c8cb3","html_url":"https://github.com/neverbiasu/hf-mirror-hub","commit_stats":null,"previous_names":["neverbiasu/hf_mirror_hub","neverbiasu/hf-mirror-hub"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/neverbiasu/hf-mirror-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverbiasu%2Fhf-mirror-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverbiasu%2Fhf-mirror-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverbiasu%2Fhf-mirror-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverbiasu%2Fhf-mirror-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neverbiasu","download_url":"https://codeload.github.com/neverbiasu/hf-mirror-hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverbiasu%2Fhf-mirror-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33609237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","huggingface","huggingface-datasets","huggingface-hub","huggingface-models","huggingface-repository","mirror","pypi"],"created_at":"2025-03-05T01:18:52.429Z","updated_at":"2026-05-28T13:02:48.205Z","avatar_url":"https://github.com/neverbiasu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hf-mirror-hub\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"logo\" src=\"assets/logo.svg\"\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/hf-mirror-hub\"\u003e\n\u003cimg alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dm/hf-mirror-hub\"\u003e\n\u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/neverbiasu/hf-mirror-hub?color=blue\"\u003e\n\u003c/p\u003e\n\n一个从 Hugging Face 镜像站点快速下载模型和数据集的命令行工具。\n\n## 特性\n\n*   使用 Hugging Face 镜像站点加速下载\n*   支持 `hf-transfer` 加速下载\n*   支持指定保存目录\n*   支持使用 Hugging Face Hub 访问令牌\n*   自动转换软链接为实际文件\n\n## 安装\n\n### 从 PyPI 安装 (推荐)\n\n```bash\npip install hf-mirror-hub\n```\n\n### 从源码安装\n\n```bash\ngit clone https://github.com/neverbiasu/hf-mirror-hub.git\ncd hf-mirror-hub\nconda create -n hf-mirror-hub python=3.8 # 非必需，也可以用 venv 或者直接安装\nconda activate hf-mirror-hub\npip install -e .\n```\n\n## 使用说明\n\n### 基本用法 (下载模型)\n\n```bash\nhf-mirror-hub --model \u003cmodel_name\u003e\n```\n\n### 完整参数\n\n```bash\nhf-mirror-hub --model \u003cmodel_name\u003e --save_dir \u003csave_path\u003e --token \u003cyour_token\u003e [--no-hf-transfer]\n```\n\n### 参数说明\n\n*   `--model`, `-M`: 可选，模型名称 (例如: `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B`)\n*   `--save_dir`, `-S`: 可选，保存目录路径 (默认为 `data`)\n*   `--token`, `-T`: 可选，Hugging Face 访问令牌 (用于访问私有模型或数据集)\n*   `--no-hf-transfer`: 可选，禁用 `hf-transfer` 加速\n\n## 贡献\n\n请参阅 [CONTRIBUTING.md](CONTRIBUTING.md) 了解如何贡献。\n\n## 许可证\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverbiasu%2Fhf-mirror-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneverbiasu%2Fhf-mirror-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverbiasu%2Fhf-mirror-hub/lists"}