Hugging Face's PyTorch library for real-world robot learning: hardware control, datasets and pretrained policies
open sourceApache-2.0free
LeRobot is Hugging Face's library of models, datasets and tools for real-world robotics in PyTorch. A unified Robot interface separates control logic from hardware, with built-in support for low-cost arms such as the SO-101, humanoids like the Unitree G1, and gamepads, keyboards and phones for teleoperation, and it's extensible to custom robots. Its LeRobotDataset format stores synchronized video and Parquet state and action data on the Hugging Face Hub, with tools to edit, split and merge datasets, and it ships policies for training and deploying on real robots. It installs from PyPI, with extras for datasets, training and specific hardware.
Problems it solves
- train a policy for my robot arm from teleoperated demonstrations
- record and share robot demonstration data in a standard format
- control a low-cost robot arm like the SO-101 from Python
Features
- a hardware-agnostic Robot interface for arms, humanoids and teleoperation devices
- the LeRobotDataset format of synchronized video and Parquet data on the Hugging Face Hub
- tools to edit, split and merge robot datasets
- pretrained policies for training and real-world deployment
Alternatives
The same job
These do what LeRobot does.
- openpi Physical Intelligence's open vision-language-action robot models (π₀, π₀-FAST, π₀.₅) and code to run and fine-tune them
