MemT-1.0-Nano: a foundation model with built-in persistent memory
MemT-1.0-Nano is a memory foundation model that makes persistent, dynamically evolving memory part of the model's own computation, retaining historical information without accessing the original context at inference. Its persistent state stays constant in size, reducing storage by approximately 66× versus a full-context KV cache[1] at a 128K history length. Nano runs on a Qwen3.6-35B-A3B backbone[2] with 36B total parameters, 3B activated parameters, 451M trainable memory parameters and a 10M dynamic memory state; the larger MemT-1.0-Flash runs on DeepSeek-V4-Flash with 288B total parameters, 17B activated, 3.61B trainable memory parameters and a 336M dynamic memory state.
A Native Memory Block runs alongside the backbone attention: a Local Memory Block maintains a dynamic multi-channel memory matrix that evolves across interaction steps, while a Hyper Memory Block holds trainable memory query, key and value projections plus erase, write, forget and output gates. Mixture-of-Storage (MoS)[3] scales the memory capacity, and training used backbone preparation and a two-stage pipeline supported by 34B tokens of data. Across 11 memory benchmarks, MemT-1.0-Flash and MemT-1.0-Nano rank first and second among the evaluated parametric-memory[4] methods, though strong textual-memory systems remain ahead overall, particularly on long histories that require detailed evidence retrieval.
MemT-1.0 also introduces an agentic framework for reusing procedural experience in long-horizon coding tasks: retrieved experience is stored in native memory and read through memory attention during execution, improving task performance without adding experience text to the task context. The model requires Python 3.11 or newer and a CUDA 13 build of PyTorch 2.11.0, and the session API can save past and current turns to latent local memory, clear the plaintext conversation context, and later resume from a saved .safetensors state file with zero messages in history. The Nano weights are released under the Apache License 2.0.
Read the original huggingface.coDiscussion on Hugging Face
Sources
-
Hugging Face
MemTensor/MemT-1.0-Nano





