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.0a0.tar.gz
(76.7 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.0a0-py3-none-any.whl
(100.1 kB
view details)
File details
Details for the file mb8-0.1.0a0.tar.gz.
File metadata
- Download URL: mb8-0.1.0a0.tar.gz
- Upload date:
- Size: 76.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28eafbddb8d600ef9c405c5267fa3433f8cf5e20f4a4d4d5bc786492ff3c90c8
|
|
| MD5 |
0a2fbd3c2e7c4ab03ca0fec4224f3774
|
|
| BLAKE2b-256 |
0aec49d4a863f0155da72a5cefe23c2ac5570d628f229354ebb8372cadda2705
|
File details
Details for the file mb8-0.1.0a0-py3-none-any.whl.
File metadata
- Download URL: mb8-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 100.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e2d8d136572de2e4a9ee4ffb867131a11821c07b3978c0c82553a8c71c0e5f5
|
|
| MD5 |
55a52248b2562ddb30dc571e65524082
|
|
| BLAKE2b-256 |
077a452bca1945e5c1993621e68b79d2eec7e9adcd01eb6c056f7ab1f806e73a
|