Ivystream commited on
Commit
fea458d
·
verified ·
1 Parent(s): 9a02c9c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -28
README.md CHANGED
@@ -13,13 +13,13 @@ datasets:
13
  - how2sign
14
  ---
15
 
16
- <h1 align="center"><strong>RobotSTAR: Next-Scale Autoregressive Sign Language Motion Translation for Humanoid Robots</strong></h1>
17
  <p align="center">
18
  <a href="https://www.yujiazeng.com/">Yujia Zeng<sup>*</sup></a>
19
  <a href="https://pengchensheng.com/">Chensheng Peng<sup>*</sup></a>
20
  <a href="https://thomaschen98.github.io/">Yuxin Chen<sup>*</sup></a>
21
- <a href="https://www.yujiazeng.com/">xxx1<sup></sup></a>
22
- <a href="https://www.yujiazeng.com/">xxx2<sup></sup></a>
23
  <a href="https://me.berkeley.edu/people/masayoshi-tomizuka/">Masayoshi Tomizuka<sup></sup></a> <br>
24
  <sup></sup>UC Berkeley <br> <sup>*</sup>Equal contribution
25
  </p>
@@ -32,20 +32,25 @@ datasets:
32
 
33
  <p align="center">
34
  <em>
35
- RobotSTAR translates English text or audio into continuous American Sign Language (ASL) motion. <br>
36
  This release contains the text-to-sign-motion component.
37
  </em>
38
  </p>
39
 
40
 
 
 
 
 
 
41
  ## Installation
42
 
43
 
44
  ```bash
45
- git clone https://github.com/zyjOrz/RobotSTAR.git
46
- cd RobotSTAR
47
- conda create -n robotstar python=3.10 -y
48
- conda activate robotstar
49
  pip install -e .
50
  ```
51
 
@@ -55,8 +60,8 @@ pip install -e .
55
  Predicted-duration inference:
56
 
57
  ```bash
58
- python -m robotstar.infer \
59
- --model Ivystream/RobotSTAR \
60
  --text "A person explains the plan." \
61
  --length-mode predicted \
62
  --output-dir outputs/predicted
@@ -65,8 +70,8 @@ python -m robotstar.infer \
65
  For a stable demonstration duration, specify seconds explicitly:
66
 
67
  ```bash
68
- python -m robotstar.infer \
69
- --model Ivystream/RobotSTAR \
70
  --text "A person explains the plan." \
71
  --length-mode seconds \
72
  --length-value 6.0 \
@@ -80,7 +85,7 @@ Other supported modes are `tokens` and `frames`.
80
 
81
 
82
  ```bash
83
- python -m robotstar.prepare_data \
84
  --train-manifest data/train_raw.jsonl \
85
  --val-manifest data/val_raw.jsonl \
86
  --test-manifest data/test_raw.jsonl \
@@ -92,17 +97,17 @@ python -m robotstar.prepare_data \
92
  ### 1. Train the FSQ tokenizer
93
 
94
  ```bash
95
- torchrun --standalone --nproc_per_node=8 -m robotstar.train_tokenizer \
96
  --config configs/tokenizer.yaml \
97
  --prepared-root data/prepared \
98
- --output experiments/robotstar_tokenizer
99
  ```
100
 
101
  ### 2. Export motion tokens
102
 
103
  ```bash
104
- torchrun --standalone --nproc_per_node=8 -m robotstar.export_tokens \
105
- --model experiments/robotstar_tokenizer/best.pt \
106
  --prepared-root data/prepared \
107
  --output data/tokens
108
  ```
@@ -112,7 +117,7 @@ torchrun --standalone --nproc_per_node=8 -m robotstar.export_tokens \
112
  The isolated-word source used in our experiments is [`akasheroor/American-Sign-Language-Dataset`](https://huggingface.co/datasets/akasheroor/American-Sign-Language-Dataset).
113
 
114
  ```bash
115
- python -m robotstar.retrieval build \
116
  --word-token-jsonl data/word_tokens/train_source_tokens.jsonl \
117
  --output data/retrieval/word2code.json
118
  ```
@@ -121,28 +126,28 @@ python -m robotstar.retrieval build \
121
  ### 4. Build coarse-to-fine caches
122
 
123
  ```bash
124
- python -m robotstar.build_cache \
125
  --token-root data/tokens \
126
- --tokenizer-model experiments/robotstar_tokenizer/best.pt \
127
  --base-model google/mt5-large \
128
  --retrieval data/retrieval/word2code.json \
129
  --output data/cache
130
  ```
131
 
132
- ### 5. Train RobotSTAR
133
 
134
  ```bash
135
- torchrun --standalone --nproc_per_node=8 -m robotstar.train_generator \
136
- --config configs/robotstar_mt5_large.yaml \
137
  --cache-root data/cache \
138
- --output experiments/robotstar_mt5_large
139
  ```
140
 
141
 
142
  ## Evaluation
143
 
144
  ```bash
145
- python -m robotstar.evaluate \
146
  --predictions outputs/predictions \
147
  --manifest data/prepared/test.jsonl
148
  ```
@@ -153,8 +158,8 @@ python -m robotstar.evaluate \
153
  If you find our work useful, please consider citing:
154
 
155
  ```bibtex
