Commit Β·
a880ac0
1
Parent(s): 16a250e
fix README: remove T5 hallucinations, align with paper (Qwen3.5 + DSFT)
Browse files14 unmodified lines151617181920211 unmodified line232425262728293031323334353637383 unmodified lines4243444546474849505152535455565758596061626364655 unmodified lines717273747576777879808110 unmodified lines929394959697989910010110210310410514 unmodified lines# MotionVLA**MotionVLA** is an end-to-end motion generation system combining Qwen3.5-VL (vision-language perception) with a Dual-Stream FAST Tokenizer (DS-FAST) for human motion generation from image and text inputs.## Repository Contents1 unmodified line| Path | Description ||------|-------------|| `tokenizer/` | DS-FAST dual-stream tokenizer checkpoints || `tokenizer/base/` | Base stream BPE tokenizer (4096 vocab, 201-dim DCT) || `tokenizer/phys/` | Phys stream BPE tokenizer (2048 vocab, 75-dim DCT) || `dataset/` | Dataset index files (motion_path β relative paths) |**Motion data files** (`.pt`) and **images** are stored in the companion dataset repo: `[your-hf-username]/MotionVLA-Dataset`## Tokenizer DesignThe DS-FAST tokenizer decomposes 276-dim ViMoGen motion into two streams:```276-dim motion (T frames)3 unmodified linesβ DCT along time axis, keep top K coefficientsβ BPE encodingBase tokens: ~477/sequence (K=5, vocab=4096)Phys tokens: ~40/sequence (K=15, vocab=2048)```Output sequence format (T5 vocab space):```[BOS=0, base_1+32100, ..., base_N+32100, SEP=32099, phys_1+36196, ..., phys_M+36196, EOS=1]```## Token Vocabulary| Token type | ID range | Count ||------------|----------|-------|| T5 special (BOS/EOS/SEP) | 0, 1, 32099 | 3 || Base motion tokens | 32100 β 36195 | 4096 || Phys motion tokens | 36196 β 38243 | 2048 || **Total vocab** | β | **38244** |For Qwen vocab space (used in ms-swift training):| Token type | ID range | Count ||------------|----------|-------|| Base motion tokens | 248320 β 252415 | 4096 |5 unmodified lines## Usage```pythonfrom tokenizer.ds_fast_tokenizer import DSFASTTokenizerimport numpy as np# Load tokenizertok = DSFASTTokenizer.load("tokenizer/checkpoints")# Encode 276-dim motionmotion = np.load("motion.npy") # shape: (T, 276)10 unmodified lines## CodeTraining code and model architecture: [GitHub](https://github.com/[your-username]/MotionVLA)## Citation```bibtex@article{motionvla2025,title={MotionVLA: End-to-End Motion Generation with Vision-Language Models},author={},year={2025}}```14 unmodified lines151617181920211 unmodified line232425262728293031323334353637383 unmodified lines4243444546474849505152535455565758596061626364655 unmodified lines717273747576777879808110 unmodified lines929394959697989910010110210310410514 unmodified lines# MotionVLA**MotionVLA** is an end-to-end vision-language-action model for humanoid motion generation. It combines a **Qwen3.5** autoregressive backbone (conditioned on a scene image and a text instruction) with **DSFT (Dual-Stream Frequency-domain Tokenizer)**, which decouples low-frequency pose semantics from high-frequency physical dynamics.## Repository Contents1 unmodified line| Path | Description ||------|-------------|| `tokenizer/` | DSFT tokenizer checkpoints || `tokenizer/base/` | Base stream BPE tokenizer (4096 vocab, 201-dim DCT) || `tokenizer/phys/` | Phys stream BPE tokenizer (4096 vocab, 75-dim DCT) || `dataset/` | Dataset index files (motion_path β relative paths) |**Motion data files** (`.pt`) and **images** are stored in the companion dataset repo: `[your-hf-username]/MotionVLA-Dataset`## Tokenizer DesignThe DSFT tokenizer decomposes 276-dim ViMoGen motion into two streams:```276-dim motion (T frames)3 unmodified linesβ DCT along time axis, keep top K coefficientsβ BPE encodingBase tokens: ~477/sequence (K=5, vocab=4096)Phys tokens: ~40/sequence (K=15, vocab=4096)```Each motion sample is laid out as a unified autoregressive sequence:```[ M_BOS, b_1, ..., b_N, M_SEP, p_1, ..., p_M, M_EOS ]```where `b_i` are Base tokens and `p_j` are Phys tokens. A phase-aware logit maskenforces the order `BASE β SEP β PHYS β EOS` at inference, so semantic posestructure is generated before high-frequency physical dynamics.## Token VocabularyThe Qwen3.5 backbone vocabulary is extended with motion tokens (used in thems-swift training pipeline):| Token type | ID range | Count ||------------|----------|-------|| Base motion tokens | 248320 β 252415 | 4096 |5 unmodified lines## Usage```pythonfrom tokenizer.ds_fast_tokenizer import DSFTTokenizerimport numpy as np# Load tokenizertok = DSFTTokenizer.load("tokenizer/checkpoints")# Encode 276-dim motionmotion = np.load("motion.npy") # shape: (T, 276)10 unmodified lines## CodeTraining code and model architecture: [GitHub](https://github.com/AIGeeksGroup/MotionVLA)## Citation```bibtex@article{motionvla2026,title={MotionVLA: Vision-Language-Action Model for Humanoid Motion},author={Zhang, Nonghai and Zhai, Siyu and Zhang, Zeyu and Tang, Hao},year={2026}}```
README.md+21-21