Roboflow + Hugging Face

Import Hugging Face datasets into Roboflow by dropping their Parquet files on the upload page, and load RF-DETR models, including ones you train on Roboflow, in Transformers.

Hugging Face hosts the Hub, where people share models and datasets, and Transformers, the Python library for running them. Drop a Hub dataset's Parquet files on the Roboflow upload page and each row arrives as an image with its boxes or class label, in the split its file name sets.

RF-DETR, Roboflow's detection and segmentation architecture, is built into Transformers as RfDetr, with official checkpoints under the Roboflow organization on the Hub. Transformers can also load RF-DETR weights trained on the Roboflow platform. Fine-tuned multimodal models such as PaliGemma, Florence-2 and Qwen download from Roboflow as a Hugging Face output directory in safetensors.

How to connect Hugging Face to Roboflow

4 steps
  1. Download the dataset's Parquet files

    Download them from the dataset's page on the Hub. Keep the folder or file names, such as train/0000.parquet, because they set each image's split.

  2. Drop them on the upload page

    Create an object detection or classification project, then drop the folder or the .parquet files on the upload page. Each row becomes an image with its boxes or class label.

  3. Train a model

    Generate a version and train RF-DETR or another architecture in Roboflow.

  4. Load RF-DETR in Transformers

    Use AutoModelForObjectDetection or the object-detection pipeline with a checkpoint such as Roboflow/rf-detr-medium. Transformers also accepts RF-DETR weights trained on the Roboflow platform.

What teams build with Hugging Face

  • Start from a public Hub dataset

    Import a labeled Hub dataset from its Parquet files, fix or extend its labels in Roboflow Annotate, and train on it.

  • Run a Roboflow-trained model in Transformers

    Train RF-DETR on Roboflow and load the weights with the RfDetr classes in your own Transformers code.

  • Take a fine-tuned VLM elsewhere

    Download a PaliGemma, Florence-2 or Qwen model fine-tuned on Roboflow as a standard Hugging Face directory.

Questions

There is no one-click push. Export the dataset version in the format you need and upload it to the Hub yourself.

Under the Roboflow organization on Hugging Face, for example Roboflow/rf-detr-medium and the rf-detr-seg models for segmentation. They are Apache 2.0 licensed.

Object detection and single-label classification datasets in Parquet. Each Parquet file can be up to 500 MB, and a drop over 4 GB is split into more than one zip.

Yes. The folder or file name sets the split, so train/0000.parquet goes into the training set.

Yes. Some models, such as Depth Anything V2, pull their weights from Hugging Face, so you set a HUGGING_FACE_HUB_TOKEN before running them with the inference package.

Why are companies choosing Roboflow?

The end-to-end platform for vision AI: create datasets, train models and deploy to production.

  • Flexible deployment modes

    Move from a scalable cloud API to edge hardware like NVIDIA Jetson without managing complex dependencies.

  • Integrated workflow builder

    Combine multiple AI models, custom business logic and third-party integrations into one production-ready pipeline in a low-code editor.

  • Model monitoring and alerts

    Dashboards track confidence, inference time and request volume for your deployed models, and email alerts tell your team when confidence suddenly drops.

View all
Get started

Build on the Platform

For developers, engineers, and technical founders who want to get hands on. Try the free tier; the docs are open.

Bring it into your operation

For heads of AI, operations leaders, and enterprise teams. Bring a known problem, or work with us to find the first one worth taking on.