Skip to content

Phở Founder Lifetime: $59 once, 1 year of Phở AI included. Limited seats. See the offer

AI & machine learning · Skill

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 `huggingface-cli`.

Open in Phở

What the skill covers

The sections of its instructions, in order.

  1. 01 Commands
  2. hf auth — Manage authentication (login, logout, etc.).
  3. hf buckets — Commands to interact with buckets.
  4. hf cache — Manage local cache directory.
  5. hf collections — Interact with collections on the Hub.
  6. hf datasets — Interact with datasets on the Hub.
  7. hf discussions — Manage discussions and pull requests on the Hub.
  8. hf endpoints — Manage Hugging Face Inference Endpoints.
  9. hf extensions — Manage hf CLI extensions.
  10. hf jobs — Run and manage Jobs on the Hub.
  11. hf models — Interact with models on the Hub.
  12. hf papers — Interact with papers on the Hub.
  13. hf repos — Manage repos on the Hub.
  14. hf sandbox — Run and manage experimental sandboxes on Hugging Face Jobs.
  15. hf skills — Manage skills for AI assistants.
  16. hf spaces — Interact with spaces on the Hub.
  17. hf webhooks — Manage webhooks on the Hub.
  18. 02 Common options
  19. 03 Mounting repos as local filesystems
  20. 04 Tips

More in Hugging Face Hub and models

  • HuggingFace Best Model Finder

    Use when the user asks about finding the best, top, or recommended model for a task, wants to know what AI model to use, or wants to compare models by benchmark scores. Triggers…

  • Hf mem

    Hugging Face CLI to estimate the required memory to load Safetensors or GGUF model weights for inference from the Hugging Face Hub

  • Hugging Face Local Models

    Use to select models to run locally with llama.cpp and GGUF on CPU, Mac Metal, CUDA, or ROCm. Covers finding GGUFs, quant selection, running servers, exact GGUF file lookup…

  • Transformers.js - Machine Learning for JavaScript

    Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript. Supports NLP (text classification, translation, summarization), computer…

  • Hugging Face Dataset Viewer

    Use this skill for Hugging Face Dataset Viewer API workflows that fetch subset/split metadata, paginate rows, search text, apply filters, download parquet URLs, and read size or…

  • Hugging Face Paper Pages

    Look up and read Hugging Face paper pages in markdown, and use the papers API for structured metadata such as authors, linked models/datasets/spaces, Github repo and project…

  • TRL

    Post-train LLMs with TRL (Transformers Reinforcement Learning) — SFT, DPO, GRPO, KTO, and reward-model training. Use when writing or debugging training code with the TRL Python…

  • Trackio - Experiment Tracking for ML Training

    Track and visualize ML training experiments with Trackio. Use when logging metrics during training (Python API), firing alerts for training diagnostics, or retrieving/analyzing…

  • SageMaker Deployment Planner

    Plan and coordinate the deployment of a model to Amazon SageMaker AI. Use this skill whenever the user wants to deploy, host, serve, or expose a model on SageMaker or AWS —…

Similar ai & machine learning skills

Frequently asked questions

What does Hf cli do?

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 `huggingface-cli`.

Is Hf cli free to use?

Yes. Hf cli is published by Hugging Face under the Apache 2.0 licence, and you can use it with a free Phở account.

How do I use Hf cli in Phở?

Press Open in Phở, then Try to apply it to your next message, or add the Hugging Face Hub and models set so Phở loads it whenever a request matches.

Does Hf cli need other tools?

No. It works in a normal Phở chat with what you type or upload.

Copied unchanged from huggingface/skills at commit 25910b3 and credited to Hugging Face, who is not affiliated with Phở. The full instructions and licence text ship with the skill inside Phở.