Instructions to use briskVLA/shallow_8L_alternating with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use briskVLA/shallow_8L_alternating with LeRobot:
# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details git clone https://github.com/huggingface/lerobot.git cd lerobot pip install -e .[smolvla]
# Launch finetuning on your dataset python lerobot/scripts/train.py \ --policy.path=briskVLA/shallow_8L_alternating \ --dataset.repo_id=lerobot/svla_so101_pickplace \ --batch_size=64 \ --steps=20000 \ --output_dir=outputs/train/my_smolvla \ --job_name=my_smolvla_training \ --policy.device=cuda \ --wandb.enable=true
# Run the policy using the record function python -m lerobot.record \ --robot.type=so101_follower \ --robot.port=/dev/ttyACM0 \ # <- Use your port --robot.id=my_blue_follower_arm \ # <- Use your robot id --robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \ # <- Use your cameras --dataset.single_task="Grasp a lego block and put it in the bin." \ # <- Use the same task description you used in your dataset recording --dataset.repo_id=HF_USER/dataset_name \ # <- This will be the dataset name on HF Hub --dataset.episode_time_s=50 \ --dataset.num_episodes=10 \ --policy.path=briskVLA/shallow_8L_alternating - Notebooks
- Google Colab
- Kaggle
briskVLA/shallow_8L_alternating
BriskVLA reduced-depth SmolVLA action-expert checkpoint for LIBERO.
Architecture & Training
| Field | Value |
|---|---|
| Role | shallow |
| Teacher | lerobot/smolvla_libero @ a24f1f380461 |
| Expert layers | 8L ([0, 3, 4, 7, 8, 11, 12, 15]) |
| Canonical layout | alternating |
| Expert FFN width | 2048 |
| Expert parameters | 49.12M |
| Training steps / batch | 5000 steps, batch 8 |
| Loss weights | velocity=0.0, hidden=0.0, output=0.0, gt=1.0 |
| Hidden map | same_depth |
| W&B training run | e2174348 |
Best val chunk_mse_teacher |
0.1701 (step 4000) |
Val chunk_mse_gt at best |
0.2206 |
Usage
# Evaluate on LIBERO (K=10 and K=1):
SUCCESS=1 LATENCY=0 STEPS="10 1" project/briskvla/run_eval.sh shallow_8L_alternating briskVLA/shallow_8L_alternating
# Measure latency:
uv run python project/briskvla/latency.py --policy shallow_8L_alternating=briskVLA/shallow_8L_alternating --out outputs/latency/shallow_8L_alternating.json
# Continue training / distill / compress further (e.g. 8L -> 4L):
uv run python project/briskvla/distill_student.py --student briskVLA/shallow_8L_alternating --out outputs/distill/shallow_8L_alternating_ft
uv run python project/briskvla/build_student.py --source briskVLA/shallow_8L_alternating --group 2 --keep alternate --ffn fuse --out outputs/students/shallow_8L_alternating_4L
- Downloads last month
- -
Model tree for briskVLA/shallow_8L_alternating
Base model
HuggingFaceTB/SmolLM2-360M Quantized
HuggingFaceTB/SmolLM2-360M-Instruct Quantized
HuggingFaceTB/SmolVLM-500M-Instruct Finetuned
lerobot/smolvla_base Finetuned
lerobot/smolvla_libero