Hub documentation

Reference

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Reference

Jobs Command Line Interface (CLI)

The huggingface_hub Python package comes with a built-in CLI called hf. This tool allows you to interact with the Hugging Face Hub directly from a terminal. For example, you can log in to your account, create a repository, upload and download files, etc. It also comes with handy features to configure your machine or manage your cache, and start and manage Jobs.

Find the hf jobs installation steps, guides and reference in the huggingface_hub documentation here:

Python client

The huggingface_hub Python package comes with a client called HfApi. This client allows you to interact with the Hugging Face Hub directly in Python. For example, you can log in to your account, create a repository, upload and download files, etc. It also comes with handy features to configure your machine or manage your cache, and start and manage Jobs.

Find the installation steps and guides in the huggingface_hub documentation:

HTTP API

The Jobs HTTP API Endpoints are available under https://huggingface.co/api/jobs.

Authenticate using a Hugging face token with the permission to start and manage Jobs under your namespace (your account or organization). Pass the token as a Bearer token with the header: "Authorization: Bearer {token}".

Here is a list of available endpoints and arguments:

Update on GitHub