hf-cli
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging Face infrastructure; managing Hugging Face repos; discussions and pull requests; browsing models, datasets and spaces; reading, searching, or browsing academic papers; managing collections; querying datasets; configuring spaces; setting up webhooks; or deploying and managing HF Inference Endpoints. Make sure to use this skill whenever the user mentions 'hf', 'huggingface', 'Hugging Face', 'huggingface-cli', or 'hugging face cli', or wants to do anything related to the Hugging Face ecosystem and to AI and ML in general. Also use for cloud storage needs like training checkpoints, data pipelines, or agent traces. Use even if the user doesn't explicitly ask for a CLI command. Replaces the deprecated `huggingfa
原文 · 译文未通过检查适用对象:学习与科研。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Commands
- hf auth — Manage authentication (login, logout, etc.).
- hf buckets — Commands to interact with buckets.
- hf cache — Manage local cache directory.
- hf collections — Interact with collections on the Hub.
- hf datasets — Interact with datasets on the Hub.
- hf discussions — Manage discussions and pull requests on the Hub.
- hf endpoints — Manage Hugging Face Inference Endpoints.
Install: curl -LsSf https://hf.co/cli/install.sh | bash -s. The Hugging Face Hub CLI tool hf is available. IMPORTANT: The hf command replaces the deprecated huggingface-cli command. Use hf --help to view available functions. Note that auth commands are now all under hf auth e.g. hf auth whoami. Generated with huggingfacehub v2.4.0. Run hf skills add --force to regenerate. hf cp SRC — Copy files between local paths, repositories, and buckets. [--format [auto|human|agent|json|quiet]] hf download REPOID — Download files from the Hub. [--type [model|dataset|space|kernel] --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --max-workers INTEGER --format [auto|human|agent|json|quiet]] hf env — Print information about the environment. [--format [auto|human|agent|json|quiet]] hf sync — Sync files between local directory and a bucket. [--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --format [auto|human|agent|json|quiet]] hf update — Update the hf CLI to the latest version. [--format [auto|human|agent|json|quiet]] hf upload
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- huggingface/skills
- 源文件
- skills/hf-cli/SKILL.md
- 固定版本
- 25910b3d0ba31a2ba102f901cdc9e008c278a69c
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:huggingface/skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T16:01:02.668Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
Apache-2.0。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。