How-to guides (original) (raw)

Hub Python Library documentation

How-to guides

Hub Python Library

Get started

Home Quickstart Installation

How-to guides

Overview Download files Upload files Use the CLI HfFileSystem Repository Search Inference Inference Endpoints Community Tab Collections Cache Model Cards Manage your Space Integrate a library Webhooks

Conceptual guides

Git vs HTTP paradigm

Reference

Overview Authentication Environment variables Managing local and online repositories Hugging Face Hub API Downloading files Mixins & serialization methods Inference Types Inference Client Inference Endpoints HfFileSystem Utilities Discussions and Pull Requests Cache-system reference Repo Cards and Repo Card Data Space runtime Collections TensorBoard logger Webhooks server Serialization

Hugging Face's logo

Join the Hugging Face community

and get access to the augmented documentation experience

Collaborate on models, datasets and Spaces

Faster examples with accelerated inference

Switch between documentation themes

to get started

In this section, you will find practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use huggingface_hub to solve real-world problems:

RepositoryHow to create a repository on the Hub? How to configure it? How to interact with it? Download filesHow do I download a file from the Hub? How do I download a repository? Upload filesHow to upload a file or a folder? How to make changes to an existing repository on the Hub? SearchHow to efficiently search through the 200k+ public models, datasets and spaces? HfFileSystemHow to interact with the Hub through a convenient interface that mimics Python's file interface? InferenceHow to make predictions using the HF Inference API and other Inference Providers? Community TabHow to interact with the Community tab (Discussions and Pull Requests)? CollectionsHow to programmatically build collections? CacheHow does the cache-system work? How to benefit from it? Model CardsHow to create and share Model Cards? Manage your SpaceHow to manage your Space hardware and configuration? Integrate a libraryWhat does it mean to integrate a library with the Hub? And how to do it? Webhooks serverHow to create a server to receive Webhooks and deploy it as a Space?

< > Update on GitHub

←Installation Download files→

How-to guides