Instructions to use AlexWortega/tinyvla with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use AlexWortega/tinyvla with LeRobot:
- Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
tinyvla2/pretrain_C_scaled/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TinyVLA-2 — C-scaled (BEST CHECKPOINT — use this one)
|
| 2 |
+
|
| 3 |
+
C setup (canonical base-frame EE actions + numeric morphology descriptor) trained
|
| 4 |
+
with a real budget: full Bridge (53K eps) + full RT-1 (87K eps) — 9.1M frame pool —
|
| 5 |
+
for 60k steps with the LM unfrozen at 0.1x lr.
|
| 6 |
+
|
| 7 |
+
## Results (endpoint error / per-robot zero-prediction floor; <1.0 beats baseline)
|
| 8 |
+
| robot | before scaling | after |
|
| 9 |
+
|---|---|---|
|
| 10 |
+
| jaco (arm) | 1.10 | **0.69** |
|
| 11 |
+
| xarm | 0.95 | **0.64** |
|
| 12 |
+
| dlr_edan | 0.96 | **0.69** |
|
| 13 |
+
| stretch (mobile) | 0.79 | **0.69** |
|
| 14 |
+
| ur5 (fastest robot) | 1.25 | 1.22 |
|
| 15 |
+
| LeKiwi (HELD-OUT mobile) | 1.23 | **1.07** |
|
| 16 |
+
| mean in-training | 0.99 | **0.81** |
|
| 17 |
+
| mean held-out | 1.17 | **0.88** |
|
| 18 |
+
|
| 19 |
+
Scaling data + steps + unfreezing the LM is what made this model competent; five
|
| 20 |
+
different conditioning mechanisms (text prompts, Qwen-encoded morphology, three
|
| 21 |
+
demo-conditioning architectures) moved nothing. In-training saturates at 40k;
|
| 22 |
+
held-out and especially LeKiwi were still improving at 60k.
|
| 23 |
+
|
| 24 |
+
Load: `TinyVLAPolicy.from_pretrained(...)`, `conditioning="morph"`,
|
| 25 |
+
`action_space="canonical"`. Full history: tinyvla2/RESULTS.md
|
tinyvla2/pretrain_C_scaled/config.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "tinyvla",
|
| 3 |
+
"n_obs_steps": 1,
|
| 4 |
+
"input_features": {
|
| 5 |
+
"observation.images.cam0": {
|
| 6 |
+
"type": "VISUAL",
|
| 7 |
+
"shape": [
|
| 8 |
+
3,
|
| 9 |
+
256,
|
| 10 |
+
256
|
| 11 |
+
]
|
| 12 |
+
},
|
| 13 |
+
"observation.images.cam1": {
|
| 14 |
+
"type": "VISUAL",
|
| 15 |
+
"shape": [
|
| 16 |
+
3,
|
| 17 |
+
256,
|
| 18 |
+
256
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
"observation.state": {
|
| 22 |
+
"type": "STATE",
|
| 23 |
+
"shape": [
|
| 24 |
+
16
|
| 25 |
+
]
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"output_features": {
|
| 29 |
+
"action": {
|
| 30 |
+
"type": "ACTION",
|
| 31 |
+
"shape": [
|
| 32 |
+
8
|
| 33 |
+
]
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"device": "cuda",
|
| 37 |
+
"use_amp": false,
|
| 38 |
+
"use_peft": false,
|
| 39 |
+
"push_to_hub": true,
|
| 40 |
+
"repo_id": null,
|
| 41 |
+
"private": null,
|
| 42 |
+
"tags": null,
|
| 43 |
+
"license": null,
|
| 44 |
+
"pretrained_path": null,
|
| 45 |
+
"pretrained_revision": null,
|
| 46 |
+
"chunk_size": 50,
|
| 47 |
+
"n_action_steps": 50,
|
| 48 |
+
"normalization_mapping": {
|
| 49 |
+
"VISUAL": "IDENTITY",
|
| 50 |
+
"STATE": "MEAN_STD",
|
| 51 |
+
"ACTION": "MEAN_STD"
|
| 52 |
+
},
|
| 53 |
+
"max_state_dim": 16,
|
| 54 |
+
"max_action_dim": 8,
|
| 55 |
+
"num_embodiments": 16,
|
| 56 |
+
"max_cameras": 3,
|
| 57 |
+
"conditioning": "morph",
|
| 58 |
+
"morph_tokens": 2,
|
| 59 |
+
"morph_to_slow": false,
|
| 60 |
+
"num_morph_readout": 4,
|
| 61 |
+
"morph_text_max_len": 32,
|
| 62 |
+
"use_demo_conditioning": false,
|
| 63 |
+
"n_support": 3,
|
| 64 |
+
"support_other_task": false,
|
| 65 |
+
"demo_tokens_per_example": 4,
|
| 66 |
+
"demo_visual_groups": 4,
|
| 67 |
+
"demo_action_keys": 8,
|
| 68 |
+
"demo_hidden_mult": 4,
|
| 69 |
+
"vlm_native": false,
|
| 70 |
+
"num_action_readout": 16,
|
| 71 |
+
"demo_action_keys_lm": 4,
|
| 72 |
+
"demo_only": false,
|
| 73 |
+
"action_space": "canonical",
|
| 74 |
+
"image_size": 256,
|
| 75 |
+
"freeze_vision_encoder": true,
|
| 76 |
+
"lm_model_name": "Qwen/Qwen3.5-0.8B",
|
| 77 |
+
"lm_num_layers": 12,
|
| 78 |
+
"num_readout_tokens": 8,
|
| 79 |
+
"freeze_lm": false,
|
| 80 |
+
"tokenizer_max_length": 48,
|
| 81 |
+
"pad_language_to": "longest",
|
| 82 |
+
"expert_dim": 512,
|
| 83 |
+
"expert_layers": 12,
|
| 84 |
+
"expert_heads": 8,
|
| 85 |
+
"use_semantic_latent": true,
|
| 86 |
+
"use_spatial_tokens": true,
|
| 87 |
+
"spatial_vocab": 1024,
|
| 88 |
+
"spatial_loss_weight": 0.0,
|
| 89 |
+
"num_denoise_steps": 10,
|
| 90 |
+
"flow_beta_alpha": 1.5,
|
| 91 |
+
"flow_beta_beta": 1.0,
|
| 92 |
+
"min_period": 0.004,
|
| 93 |
+
"max_period": 4.0,
|
| 94 |
+
"staleness_prob": 0.0,
|
| 95 |
+
"staleness_max_s": 2.0,
|
| 96 |
+
"optimizer_lr": 0.0001,
|
| 97 |
+
"optimizer_betas": [
|
| 98 |
+
0.9,
|
| 99 |
+
0.95
|
| 100 |
+
],
|
| 101 |
+
"optimizer_eps": 1e-08,
|
| 102 |
+
"optimizer_weight_decay": 1e-10,
|
| 103 |
+
"optimizer_grad_clip_norm": 10.0,
|
| 104 |
+
"scheduler_warmup_steps": 1000,
|
| 105 |
+
"scheduler_decay_steps": 40000,
|
| 106 |
+
"scheduler_decay_lr": 2.5e-06
|
| 107 |
+
}
|
tinyvla2/pretrain_C_scaled/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e8ea641f556eba437b5d41255f833eb4f39db320e1dda52e9a318bb03ec2936
|
| 3 |
+
size 2575766712
|