Skip to main content

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 + TrainingArguments for 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mb8-0.1.0a0-py3-none-any.whl (100.1 kB view details)

Uploaded Python 3

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

Hashes for mb8-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 28eafbddb8d600ef9c405c5267fa3433f8cf5e20f4a4d4d5bc786492ff3c90c8
MD5 0a2fbd3c2e7c4ab03ca0fec4224f3774
BLAKE2b-256 0aec49d4a863f0155da72a5cefe23c2ac5570d628f229354ebb8372cadda2705

See more details on using hashes here.

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

Hashes for mb8-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e2d8d136572de2e4a9ee4ffb867131a11821c07b3978c0c82553a8c71c0e5f5
MD5 55a52248b2562ddb30dc571e65524082
BLAKE2b-256 077a452bca1945e5c1993621e68b79d2eec7e9adcd01eb6c056f7ab1f806e73a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page