huggingface-hub

Manage Hugging Face Hub models, datasets, and Spaces via the hf CLI.

27|2|Updated Jan 15, 2024
One-click install
npx skills add https://github.com/erfanzar/Xerxes-Agents --skill huggingface-hub-erfanzar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-hub
Source: https://github.com/erfanzar/Xerxes-Agents/tree/main/src/python/xerxes/skills/huggingface-hub
Command: npx skills add https://github.com/erfanzar/Xerxes-Agents --skill huggingface-hub-erfanzar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Hugging Face Hub CLI enables developers to search, download, upload, and manage repositories, models, datasets, Spaces, and related resources on the Hugging Face Hub with a single, cohesive command-line interface.

Core Features & Use Cases

  • Search and discover models, datasets, and Spaces on the Hub with simple queries.
  • Download, upload, and synchronize artifacts across repositories and organizations.
  • Manage authentication, permissions, and collaboration workflows for ML projects.

Quick Start

Install the hf CLI, authenticate, and start listing or downloading items with a single command.

Frequently Asked Questions about huggingface-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download models and datasets from the Hugging Face Hub?

You can search and download Hugging Face Hub models and datasets by running commands through the hf CLI. The Skill automates listing and downloading artifacts across repositories and organizations with simple queries.

Can I upload and manage Hugging Face Spaces using the command line?

Yes, you can upload and manage Hugging Face Spaces using the hf CLI. The Skill handles synchronizing artifacts and managing repositories for both individuals and teams across the Hub.

Do I need authentication to manage Hugging Face repositories with this CLI?

Yes, managing Hugging Face repositories requires user authentication with tokens. You must authenticate the hf CLI to handle permissions and collaboration workflows for your ML projects.

What is the best way to search for ML models on the Hugging Face Hub?

The best way to search for ML models on the Hugging Face Hub is using the hf CLI. The Skill enables discovering models, datasets, and Spaces with simple query commands directly from your terminal.

Does managing Hugging Face Hub resources require network access?

Yes, managing Hugging Face Hub resources requires network access to Hugging Face Hub endpoints. The hf CLI needs this connectivity to perform repository and data operations like downloading and uploading.

Why use the hf CLI for Hugging Face Hub automation instead of manual uploads?

Using the hf CLI for Hugging Face Hub automation provides a single cohesive interface to search, download, upload, and manage resources. It streamlines ML workflows by replacing manual repository interactions with simple commands.