K1 SONIC Xiaomi XR-1 5B: robot control model with masked vision
2 min read
This model is a specialized fine-tuning of the Xiaomi-Robotics-1-5B architecture for robotics tasks. It combines a vision-language model (VLM — a model that understands text and images) and the SONIC action generation module, trained using hand and object masks. The model processes an RGB camera image, current joint angles, and a text instruction, outputting a sequence of control tokens for the robot. This solution is useful for researchers and engineers working in robotics and training agents on the Xiaomi XR-1 chassis.
Key features
- Fine-tuning of language and vision layers based on Qwen3-VL (a multimodal language model) using bounding boxes and masks
- Training of the K1 SONIC action stage for 100,000 steps while keeping the original weights in FP32 format
- Generation of 30 sequential 64-dimensional SONIC tokens at 50 Hz for the decoder
What you can do
- Integrate weights into the Xiaomi XR-1 robot control pipeline using a custom LocoManiLab fork
- Run control policy inference based on RGB camera frames, joint data, and text commands
Example
import sys
sys.path.insert(0, "/path/to/this/downloaded/repository")
from xr1_inference import K1XR1
policy = K1XR1("/path/to/this/downloaded/repository", "/path/to/base/model_states.pt")
# tokens = policy.predict(head_rgb, joints_rad, instruction)Read more
DetailsBased on the Xiaomi-Robotics-1-5B base model
Includes the vision.safetensors file with 46 fine-tuned VLM tensors and model.safetensors with 419 action tensors
Requires a CUDA environment, PyTorch, Transformers 4.57.1, FlashAttention 2, and dependencies from the LocoManiLab repository
Training was performed on 90 source episodes with 10 set aside for evaluation










Comments