A Bio-inspired Mamba Architecture for Dexterous Manipulation with Intrinsic Neural Timescales
Project description
Neuro-INT Mamba
A Bio-inspired Mamba Architecture for Dexterous Manipulation with Intrinsic Neural Timescales (INT).
Features
- Dual-Stream INT: Parallel fast (sensory) and slow (cognitive) streams.
- Predictive Coding: Efference copy loop for error-driven learning.
- Chandelier Gating: Inhibitory control inspired by Chandelier cells.
- Spinal Reflex: Low-level feedback for immediate response.
- Real-time I/O: $O(1)$ inference step for closed-loop control.
Installation
pip install neuro-int-mamba
Usage
import torch
from neuro_int_mamba import NeuroINTMamba
input_dims = {
'proprio': 54,
'tactile': 100,
'visual': 256,
'goal': 32
}
model = NeuroINTMamba(input_dims, model_dim=512, num_layers=6)
# Real-time control loop
states = None
predictions = None
while True:
# Get sensory data
p, t, v, g = get_sensors()
# Step model
motor_cmd, states, predictions = model.step(p, t, v, g, states, predictions)
# Apply motor command
apply_motor(motor_cmd)
Development
This project uses Astral tools for high-performance development:
- uv: Package management
- ruff: Linting and formatting
- ty: Type checking
uv run ruff check .
uv run ty check .
uv run pytest
Publishing to PyPI
This project is configured to be built with hatchling and published via uv.
-
Build the package:
uv build -
Publish to PyPI:
# Use __token__ as username and your PyPI API token as password uv publish
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neuro_int_mamba-0.1.0.tar.gz.
File metadata
- Download URL: neuro_int_mamba-0.1.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f76c432f5c95b3f6d159c6945179ec58ae1d20b1f67eb0832427dd80c9a3c1a9
|
|
| MD5 |
2b17c9821cd6c4a6a35aa2058d3218e8
|
|
| BLAKE2b-256 |
5cdce6188d29bf30bf88e2450ca6090c6dffd3fc31c3ed33d9152dc16378b82e
|
File details
Details for the file neuro_int_mamba-0.1.0-py3-none-any.whl.
File metadata
- Download URL: neuro_int_mamba-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89dd3bd80ffab629970059473e26c6f559d22367f492d54570e25bea5f2860c8
|
|
| MD5 |
1993883280e032f957606e38f8387266
|
|
| BLAKE2b-256 |
6d794e9c80fa8c1088ed9370a9298e8463ffe2651aee50b4d9f3458d8e866bd9
|