Hugging Face

incubation

apache-airflow-providers-huggingface

Load, transform, and publish Hugging Face Datasets.

Works with Airflow 3.0+
Install:
pip install apache-airflow-providers-huggingface==0.1.0

Airflow

3.0+

Python

>=3.11

Dependencies (6)

Show all Hide apache-airflow>=3.0,<4 apache-airflow-providers-common-compat>=1.8.0 datasets>=5.0.0 dill>=0.3.8 huggingface-hub>=0.24 multiprocess>=0.70.16

Connections (1)

URI Schemes (1)

Schemes this release registers in provider.yaml, grouped by the Airflow feature that routes them to the provider.

Asset URIs
hf://

Modules

O

LoadDatasetOperator

Load a dataset revision and persist it as a Parquet artifact.

airflow.providers.huggingface.operators.datasets.LoadDatasetOperator
O

MapDatasetOperator

Apply a Python callable and persist the transformed artifact.

airflow.providers.huggingface.operators.datasets.MapDatasetOperator
O

PushToHubOperator

Synchronously publish an artifact and emit its successful asset event.

airflow.providers.huggingface.operators.datasets.PushToHubOperator
O

StreamDatasetOperator

Transform a streamed dataset lazily and publish it directly to the Hub.

airflow.providers.huggingface.operators.datasets.StreamDatasetOperator
H

HuggingFaceHook

Access Hugging Face Datasets and Hub APIs using an Airflow connection.

airflow.providers.huggingface.hooks.huggingface.HuggingFaceHook