Run this model with HF Jobs
Run schmevlin/xvla_test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/schmevlin/xvla_test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/schmevlin/xvla_test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use schmevlin/xvla_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use schmevlin/xvla_test with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload policy weights, train config and readme
Browse filesFiles changed (4)
- README.mdAdded+62
- config.jsonAdded+196
- model.safetensorsAdded+3
- train_config.jsonAdded+334
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---datasets: schmevlin/plain_backgroundlibrary_name: lerobotlicense: apache-2.0model_name: xvlapipeline_tag: roboticstags:- lerobot- xvla- robotics---
# Model Card for xvla
<!-- Provide a quick summary of what the model is/does. -->
_Model type not recognized — please update this template._
This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
---
## How to Get Started with the Model
For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).Below is the short version on how to train and run inference/eval:
### Train from scratch
```bashlerobot-train \ --dataset.repo_id=${HF_USER}/<dataset> \ --policy.type=act \ --output_dir=outputs/train/<desired_policy_repo_id> \ --job_name=lerobot_training \ --policy.device=cuda \ --policy.repo_id=${HF_USER}/<desired_policy_repo_id> --wandb.enable=true```
_Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
### Evaluate the policy/run inference
```bashlerobot-record \ --robot.type=so100_follower \ --dataset.repo_id=<hf_user>/eval_<dataset> \ --policy.path=<hf_user>/<desired_policy_repo_id> \ --episodes=10```
Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
---
## Model Details
- **License:** apache-2.0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196{ "type": "xvla", "n_obs_steps": 1, "input_features": { "observation.images.camera1": { "type": "VISUAL", "shape": [ 3, 640, 480 ] }, "observation.images.camera2": { "type": "VISUAL", "shape": [ 3, 640, 480 ] }, "observation.images.camera3": { "type": "VISUAL", "shape": [ 3, 640, 480 ] }, "observation.state": { "type": "STATE", "shape": [ 8 ] } }, "output_features": { "action": { "type": "ACTION", "shape": [ 7 ] } }, "device": "cuda", "use_amp": false, "use_peft": false, "push_to_hub": true, "repo_id": "schmevlin/xvla_test", "private": null, "tags": null, "license": null, "pretrained_path": "outputs/train/xvla_test/checkpoints/last/pretrained_model", "chunk_size": 30, "n_action_steps": 30, "dtype": "bfloat16", "normalization_mapping": { "STATE": "IDENTITY", "ACTION": "IDENTITY", "VISUAL": "IDENTITY" }, "florence_config": { "model_type": "florence2", "bos_token_id": 0, "eos_token_id": 2, "ignore_index": -100, "pad_token_id": 1, "projection_dim": 1024, "text_config": { "vocab_size": 51289, "activation_dropout": 0.1, "activation_function": "gelu", "attention_dropout": 0.1, "d_model": 1024, "decoder_attention_heads": 16, "decoder_layers": 12, "encoder_attention_heads": 16, "encoder_layers": 12, "dropout": 0.1, "max_position_embeddings": 4096, "num_hidden_layers": 12, "num_beams": 3 }, "vision_config": { "model_type": "davit", "drop_path_rate": 0.1, "patch_size": [ 7, 3, 3, 3 ], "patch_stride": [ 4, 2, 2, 2 ], "patch_padding": [ 3, 1, 1, 1 ], "patch_prenorm": [ false, true, true, true ], "enable_checkpoint": false, "dim_embed": [ 256, 512, 1024, 2048 ], "num_heads": [ 8, 16, 32, 64 ], "num_groups": [ 8, 16, 32, 64 ], "depths": [ 1, 1, 9, 1 ], "window_size": 12, "projection_dim": 1024, "visual_temporal_embedding": { "type": "COSINE", "max_temporal_embeddings": 100 }, "image_pos_embed": { "type": "learned_abs_2d", "max_pos_embeddings": 50 }, "image_feature_source": [ "spatial_avg_pool", "temporal_avg_pool" ] }, "vocab_size": 51289, "torch_dtype": "float32", "is_encoder_decoder": true }, "tokenizer_name": "facebook/bart-large", "tokenizer_max_length": 50, "tokenizer_padding_side": "right", "pad_language_to": "max_length", "hidden_size": 1024, "depth": 24, "num_heads": 16, "mlp_ratio": 4.0, "num_domains": 30, "len_soft_prompts": 32, "dim_time": 32, "max_len_seq": 512, "use_hetero_proj": false, "action_mode": "ee6d", "num_denoising_steps": 10, "use_proprio": true, "max_state_dim": 20, "max_action_dim": 20, "domain_feature_key": null, "resize_imgs_with_padding": [ 224, 224 ], "num_image_views": 3, "empty_cameras": 0, "freeze_vision_encoder": false, "freeze_language_encoder": false, "train_policy_transformer": true, "train_soft_prompts": true, "optimizer_lr": 0.0001, "optimizer_betas": [ 0.9, 0.95 ], "optimizer_eps": 1e-08, "optimizer_weight_decay": 0.0001, "optimizer_grad_clip_norm": 10.0, "optimizer_soft_prompt_lr_scale": 1.0, "optimizer_soft_prompt_warmup_lr_scale": null, "scheduler_warmup_steps": 1000, "scheduler_decay_steps": 30000, "scheduler_decay_lr": 2.5e-06}123version https://git-lfs.github.com/spec/v1oid sha256:4be5dc47b30953d21056fb37639c69c4fc01ac695adc3f427414e8e5d3d79e87size 1759596986123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334{ "dataset": { "repo_id": "schmevlin/plain_background", "root": null, "episodes": null, "image_transforms": { "enable": false, "max_num_transforms": 3, "random_order": false, "tfs": { "brightness": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "brightness": [ 0.8, 1.2 ] } }, "contrast": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "contrast": [ 0.8, 1.2 ] } }, "saturation": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "saturation": [ 0.5, 1.5 ] } }, "hue": { "weight": 1.0, "type": "ColorJitter", "kwargs": { "hue": [ -0.05, 0.05 ] } }, "sharpness": { "weight": 1.0, "type": "SharpnessJitter", "kwargs": { "sharpness": [ 0.5, 1.5 ] } }, "affine": { "weight": 1.0, "type": "RandomAffine", "kwargs": { "degrees": [ -5.0, 5.0 ], "translate": [ 0.05, 0.05 ] } } } }, "revision": null, "use_imagenet_stats": true, "video_backend": "torchcodec", "streaming": false }, "env": null, "policy": { "type": "xvla", "n_obs_steps": 1, "input_features": { "observation.images.camera1": { "type": "VISUAL", "shape": [ 3, 640, 480 ] }, "observation.images.camera2": { "type": "VISUAL", "shape": [ 3, 640, 480 ] }, "observation.images.camera3": { "type": "VISUAL", "shape": [ 3, 640, 480 ] }, "observation.state": { "type": "STATE", "shape": [ 8 ] } }, "output_features": { "action": { "type": "ACTION", "shape": [ 7 ] } }, "device": "cuda", "use_amp": false, "use_peft": false, "push_to_hub": true, "repo_id": "schmevlin/xvla_test", "private": null, "tags": null, "license": null, "pretrained_path": "outputs/train/xvla_test/checkpoints/last/pretrained_model", "chunk_size": 30, "n_action_steps": 30, "dtype": "bfloat16", "normalization_mapping": { "STATE": "IDENTITY", "ACTION": "IDENTITY", "VISUAL": "IDENTITY" }, "florence_config": { "model_type": "florence2", "bos_token_id": 0, "eos_token_id": 2, "ignore_index": -100, "pad_token_id": 1, "projection_dim": 1024, "text_config": { "vocab_size": 51289, "activation_dropout": 0.1, "activation_function": "gelu", "attention_dropout": 0.1, "d_model": 1024, "decoder_attention_heads": 16, "decoder_layers": 12, "encoder_attention_heads": 16, "encoder_layers": 12, "dropout": 0.1, "max_position_embeddings": 4096, "num_hidden_layers": 12, "num_beams": 3 }, "vision_config": { "model_type": "davit", "drop_path_rate": 0.1, "patch_size": [ 7, 3, 3, 3 ], "patch_stride": [ 4, 2, 2, 2 ], "patch_padding": [ 3, 1, 1, 1 ], "patch_prenorm": [ false, true, true, true ], "enable_checkpoint": false, "dim_embed": [ 256, 512, 1024, 2048 ], "num_heads": [ 8, 16, 32, 64 ], "num_groups": [ 8, 16, 32, 64 ], "depths": [ 1, 1, 9, 1 ], "window_size": 12, "projection_dim": 1024, "visual_temporal_embedding": { "type": "COSINE", "max_temporal_embeddings": 100 }, "image_pos_embed": { "type": "learned_abs_2d", "max_pos_embeddings": 50 }, "image_feature_source": [ "spatial_avg_pool", "temporal_avg_pool" ] }, "vocab_size": 51289, "torch_dtype": "float32", "is_encoder_decoder": true }, "tokenizer_name": "facebook/bart-large", "tokenizer_max_length": 50, "tokenizer_padding_side": "right", "pad_language_to": "max_length", "hidden_size": 1024, "depth": 24, "num_heads": 16, "mlp_ratio": 4.0, "num_domains": 30, "len_soft_prompts": 32, "dim_time": 32, "max_len_seq": 512, "use_hetero_proj": false, "action_mode": "ee6d", "num_denoising_steps": 10, "use_proprio": true, "max_state_dim": 20, "max_action_dim": 20, "domain_feature_key": null, "resize_imgs_with_padding": [ 224, 224 ], "num_image_views": 3, "empty_cameras": 0, "freeze_vision_encoder": false, "freeze_language_encoder": false, "train_policy_transformer": true, "train_soft_prompts": true, "optimizer_lr": 0.0001, "optimizer_betas": [ 0.9, 0.95 ], "optimizer_eps": 1e-08, "optimizer_weight_decay": 0.0001, "optimizer_grad_clip_norm": 10.0, "optimizer_soft_prompt_lr_scale": 1.0, "optimizer_soft_prompt_warmup_lr_scale": null, "scheduler_warmup_steps": 1000, "scheduler_decay_steps": 30000, "scheduler_decay_lr": 2.5e-06 }, "output_dir": "outputs/train/xvla_test", "job_name": "xvla_training", "resume": true, "seed": 1000, "num_workers": 4, "batch_size": 4, "steps": 100000, "eval_freq": 20000, "log_freq": 200, "tolerance_s": 0.0001, "save_checkpoint": true, "save_freq": 20000, "use_policy_training_preset": true, "optimizer": { "type": "xvla-adamw", "lr": 0.0001, "weight_decay": 0.0001, "grad_clip_norm": 10.0, "betas": [ 0.9, 0.95 ], "eps": 1e-08, "soft_prompt_lr_scale": 1.0, "soft_prompt_warmup_lr_scale": null }, "scheduler": { "type": "cosine_decay_with_warmup", "num_warmup_steps": 1000, "num_decay_steps": 30000, "peak_lr": 0.0001, "decay_lr": 2.5e-06 }, "eval": { "n_episodes": 50, "batch_size": 50, "use_async_envs": false }, "wandb": { "enable": false, "disable_artifact": false, "project": "lerobot", "entity": null, "notes": null, "run_id": null, "mode": null }, "peft": null, "use_rabc": false, "rabc_progress_path": null, "rabc_kappa": 0.01, "rabc_epsilon": 1e-06, "rabc_head_mode": "sparse", "rename_map": {}, "checkpoint_path": "outputs/train/xvla_test/checkpoints/last"}README.mdAdded+62
config.jsonAdded+196
model.safetensorsAdded+3
train_config.jsonAdded+334