Downloads · 30 days
15
13% of all-time downloads
lilkm/octo-pt-small-1.5
octo-pt-small-1.5 is a robotics model from lilkm. Use it for the robotics task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This is the octo-small model converted to PyTorch format.
Downloads · 30 days
15
13% of all-time downloads
All-time downloads
116
Public
Parameters
27M
108 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors108 MB · 100%
From the Hugging Face model README
This is the octo-small model converted to PyTorch format.
Octo is a generalist robot policy trained on diverse robot manipulation tasks.
import torch
from safetensors.torch import load_file
import json
# Load config
with open('config.json', 'r') as f:
config = json.load(f)
# Initialize model (assuming you have the model class)
from octo_pytorch.model.octo_model import OctoModel
model = OctoModel(model_name=config['model_name'], repeat_task_tokens=config['repeat_task_tokens'])
# Load weights (T5 encoder weights will be loaded automatically from HuggingFace Hub)
state_dict = load_file('model.safetensors')
model.load_state_dict(state_dict, strict=False) # strict=False because T5 weights are not in the file
Note: The T5-base language encoder weights are not included in this upload to save space. They will be automatically downloaded from HuggingFace Hub when you initialize the model.
model.safetensors: Model weights in safetensors formatconfig.json: Model configurationdataset_statistics.npy: Dataset statistics used for normalization (if available)If you use this model, please cite:
@article{octo_2023,
title={Octo: An Open-Source Generalist Robot Policy},
author={Octo Model Team et al.},
journal={arXiv preprint arXiv:2405.12213},
year={2024}
}