|
Download README.md from Ivystream/RoboSTAR: direct link, hf CLI and curl.
- Browser
- Download file 4.98 kB
-
https://huggingface.co/Ivystream/RoboSTAR/resolve/main/README.md
- Command line
-
hf download hf://Ivystream/RoboSTAR/README.md
-
curl -L -o README.md https://huggingface.co/Ivystream/RoboSTAR/resolve/main/README.md
4.98 kB
| language: | |
| - en | |
| license: other | |
| library_name: robotstar | |
| pipeline_tag: robotics | |
| tags: | |
| - sign-language-generation | |
| - text-to-motion | |
| - robotics | |
| - motion-generation | |
| datasets: | |
| - how2sign | |
| <h1 align="center"><strong>RoboSTAR: Next-Scale Autoregressive Sign Language Translation for Humanoid Robots</strong></h1> | |
| <p align="center"> | |
| <a href="https://www.yujiazeng.com/">Yujia Zeng<sup>*</sup></a> | |
| <a href="https://pengchensheng.com/">Chensheng Peng<sup>*</sup></a> | |
| <a href="https://thomaschen98.github.io/">Yuxin Chen<sup>*</sup></a> | |
| <a href="https://alexshao.net/">Alex Shao<sup></sup></a> | |
| <a href="https://www.linkedin.com/in/nathan-jew-a31314273/">Nathan Jew<sup></sup></a> | |
| <a href="https://me.berkeley.edu/people/masayoshi-tomizuka/">Masayoshi Tomizuka<sup></sup></a> <br> | |
| <sup></sup>UC Berkeley <br> <sup>*</sup>Equal contribution | |
| </p> | |
| <p align="center"> | |
| <a href="https://arxiv.org/abs/2609.32250"> | |
| <img src="https://img.shields.io/badge/arXiv-2609.32250-b31b1b" alt="arXiv"> | |
| </a> | |
| <a href="https://zyjorz.github.io/RoboSTAR/"> | |
| <img src="https://img.shields.io/badge/Project-Page-blue"> | |
| </a> | |
| <a href="https://github.com/zyjOrz/RoboSTAR"> | |
| <img src="https://img.shields.io/badge/GitHub-Code-black"> | |
| </a> | |
| <a href="https://huggingface.co/Ivystream/RoboSTAR"> | |
| <img src="https://img.shields.io/badge/🤗_HuggingFace-Model-orange"> | |
| </a> | |
| </p> | |
| <p align="center"> | |
| <em> | |
| RoboSTAR translates English text or audio into continuous American Sign Language (ASL) motion. <br> | |
| This release contains the text-to-sign-motion component. | |
| </em> | |
| </p> | |
| ## Installation | |
| ```bash | |
| git clone https://github.com/zyjOrz/RoboSTAR.git | |
| cd RoboSTAR | |
| conda create -n robostar python=3.10 -y | |
| conda activate robostar | |
| pip install -e . | |
| ``` | |
| ## Inference | |
| Predicted-duration inference: | |
| ```bash | |
| python -m robostar.infer \ | |
| --model Ivystream/RoboSTAR \ | |
| --text "A person explains the plan." \ | |
| --length-mode predicted \ | |
| --output-dir outputs/predicted | |
| ``` | |
| For a stable demonstration duration, specify seconds explicitly: | |
| ```bash | |
| python -m robostar.infer \ | |
| --model Ivystream/RoboSTAR \ | |
| --text "A person explains the plan." \ | |
| --length-mode seconds \ | |
| --length-value 6.0 \ | |
| --output-dir outputs/six_seconds | |
| ``` | |
| Other supported modes are `tokens` and `frames`. | |
| ## Data preparation | |
| ```bash | |
| python -m robostar.prepare_data \ | |
| --train-manifest data/train_raw.jsonl \ | |
| --val-manifest data/val_raw.jsonl \ | |
| --test-manifest data/test_raw.jsonl \ | |
| --output data/prepared | |
| ``` | |
| ## Training | |
| ### 1. Train the FSQ tokenizer | |
| ```bash | |
| torchrun --standalone --nproc_per_node=8 -m robostar.train_tokenizer \ | |
| --config configs/tokenizer.yaml \ | |
| --prepared-root data/prepared \ | |
| --output experiments/robostar_tokenizer | |
| ``` | |
| ### 2. Export motion tokens | |
| ```bash | |
| torchrun --standalone --nproc_per_node=8 -m robostar.export_tokens \ | |
| --model experiments/robostar_tokenizer/best.pt \ | |
| --prepared-root data/prepared \ | |
| --output data/tokens | |
| ``` | |
| ### 3. Build the optional retrieval memory | |
| The isolated-word source used in our experiments is [`akasheroor/American-Sign-Language-Dataset`](https://huggingface.co/datasets/akasheroor/American-Sign-Language-Dataset). | |
| ```bash | |
| python -m robostar.retrieval build \ | |
| --word-token-jsonl data/word_tokens/train_source_tokens.jsonl \ | |
| --output data/retrieval/word2code.json | |
| ``` | |
| ### 4. Build coarse-to-fine caches | |
| ```bash | |
| python -m robostar.build_cache \ | |
| --token-root data/tokens \ | |
| --tokenizer-model experiments/robostar_tokenizer/best.pt \ | |
| --base-model google/mt5-large \ | |
| --retrieval data/retrieval/word2code.json \ | |
| --output data/cache | |
| ``` | |
| ### 5. Train RoboSTAR | |
| ```bash | |
| torchrun --standalone --nproc_per_node=8 -m robostar.train_generator \ | |
| --config configs/robostar_mt5_large.yaml \ | |
| --cache-root data/cache \ | |
| --output experiments/robostar_mt5_large | |
| ``` | |
| ## Evaluation | |
| ```bash | |
| python -m robostar.evaluate \ | |
| --predictions outputs/predictions \ | |
| --manifest data/prepared/test.jsonl | |
| ``` | |
| ## 🔗 Citation | |
| If you find our work useful, please consider citing: | |
| ```bibtex | |
| @misc{zeng2026robostarnextscaleautoregressivesign, | |
| title={RoboSTAR: Next-Scale Autoregressive Sign Language Translation for Humanoid Robots}, | |
| author={Yujia Zeng and Chensheng Peng and Yuxin Chen and Alex Shao and Nathan Jew and Masayoshi Tomizuka}, | |
| year={2026}, | |
| eprint={2609.32250}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.CV}, | |
| url={https://arxiv.org/abs/2609.32250}, | |
| } | |
| ``` | |
| ## 🙏 Acknowledgements | |
| - [SOKE](https://github.com/2000ZRL/SOKE): Our work follows SOKE in adopting its motion representation and sign retrieval formulation. | |
| - [How2Sign Dataset](https://how2sign.github.io/): Our work uses the How2Sign dataset for training and evaluation. | |
| - [HandMDM](https://imagine.enpc.fr/~leore.bensabath/HandMDM/): Our human-mesh rendering and visualization pipeline is inspired by HandMDM. | |