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
Metadata
Release files for neuro-int-mamba 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neuro_int_mamba-0.1.0.tar.gz | 19.2 kB | Without provenance | Details for neuro_int_mamba-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neuro_int_mamba-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for neuro_int_mamba-0.1.0-py3-none-any.whl |
Total release size: 23.8 kB
Release files / neuro_int_mamba-0.1.0.tar.gz
| Download URL | neuro_int_mamba-0.1.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f76c432f5c95b3f6d159c6945179ec58ae1d20b1f67eb0832427dd80c9a3c1a9
|
|
BLAKE2b-256 checksum How to use checksums |
5cdce6188d29bf30bf88e2450ca6090c6dffd3fc31c3ed33d9152dc16378b82e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / neuro_int_mamba-0.1.0-py3-none-any.whl
| Download URL | neuro_int_mamba-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89dd3bd80ffab629970059473e26c6f559d22367f492d54570e25bea5f2860c8
|
|
BLAKE2b-256 checksum How to use checksums |
6d794e9c80fa8c1088ed9370a9298e8463ffe2651aee50b4d9f3458d8e866bd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Security for neuro-int-mamba 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.