A Hacker News Show HN post from volotat brought attention to mini-AGI, an experiment training a byte-level continually learning language model from scratch on a single 8 GB laptop GPU. The project has been running for a month on an RTX 3070, and the results offer a rare look at what compact, continuous training can achieve without enterprise hardware budgets.
The byte-level continual learning experiment
The core idea behind mini-AGI is to train a language model that can learn continuously from a data stream, adapting to new information without erasing what it already knows. Catastrophic forgetting—the tendency of neural networks to overwrite previously learned knowledge when trained on new data—has long been a barrier to practical continual learning. The project addresses this by training on single streams at batch size one, and by damping the attention and embedding trunk learning rate to 0.1x. This slower update rate for the core network helps preserve earlier knowledge while allowing the expert modules to specialize.
The model architecture pages experts between fast VRAM and a larger NVMe drive. At the time of the post, the system held 397 experts totaling 1.26B parameters on disk, while only 32 resident experts with roughly 109 million active parameters lived in the 5.1 GB of VRAM. The training corpus, selected at the start of the run, was about 8 GB in total, and the training process had progressed through roughly 35 percent of that data after a month of overnight and daytime computing.
Hardware constraints and expert paging
Decoupling model size from VRAM capacity is the experiment's most notable engineering choice. Instead of requiring a multi-GPU setup or data center-grade GPUs, the system stores most of its parameters on an NVMe drive and loads only the currently active experts into the 8 GB of video memory. This means the total parameter count can exceed what fits in VRAM by an order of magnitude, while still retaining enough active weight for forward and backward passes. The approach makes byte-level continual learning accessible to developers with consumer-grade laptops, removing the need for cluster rental or cloud compute credits for many prototype runs.
The learning rate schedule is another deliberate constraint. The attention and embedding trunk—a shared network that handles token representation—receives updates at one-tenth the rate of the expert modules. This asymmetry is intended to slow the drift of the model's foundational representations, giving the specialists room to adapt to new data without destabilizing the broader language understanding the trunk provides.
Benchmark results explained
The post includes two benchmark tables. The first evaluates model performance on enwik9, the first 10^9 bytes of English Wikipedia, reporting bits-per-byte compression scores. Models ranged from Llama-3.2-1B at 0.68 bits/byte to GPT-2 Small at 1.33 bits/byte. The mini-AGI variants appear in the table: the online version achieved 1.14 bits/byte, the dynamic version 1.23, and the frozen version 1.29. The "online" variant denotes the model allowed to specialize as it evaluated the test set, while "frozen" kept all experts static after initial training.
The second table shifts to the PG19 dataset, consisting of 100 Project Gutenberg books. Published models such as MambaByte-972M and MegaByte-1B were trained on 75 to 80 GB of PG19 training material and scored on held-out books from the same domain. mini-AGI, by contrast, had never seen PG19 during training. Its results on PG19 are therefore out-of-domain evaluations: the online version scored 1.447 bits/byte, the frozen version 1.995. The source notes that mini-AGI has read no Victorian novels, so the PG19 books represent a completely unfamiliar domain for the model.
These numbers are not meant to crown a winner. Instead, they illustrate the trade-off between data exposure and model plasticity. A model trained extensively on a single domain (the published PG19 models) scores well on that domain but may not generalize elsewhere. A continually learning model with limited data exposure shows different strengths and weaknesses, particularly when evaluated on out-of-domain text.
What the setup enables for developers
Mini-AGI demonstrates that continual learning is not exclusively the province of well-funded labs. By paging experts to disk, using a modest learning rate dampening schedule, and training on single-stream data, the project makes it possible to run month-long training experiments on a laptop. For developers exploring AI research, this lowers the barrier to experimenting with regularization techniques, architecture modifications, or data curriculum design without needing datacenter GPUs.
The project also raises questions about the practical limits of expert paging. Drive speed matters: the post notes that below roughly three tokens per second, the system switches to a slow mode with fewer tool rounds per turn and a notification when long answers finish. Users with hard disks or USB drives are cautioned that such storage is usually too slow for useful inference. The balance between VRAM resident experts and disk-paged experts is therefore a tunable parameter, dependent on the speed of the secondary storage.
Code and replication
Full methodology and replication code are available in the GitHub repository at github.com/volotat/mini-AGI. The post also links to an intermediate weights snapshot on Hugging Face at huggingface.co/Volotat/mini-AGI-undertrained, allowing other researchers to inspect the model state at the ~35 percent training milestone. The openness of the code and model weights is a key part of the Show HN ethos, inviting others to replicate, extend, or critique the approach.
For teams considering continual learning in production, the mini-AGI experiment suggests a few practical pathways. First, expert paging can extend the reach of a fixed-VRAM model, but the secondary storage must be fast enough to keep inference latency acceptable. Second, learning rate annealing—particularly for the shared trunk—appears to be a simple yet effective regularizer against catastrophic forgetting. Third, domain adaptation remains a hard problem; a model trained on one corpus will inevitably have blind spots when faced with unfamiliar text, and explicit domain-tagged training or retrieval-augmented generation may be required for production use cases that span multiple knowledge areas.
The experiment runs on a single RTX 3070 with 8 GB of VRAM, training a byte-level model that currently stands at 1.26B total parameters across 397 experts. Training continues, with more of the 8 GB corpus yet to be processed. The results so far provide a data point in the ongoing effort to make powerful language models more accessible to developers working with consumer hardware.