qmetrics.net

Huggingface Hub

Official Python library and CLI for the Hugging Face Hub

Huggingface Hub screenshot

huggingface_hub and the hf CLI download, upload, and manage models and datasets on the Hub. They also support search, inference, and repository workflows.

Overview

The huggingface_hub package is the official Python client for the Hugging Face Hub platform. It helps you discover pretrained models and datasets, interact with community-hosted machine learning apps, and publish your own models, datasets, and demos.

The same distribution includes the hf command-line tool for terminal workflows and the Python API for scripts and applications. Typical tasks include downloading files or whole repositories to a local cache, creating repositories, uploading single files or folders, searching Hub content, running inference on deployed models, and managing community interactions such as pull requests and comments.

Authentication uses Hub tokens. Installation is available via pip, with optional dependency groups for features like MCP integration. The CLI is also documented for use with coding agents, adapting output when invoked from automated tools.

The project partners with open-source ML libraries to offer hosted model storage with versioning for large files, discoverability via tags, and integration guides for library authors who want Hub hosting.

Key features

  • hf CLI and Python API
  • Download and upload Hub files
  • Repository create and manage
  • Model and dataset search
  • Hub token authentication
  • Inference on deployed models
  • Optional MCP dependencies
  • ML library Hub integrations

Use cases

  • Publish trained models to the Hub
  • Sync datasets from Python jobs
  • Script Hub downloads in pipelines
  • Automate repo management via CLI

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0