Instructions to use ZibinDong/ActionCodec2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZibinDong/ActionCodec2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ZibinDong/ActionCodec2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,261 Bytes
1bfc3f0 | 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 | model_type: actioncodec2_unified
config_version: 1
physical:
input_dim: 8
components:
generalized_joint_position:
dims:
start: 0
stop: 7
space: additive
input_order: 0
primitive_order: 2
input_transform:
scale: 1.0
clip: false
constraints:
order_0:
min: -6.283185307179586
max: 6.283185307179586
order_2:
min: -0.25
max: 0.25
order_1:
min: -0.35
max: 0.35
distortion_limit:
- 0.004
- 0.004
- 0.006
- 0.0075
- 0.015
- 0.02
- 0.02
primitive_selection: smooth
gripper_open_command:
dims:
- 7
space: additive
input_order: 0
primitive_order: 0
input_transform:
scale: 1.0
clip: true
constraints:
order_0:
min: 0.0
max: 1.0
distortion_limit: 0.5
primitive_selection: nearest
set_bpe:
lookahead: 8
allow_cross_component_merge: false
train:
primitives:
zero_primitive_components:
- generalized_joint_position
bpe:
spatial_vocab_size: 2048
vocab_size: 4096
quality_control:
hard_order_1_scale: 3.0
min_segment_length: 2
|