Run this model with HF Jobs
Run prosoro/necknet 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/prosoro/necknet. 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/prosoro/necknet 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 prosoro/necknet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prosoro/necknet with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prosoro/necknet", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
NeckNet
Model Description
NeckNet is an MLP model designed for the OmniNeck. It can predict both 6D force and 3D shape (mesh nodes) from the 6D motion of the ball.
Try it out on the Spaces demo.
- Developer: Xudong Han, Fang Wan, and Chaoyang Song.
- Model type: MLP
- License: BSD-3-Clause
- Github: https://github.com/han-xudong/omnineck
Intended Use
This model is intended for researchers and developers working in robotics and tactile sensing. It can be used to enhance the capabilities of robotic systems by providing accurate predictions of force and shape based on tactile data.
To load the model:
from transformers import AutoModel
model = AutoModel.from_pretrained("han-xudong/necknet", trust_remote_code=True)
x = torch.zeros((1, 6)) # Example input: batch size of 1, 6D motion
output = model(x)
Or to load the ONNX version:
# Example code to load onnx
import onnxruntime as ort
import numpy as np
from huggingface_hub import hf_hub_download
onnx_model_path = hf_hub_download("han-xudong/necknet", filename="model.onnx")
ort_session = ort.InferenceSession(onnx_model_path)
# Example input
x = np.zeros((1, 6), dtype=np.float32) # Batch size of 1, 6D motion
output = ort_session.run(None, {"motion": x})
Training Data
The model was trained on the NeckNet-100K dataset, which includes a variety of motion, force, and shape data collected by finite element simulations.
Citation
If you use this model in your research, please cite:
@article{han2025anchoring,
title={Anchoring Morphological Representations Unlocks Latent Proprioception in Soft Robots},
author={Han, Xudong and Guo, Ning and Xu, Ronghan and Wan, Fang and Song, Chaoyang},
journal={Advanced Intelligent Systems},
volume={7},
pages={e202500444},
year={2025}
}
- Downloads last month
- 23