Mathematical Brain 8-Level architecture — full training library
Project description
MB-8: Mathematical Brain 8-Level Architecture
MB-8 — full-training library for a novel 8-level neural architecture combining SSM, Hopfield networks, working memory, predictive coding, and plasticity mechanisms.
Features
- 8 architectural levels: Membrane → Synapse → Dendrites → SSM → Hopfield/Phase → Working Memory → Error → Plasticity/Consolidation
- Multiple model variants: SingleStream, DualStream, MB8ForCausalLM (full 8-level)
- Training modes: Pretrain (CLM), SFT (chat-style), GRPO (RL)
- Notebook API: Transformers-style
Trainer+TrainingArgumentsfor Jupyter/Colab - CLI tools:
mb8-train,mb8-sft,mb8-grpo,mb8-eval,mb8-inspect - Epistemic framework: Hypothesis-driven development with go/no-go criteria
Quickstart
from mb8 import MB8Config, MB8ForCausalLM, TrainingArguments, Trainer
model = MB8ForCausalLM(MB8Config.from_preset("tiny_10m"))
trainer = Trainer(
model=model,
args=TrainingArguments(output_dir="outputs", max_steps=100),
train_dataset=...,
)
trainer.train()
Installation
pip install mb8
Documentation
See api-docs/ for full reference and quickstart guide.
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
mb8-0.1.1b1.tar.gz
(77.1 kB
view details)
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
mb8-0.1.1b1-py3-none-any.whl
(100.5 kB
view details)
File details
Details for the file mb8-0.1.1b1.tar.gz.
File metadata
- Download URL: mb8-0.1.1b1.tar.gz
- Upload date:
- Size: 77.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fdbcd221605b5bc3fcaa22ab3232fcb8f914268ba4627c1a18abf1ac9584332
|
|
| MD5 |
a1bf4afbca64570a8a423c8ae8903e80
|
|
| BLAKE2b-256 |
bf2c5a05343e1fe05970c60974271d5beec073ad99ce06d8417fa26ed6625b36
|
File details
Details for the file mb8-0.1.1b1-py3-none-any.whl.
File metadata
- Download URL: mb8-0.1.1b1-py3-none-any.whl
- Upload date:
- Size: 100.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cc16a1d2b73612607bf927c5aa467351aae3d114efc0f7f407f16ab728067a0
|
|
| MD5 |
803839405d6b19c3fb77fdae5710170a
|
|
| BLAKE2b-256 |
8698d7249bee5c4e1ce8d67c96ea5eaea07a1dbdc3b232d1f996aadb0b77061b
|