LITOperator / README.md
OzTianlu's picture
Sync the cleaned tree
0ebecf8 verified
|
Raw History Blame Contribute Delete
2.98 kB
---
license: mit
pipeline_tag: robotics
tags:
- robotics
- robot-learning
- robot-world-model
- world-model
- lerobot
- so101
- earthrover
- exact-control
datasets:
- lerobot/community_dataset_v3
---
# LITOperator = Li Tsz-kai's Typeball Operator
LITOperator is an exact robot model and robot world model. A small C
operator turns an observation and an instruction into exact action, and
stores what actions do as one persistent causal tree.
The state is a 64-slot u64 key (camera hashes, proprio, instruction
hash); the action is one packed u64; the judge is one IF. Training,
self-bootstrapping and inference are open-set: one open step, one sampled
action, no nearest-neighbor estimate.
![Real LeRobot camera and MuJoCo SO-100](demo/lit_lerobot_sim.gif)
![LITOperator architecture](demo/LITOperator_architecture.png)
## Contract
- State: 64 u64 slots; cameras 8x8 hard hashes; instruction hash; raw
IEEE proprio.
- Action: one packed u64; hard-quantized from the dataset min/max.
- Judge: one line of IF at the halt.
- Open set: one open step, one sampled action per decision.
## Training
Open-set ingestion over `lerobot/community_dataset_v3`, streamed over
HTTPS, never written to disk. Each observed edge is paired with one
sampled counterfactual action; the next state is the action target.
```sh
cd sandbox/lerobot_host
python3 lit_pretrain.py --minutes 0 \
--datasets lerobot/community_dataset_v3 --community \
--checkpoint-every 10 --out community_open
```
Resume from the safetensors checkpoint (add `--start-root <subdataset>`
to resume in the middle of the pass):
```sh
python3 lit_pretrain.py --minutes 0 \
--datasets lerobot/community_dataset_v3 --community \
--checkpoint-every 10 --out community_open \
--resume community_open.safetensors
```
## Weights
- `weights/LITOperator-community_open_pretrain.safetensors` — the data
pass: 635,998 nodes, 318,269 open.
- `weights/LITOperator-community_open_selfboot.safetensors` — three
minutes of open-set self-bootstrap on top: 666,327 nodes (+30,329),
same 318,269 open frontier.
Both snapshots are in this repository under `weights/` and on the Hub.
Load with `lit_search_load_safetensors` in C, or inspect with
`demo/tree_io.py`.
## Usage
Build the host library and run the one-step demo:
```sh
make lib
make demo
```
## Examples
- `lit_operator/` — the C cores and the open-loop world model
(`lit_world.py`).
- `sandbox/lerobot_host/` — the LeRobot host.
- `sandbox/lit_robot.py` — the foolproof robot interface (`program()`).
- `demo/tree_io.py` — snapshot inspector.
## Safety
A research operator, not a certified controller. Enforce velocity, force,
workspace, and hardware-stop limits on the robot.
## License
MIT.
## Citation
```bibtex
@misc{litoperator2026,
author = {Li, Zixi},
title = {LITOperator: the exact robot model and robot world model},
year = {2026},
url = {https://github.com/zixi-reasoning/lit-operator}
}
```