Views
No views yet
Qwen/Qwen3-VL-2B-Instruct extended with 2048 FAST action tokens so it can be used as the VLM backbone for the QwenFast framework in starVLA (autoregressive VLA via π₀-FAST-style discrete action tokens).| Value | |
|---|---|
| Base model | Qwen/Qwen3-VL-2B-Instruct |
| New tokens | 2048 FAST action tokens (added as special tokens) |
| Tokenizer (base / total before) | 151643 / 151669 |
| Embedding size before / after | 151936 → 153984 |
| Action token id range | [151936, 153983] |
| Init strategy for new rows | normal (μ=0, σ=0.02) |
| Source token list | fast_tokens.txt |
| Saved dtype | bfloat16 |
{token: id} is stored in added_custom_token_id_map.json.starVLA/model/modules/vlm/tools/add_qwen_special_tokens/add_special_tokens_to_qwen.py, equivalent to:1python starVLA/model/modules/vlm/tools/add_qwen_special_tokens/add_special_tokens_to_qwen.py \
2 --model-id Qwen/Qwen3-VL-2B-Instruct \
3 --tokens-file starVLA/model/modules/vlm/tools/add_qwen_special_tokens/fast_tokens.txt \
4 --save-dir ./results/Qwen3-VL-2B-Instruct-Action \
5 --init-strategy normalframework.qwenvl.base_vlm to this repo in your training YAML. Example: examples/SimplerEnv/train_files/config_2b_fast.yaml:1framework:
2 name: QwenFast
3 qwenvl:
4 base_vlm: LinhanWang/Qwen3-VL-2B-Instruct-Action
5 attn_implementation: sdpa
6 action_model:
7 action_model_type: FAST
8 action_dim: 7
9 future_action_window_size: 15
10 past_action_window_size: 01import torch
2from transformers import AutoProcessor, AutoTokenizer, Qwen3VLForConditionalGeneration
3
4repo = "LinhanWang/Qwen3-VL-2B-Instruct-Action"
5tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
6proc = AutoProcessor.from_pretrained(repo, trust_remote_code=True)
7model = Qwen3VLForConditionalGeneration.from_pretrained(
8 repo, dtype=torch.bfloat16, attn_implementation="sdpa", device_map="cuda"
9)
10print(len(tok), model.get_input_embeddings().weight.shape[0]) # 153717 153984QwenFast on a LeRobot dataset) before relying on the action tokens.Qwen/Qwen3-VL-2B-Instruct.