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.0a1.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.0a1-py3-none-any.whl (100.1 kB view details)

Uploaded Python 3

File details

Details for the file mb8-0.1.0a1.tar.gz.

File metadata

  • Download URL: mb8-0.1.0a1.tar.gz
  • Upload date:
  • Size: 76.7 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

Hashes for mb8-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 38bab5d82e7f489391ac33652d4bfa748dd40b46c504ed447a02ca8c5f01101e
MD5 69f7c87e5785da240b45be86b1665d18
BLAKE2b-256 200726039e0b9285e4475acd6faf77cf5dd26fefe364676d5ce439b41f75f552

See more details on using hashes here.

File details

Details for the file mb8-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: mb8-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 100.1 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

Hashes for mb8-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9d6278f30468854bc935239dbcec610dc774846664618ca0c254848f11cb081
MD5 170d62dc454ae47c8a0e9176979dbe14
BLAKE2b-256 463171f2821dd292ca7c159c0b8da47fd57b71b34b5282c53a3e0fa3727452fa

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