Run this model with HF Jobs
Run tak633b/inkling2-mini-memt on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/tak633b/inkling2-mini-memt. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tak633b/inkling2-mini-memt on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use tak633b/inkling2-mini-memt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use tak633b/inkling2-mini-memt with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download tak633b/inkling2-mini-memt --local-dir inkling2-mini-memt
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Inkling-2-Mini + MemT (Phase 4 Reflective Sleep & Neural Write-Gate Sidecar)
MemT-inspired rewritable persistent external memory (12.58 MB .safetensors) + Dual-Channel Reflective Sleep Consolidation sidecar for thinkingmachines/Inkling-2-Mini (26.4B Looped MoE, 3-bit MLX), runnable natively on 24GB Apple Silicon Macs.
- Standalone Code & One-Line
uvxServer (zerooMLX.appdependency):github.com/tak633b/inkling2-mini-memt - Base 3-bit MLX Model (auto-downloaded at runtime):
mlx-community/Inkling-2-Mini-oQ3e-mtp
Quickstart (Apple Silicon Mac, 24GB+)
uvx --from git+https://github.com/tak633b/inkling2-mini-memt inkling-memt-server
On first run, this automatically downloads both the 3-bit MLX base model and the latest Phase 4 BF16 MemT sidecar (561 MiB) and starts an OpenAI-compatible API server at http://127.0.0.1:8855/v1.
Files in This Repository
| File | Size | Description |
|---|---|---|
inkling2-memt-phase4-reflective-h24-bf16.safetensors (default) |
561 MiB | Phase 4 (v0.4): Reflective Sleep + On-Policy Behavioral Transfer (dev-200 94.5%, mixed 98.2%, behavior-40 72.5%) |
inkling2-memt-phase3-sleep-h24-bf16.safetensors |
561 MiB | Phase 3 (v0.3): 2-pass Sleep + Surprisal Write-Gate (dev-200 87.5%, freeform-40 70.0%) |
Architecture & Live 3-bit MLX Results
- 294.15M parameters (
mem_heads=24, BF16) attached exclusively to the 8 logical Global Attention visits (5_p0, 11_p0, 17_p0, 11_p1, 17_p1, 11_p2, 17_p2, 23_p0) out of 48 total layer visits. - Peak Metal RAM: 12.60 GiB (
11.55 GiBactive) β fits comfortably on a 24GB M4 MacBook Air (15.4β18.2 tok/s) and flies on M5 MacBook Pro (44.5β46.5 tok/s). - Zero history tokens required: all benchmarks below are evaluated purely from the portable 12.58 MB
.safetensorsmemory state!
| Benchmark (Live 3-bit MLX, Zero History) | Phase 3 | Phase 4 (v0.4) | Notes |
|---|---|---|---|
dev-200 Overall |
175/200 (87.5%) | 189/200 (94.5%) | +7.0 pt |
β mixed (hardest multi-fact interference) |
39/55 (70.9%) | 54/55 (98.2%) | +27.3 pt |
β basic / overwrite / unrelated / empty |
52/60, 44/45, 20/20, 20/20 | 52/60, 43/45, 20/20, 20/20 | Preserved |
behavior-40 (Unseen Reflective Lessons) |
24/40 (60.0%) | 29/40 (72.5%) | Base 50.0% / Teacher 85.0% / 0.0% quant gap |
β behav_basic (unseen lesson -> unseen task) |
11/16 (68.8%) | 14/16 (87.5%) | Ties full-context Teacher (14/16)! |
β behav_overwrite (update failed habit) |
5/8 (62.5%) | 6/8 (75.0%) | H100 PyTorch: 7/8 |
β behav_cond_neg (no bleed on unrelated tasks) |
8/8 (100.0%) | 8/8 (100.0%) | Zero interference |
freeform-40 |
28/40 (70.0%) | 27/40 (67.5%) | mixed_hetero 15/20 (75.0%) |
License & Attribution
Apache License 2.0 (see LICENSE and NOTICE). This repository distributes only the trained MemT sidecar weights; base model weights remain hosted under thinkingmachines/Inkling-2-Mini and mlx-community/Inkling-2-Mini-oQ3e-mtp.
Quantized
Model tree for tak633b/inkling2-mini-memt
Base model
thinkingmachines/Inkling-2-Mini