huggingface-hub

Solid

Hugging Face Hub CLI (hf) — search, download, and upload models and datasets, manage repos, query datasets with SQL, deploy inference endpoints, manage Spaces and buckets.

AI & Automation 191,515 stars 33299 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Hugging Face CLI (`hf`) Reference Guide The `hf` command is the modern command-line interface for interacting with the Hugging Face Hub, providing tools to manage repositories, models, datasets, and Spaces. > **IMPORTANT:** The `hf` command replaces the now deprecated `huggingface-cli` command. ## Quick Start * **Installation:** `curl -LsSf https://hf.co/cli/install.sh | bash -s` * **Help:** Use `hf --help` to view all available functions and real-world examples. * **Authentication:** Recommended via `HF_TOKEN` environment variable or the `--token` flag. --- ## Core Commands ### General Operations * `hf download REPO_ID`: Download files from the Hub. * `hf upload REPO_ID`: Upload files/folders (recommended for single-commit). * `hf upload-large-folder REPO_ID LOCAL_PATH`: Recommended for resumable uploads of large directories. * `hf sync`: Sync files between a local directory and a bucket. * `hf env` / `hf version`: View environment and version details. ### Authentication (`hf auth`) * `login` / `logout`: Manage sessions using tokens from [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens). * `list` / `switch`: Manage and toggle between multiple stored access tokens. * `whoami`: Identify the currently logged-in account. ### Repository Management (`hf repos`) * `create` / `delete`: Create or permanently remove repositories. * `duplicate`: Clone a model, dataset, or Space to a new ID. * `move`: Transfer a repository bet...

Details

Author
NousResearch
Repository
NousResearch/hermes-agent
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category