Train a robot policy using imitation learning or reinforcement learning with shared, ready to use tools.
Control different robot hardware, from low cost arms to humanoids, through one common Python interface.
Browse and stream large robotics datasets hosted on the Hugging Face Hub without downloading them all first.
Add support for a custom robot by implementing LeRobot's Robot interface and reusing its training tools.
| sergiomorozco/lerobot | 0xallam/my-recipe | 0xhassaan/nn-from-scratch | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | Python | Python | Python |
| Last pushed | — | 2022-11-22 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 4/5 | 2/5 | 4/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Full use requires compatible robot hardware and PyTorch, though the base package installs easily via pip.
LeRobot is a Python library from Hugging Face aimed at making real world robotics research and building easier to get into, by providing shared models, datasets, and tools built on PyTorch. The core idea is to lower the barrier for people who want to work with robots, whether that means training a robot to perform a task or contributing data and models that others can reuse. The library gives you a single, hardware agnostic way to control very different robots through a common Python interface, ranging from inexpensive robotic arms to more advanced humanoid robots. It supports a long list of hardware out of the box, including SO100, LeKiwi, Koch, HopeJR, several other robot arms, gamepads, keyboards, and phones, and it is built to be extended so you can plug in your own custom robot using the same interface. A major part of the project is the LeRobotDataset format, a standardized way of storing robotics data using video files for what the robot sees and separate data files for its state and actions, all hosted on the Hugging Face Hub so people can browse and stream large robotics datasets without downloading everything up front. The library also includes tools for editing these datasets, such as deleting episodes or merging datasets together. On the modeling side, LeRobot implements a wide range of policies in PyTorch, covering imitation learning, reinforcement learning, vision language action models, world models, and reward models, with training handled through a single command line script once a dataset and policy type are chosen. Installation is done through pip, and after that a single command reports information about your setup. The project is released under the Apache 2.0 license and has an active Discord community for support.
A Python library from Hugging Face for training and deploying real world robots using shared datasets, models, and a common hardware interface.
Mainly Python. The stack also includes Python, PyTorch, Hugging Face Hub.
Use freely, including commercially, as long as you follow the Apache 2.0 license terms and keep attribution notices.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.