A LeRobot dataset on Hugging Face comes in without passing through your computer: you name it, the platform downloads it into your team's storage, and it becomes one batch with one recording per episode. From there it is processed, versioned and trained on like any upload. The import only reads from Hugging Face; nothing is ever written there.
Import a dataset
This walkthrough imports the open SO-101 dataset lerobot/svla_so101_pickplace (LeRobot v3.0, 50 episodes, two cameras, 30 fps).
Create an SO-100 / SO-101 project
Click New project, choose Robot and the SO-100 / SO-101 card, name the project and click Create. The robot decides how the dataset's joints are read, and a dataset of another robot is refused at the preview.
Name the dataset
In Recordings, click Upload and choose Hugging Face as the source. Type the Dataset as owner/name (lerobot/svla_so101_pickplace) or paste its huggingface.co address. Revision (optional) takes a branch, tag or commit; empty means main. Access token (optional) is only for private or gated datasets.
Preview
Click Preview. The platform reads the dataset's file list and meta/ files only, and shows the commit it resolved, the number of Recordings, the Size, the Robot type, the Cameras, the Frames per second, the Format and the Licence. Nothing is created yet.
Import
Click the import button, which names how many recordings it creates. The new batch shows Downloading from Hugging Face with files and bytes done, then each recording is processed. The batch keeps where it came from, for example "Imported from Hugging Face: lerobot/svla_so101_pickplace @ main (f641879) · apache-2.0".
Version and train
Once processing has finished, Create version and train on the batch freezes its usable recordings as a version and starts the default training on it. Or create a version from Versions as usual.
From the command line
ef recordings import-hf previews and imports the same way. --wait waits for the download and the processing of the batch:
ef recordings import-hf <team>/<project> lerobot/svla_so101_pickplace --preview
ef recordings import-hf <team>/<project> lerobot/svla_so101_pickplace --waitName a revision with @ (lerobot/svla_so100_pickplace@v2.1) or --revision. --token-stdin reads an access token from standard input, --task gives a task to episodes without their own, and --force imports a commit the project already has.
What an import keeps
- One commit. The preview resolves the revision to its 40-character commit, and the download reads that commit only, so a push to the dataset during the import cannot mix two versions of it.
- The whole revision. An import takes every episode; a subset is not offered, because LeRobot v3 packs episodes into shared files.
- The source. The batch and each recording keep the dataset, the requested revision, the commit and the licence. The licence is shown, never enforced.
- Your token, for this import only. It is used in memory for the preview and handed once to the download; it is never stored, logged or shown again.
Limits and refusals
Every refusal comes at the preview, before anything is created.
| Code | When |
|---|---|
HF_IMPORT_REPO_NOT_FOUND | No such dataset repository. |
HF_IMPORT_REPO_TYPE_UNSUPPORTED | The id is a model or a Space, not a dataset. Name a dataset (huggingface.co/datasets/owner/name). |
HF_IMPORT_NOT_LEROBOT | The repository has no meta/info.json at its root. |
HF_IMPORT_LEROBOT_VERSION_UNSUPPORTED | LeRobot older than v2.1. The refusal offers the dataset's v2.1 or v3.0 branch or tag when it has one. |
HF_IMPORT_ACCESS_DENIED | Private or gated: paste a read token of an account that can open it, after accepting the dataset's terms on huggingface.co. |
HF_IMPORT_TOO_LARGE | Above the deployment's import size, 20 GiB by default. |
HF_IMPORT_TOO_MANY_FILES, LEROBOT_TOO_MANY_EPISODES | Above 20,000 files or 5,000 episodes. |
LEROBOT_PROFILE_MISMATCH | The dataset's joints do not fit the project's robot. |
HF_IMPORT_DUPLICATE | This commit is already in the project: Open the imported batch, or Import again on purpose. |
HF_IMPORT_UNREACHABLE | Hugging Face cannot be reached from this deployment. |