Instructions to use albus2024/dita_goal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use albus2024/dita_goal 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
Download policy_preprocessor.json from albus2024/dita_goal: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/albus2024/dita_goal/resolve/main/policy_preprocessor.json
- Command line
-
hf download hf://albus2024/dita_goal/policy_preprocessor.json
-
curl -L -o policy_preprocessor.json https://huggingface.co/albus2024/dita_goal/resolve/main/policy_preprocessor.json
1.62 kB
| { | |
| "name": "policy_preprocessor", | |
| "steps": [ | |
| { | |
| "registry_name": "rename_observations_processor", | |
| "config": { | |
| "rename_map": {} | |
| } | |
| }, | |
| { | |
| "registry_name": "to_batch_processor", | |
| "config": {} | |
| }, | |
| { | |
| "registry_name": "tokenizer_processor", | |
| "config": { | |
| "max_length": 77, | |
| "task_key": "task", | |
| "padding_side": "right", | |
| "padding": "max_length", | |
| "truncation": true, | |
| "tokenizer_name": "openai/clip-vit-large-patch14" | |
| } | |
| }, | |
| { | |
| "registry_name": "dita_language_encoder_processor_step", | |
| "config": { | |
| "clip_model_name": "openai/clip-vit-large-patch14", | |
| "traj_length": 11, | |
| "chunk_size": 10, | |
| "device": "cuda" | |
| } | |
| }, | |
| { | |
| "registry_name": "dita_masked_normalizer_processor", | |
| "config": { | |
| "eps": 1e-08, | |
| "features": { | |
| "observation.images.image": { | |
| "type": "VISUAL", | |
| "shape": [ | |
| 3, | |
| 256, | |
| 256 | |
| ] | |
| }, | |
| "action": { | |
| "type": "ACTION", | |
| "shape": [ | |
| 7 | |
| ] | |
| } | |
| }, | |
| "norm_map": { | |
| "VISUAL": "IDENTITY", | |
| "ACTION": "QUANTILES", | |
| "LANGUAGE": "IDENTITY" | |
| }, | |
| "gripper_mode": "binary" | |
| }, | |
| "state_file": "policy_preprocessor_step_4_dita_masked_normalizer_processor.safetensors" | |
| }, | |
| { | |
| "registry_name": "device_processor", | |
| "config": { | |
| "device": "cuda", | |
| "float_dtype": null | |
| } | |
| } | |
| ] | |
| } | |