156
- @article{robotstar,
157
- title = {RobotSTAR: ...},
158
  author = {...},
159
  journal = {...},
160
  year = {2026}
@@ -165,5 +170,6 @@ If you find our work useful, please consider citing:
165
 
166
  - [SOKE](https://github.com/2000ZRL/SOKE): Our work follows SOKE in adopting its motion representation and sign retrieval formulation.
167
 
168
- - [How2Sign Dataset](https://how2sign.github.io/): Our work uses the How2Sign dataset for training and evaluation.
169
 
 
 
13
  - how2sign
14
  ---
15
 
16
+ <h1 align="center"><strong>RoboSTAR: Next-Scale Autoregressive Sign Language Motion Translation for Humanoid Robots</strong></h1>
17
  <p align="center">
18
  <a href="https://www.yujiazeng.com/">Yujia Zeng<sup>*</sup></a>
19
  <a href="https://pengchensheng.com/">Chensheng Peng<sup>*</sup></a>
20
  <a href="https://thomaschen98.github.io/">Yuxin Chen<sup>*</sup></a>
21
+ <a href="https://alexshao.net/">Alex Shao<sup></sup></a>
22
+ <a href="https://www.linkedin.com/in/nathan-jew-a31314273/">Nathan Jew<sup></sup></a>
23
  <a href="https://me.berkeley.edu/people/masayoshi-tomizuka/">Masayoshi Tomizuka<sup></sup></a> <br>
24
  <sup></sup>UC Berkeley <br> <sup>*</sup>Equal contribution
25
  </p>
 
32
 
33
  <p align="center">
34
  <em>
35
+ RoboSTAR translates English text or audio into continuous American Sign Language (ASL) motion. <br>
36
  This release contains the text-to-sign-motion component.
37
  </em>
38
  </p>
39
 
40
 
41
+
42
+ https://github.com/user-attachments/assets/b2433425-9a14-41b7-96aa-a83644eb061c
43
+
44
+
45
+
46
  ## Installation
47
 
48
 
49
  ```bash
50
+ git clone https://github.com/zyjOrz/RoboSTAR.git
51
+ cd RoboSTAR
52
+ conda create -n robostar python=3.10 -y
53
+ conda activate robostar
54
  pip install -e .
55
  ```
56
 
 
60
  Predicted-duration inference:
61
 
62
  ```bash
63
+ python -m robostar.infer \
64
+ --model Ivystream/RoboSTAR \
65
  --text "A person explains the plan." \
66
  --length-mode predicted \
67
  --output-dir outputs/predicted
 
70
  For a stable demonstration duration, specify seconds explicitly:
71
 
72
  ```bash
73
+ python -m robostar.infer \
74
+ --model Ivystream/RoboSTAR \
75
  --text "A person explains the plan." \
76
  --length-mode seconds \
77
  --length-value 6.0 \
 
85
 
86
 
87
  ```bash
88
+ python -m robostar.prepare_data \
89
  --train-manifest data/train_raw.jsonl \
90
  --val-manifest data/val_raw.jsonl \
91
  --test-manifest data/test_raw.jsonl \
 
97
  ### 1. Train the FSQ tokenizer
98
 
99
  ```bash
100
+ torchrun --standalone --nproc_per_node=8 -m robostar.train_tokenizer \
101
  --config configs/tokenizer.yaml \
102
  --prepared-root data/prepared \
103
+ --output experiments/robostar_tokenizer
104
  ```
105
 
106
  ### 2. Export motion tokens
107
 
108
  ```bash
109
+ torchrun --standalone --nproc_per_node=8 -m robostar.export_tokens \
110
+ --model experiments/robostar_tokenizer/best.pt \
111
  --prepared-root data/prepared \
112
  --output data/tokens
113
  ```
 
117
  The isolated-word source used in our experiments is [`akasheroor/American-Sign-Language-Dataset`](https://huggingface.co/datasets/akasheroor/American-Sign-Language-Dataset).
118
 
119
  ```bash
120
+ python -m robostar.retrieval build \
121
  --word-token-jsonl data/word_tokens/train_source_tokens.jsonl \
122
  --output data/retrieval/word2code.json
123
  ```
 
126
  ### 4. Build coarse-to-fine caches
127
 
128
  ```bash
129
+ python -m robostar.build_cache \
130
  --token-root data/tokens \
131
+ --tokenizer-model experiments/robostar_tokenizer/best.pt \
132
  --base-model google/mt5-large \
133
  --retrieval data/retrieval/word2code.json \
134
  --output data/cache
135
  ```
136
 
137
+ ### 5. Train RoboSTAR
138
 
139
  ```bash
140
+ torchrun --standalone --nproc_per_node=8 -m robostar.train_generator \
141
+ --config configs/robostar_mt5_large.yaml \
142
  --cache-root data/cache \
143
+ --output experiments/robostar_mt5_large
144
  ```
145
 
146
 
147
  ## Evaluation
148
 
149
  ```bash
150
+ python -m robostar.evaluate \
151
  --predictions outputs/predictions \
152
  --manifest data/prepared/test.jsonl
153
  ```
 
158
  If you find our work useful, please consider citing:
159
 
160
  ```bibtex
161
+ @article{robostar,
162
+ title = {RoboSTAR: ...},
163
  author = {...},
164
  journal = {...},
165
  year = {2026}
 
170
 
171
  - [SOKE](https://github.com/2000ZRL/SOKE): Our work follows SOKE in adopting its motion representation and sign retrieval formulation.
172
 
173
+ - [How2Sign Dataset](https://how2sign.github.io/): Our work uses the How2Sign dataset for training and evaluation.
174
 
175
+ - [HandMDM](https://imagine.enpc.fr/~leore.bensabath/HandMDM/): Our human-mesh rendering and visualization pipeline is inspired by HandMDM.