원클릭으로
huggingface-hub
HuggingFace hf CLI: search/download/upload models, datasets.
메뉴
HuggingFace hf CLI: search/download/upload models, datasets.
| name | huggingface-hub |
| description | HuggingFace hf CLI: search/download/upload models, datasets. |
| version | 1.0.0 |
| author | Hugging Face |
| license | MIT |
| tags | ["huggingface","hf","models","datasets","hub","mlops"] |
| platforms | ["linux","macos","windows"] |
hf) Reference GuideThe 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
hfcommand replaces the now deprecatedhuggingface-clicommand.
curl -LsSf https://hf.co/cli/install.sh | bash -shf --help to view all available functions and real-world examples.HF_TOKEN environment variable or the --token flag.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.hf auth)login / logout: Manage sessions using tokens from huggingface.co/settings/tokens.list / switch: Manage and toggle between multiple stored access tokens.whoami: Identify the currently logged-in account.hf repos)create / delete: Create or permanently remove repositories.duplicate: Clone a model, dataset, or Space to a new ID.move: Transfer a repository between namespaces.branch / tag: Manage Git-like references.delete-files: Remove specific files using patterns.hf datasets list, info, and parquet (list parquet URLs).hf datasets sql SQL — Execute raw SQL via DuckDB against dataset parquet URLs.hf models list and info.hf papers list — View daily papers.hf discussions)list, create, info, comment, close, reopen, and rename.diff: View changes in a PR.merge: Finalize pull requests.deploy, pause, resume, scale-to-zero, catalog).hf jobs uv for running Python scripts with inline dependencies and stats for resource monitoring.dev-mode and hot-reload for Python files without full restarts.create, cp, mv, rm, sync).list, prune (remove detached revisions), and verify (checksum checks).create, watch, enable/disable).add-item, update, list).--format json: Produces machine-readable output for automation.-q / --quiet: Limits output to IDs only.hf extensions install REPO_ID.hf skills add.Join a Google Meet call, transcribe live captions, optionally speak in realtime, and do the followup work afterwards. Use when the user asks the agent to sit in on a meeting, take notes, summarize, respond in-call, or action items from it.
Parallel 3-agent cleanup of recent code changes.
Delegate coding to OpenAI Codex CLI (features, PRs).
Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
Configure, extend, or contribute to Hermes Agent.
Modify, debug, or extend the s6-overlay supervision tree inside the Hermes Agent Docker image — adding new services, debugging profile gateways, understanding the Architecture B main-program pattern.