Robotics
Transformers
Safetensors
openvla
feature-extraction
vision-language-action
vla
libero
vla-adapter
custom_code
Instructions to use Zenma/VLA-Adapter-LIBERO-Spatial-5000 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Zenma/VLA-Adapter-LIBERO-Spatial-5000 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForVision2Seq model = AutoModelForVision2Seq.from_pretrained("Zenma/VLA-Adapter-LIBERO-Spatial-5000", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,380 Bytes
444f3ca | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | ---
library_name: transformers
pipeline_tag: robotics
license: mit
tags:
- robotics
- vision-language-action
- vla
- libero
- openvla
- vla-adapter
---
# VLA-Adapter-LIBERO-Spatial-5000
VLA-Adapter policy: a Qwen2.5-0.5B prism backbone (fused DINOv2 + SigLIP vision)
with a layer-wise Bridge-Attention action head, fine-tuned on LIBERO.
| | |
|---|---|
| Backbone | qwen25-0_5b-extra |
| LLM | 896 hidden x 24 layers |
| Vision | vit_large_patch14_reg4_dinov2.lvd142m + vit_so400m_patch14_siglip_224 |
| Image size | 224x224 |
| Action head | MLP-ResNet, Bridge Attention (Pro) |
| Objective | L1 regression over the action chunk |
| Checkpoint | configs+libero_spatial_no_noops+b16+lr-0.0001+lora-r64+dropout-0.0--image_aug--VLA-Adapter--libero_spatial_no_noops--20260727_221630--5000_chkpt |
| unnorm_key | `libero_spatial_no_noops` |
| Evaluated on | libero_spatial |
Component files were renamed to the convention the evaluation loader expects:
- `action_head--5000_checkpoint.pt` -> `action_head--checkpoint.pt`
- `proprio_projector--5000_checkpoint.pt` -> `proprio_projector--checkpoint.pt`
## Evaluating
The evaluation code loads the action head and proprio projector from a local
directory, and only accepts a Hub repo id if it is in its hardcoded allowlist,
so download the repo first:
```bash
hf download Zenma/VLA-Adapter-LIBERO-Spatial-5000 --local-dir ckpts/VLA-Adapter-LIBERO-Spatial-5000
python experiments/robot/libero/run_libero_eval.py \
--pretrained_checkpoint ckpts/VLA-Adapter-LIBERO-Spatial-5000 \
--task_suite_name libero_spatial \
--num_images_in_input 2 \
--use_proprio True \
--use_l1_regression True \
--num_open_loop_steps 8
```
`use_pro_version` is inferred from whether the checkpoint path contains "Pro",
so keep that substring in the directory name -- this checkpoint is a Pro head.
## Loading the VLM alone
```python
from transformers import AutoModelForVision2Seq, AutoProcessor
processor = AutoProcessor.from_pretrained("Zenma/VLA-Adapter-LIBERO-Spatial-5000", trust_remote_code=True)
vla = AutoModelForVision2Seq.from_pretrained("Zenma/VLA-Adapter-LIBERO-Spatial-5000", trust_remote_code=True)
```
This gives the backbone only. Action prediction additionally needs
`action_head--checkpoint.pt` and `proprio_projector--checkpoint.pt` from this
repo, instantiated as in `experiments/robot/openvla_utils.py`.
|