Feed a long document into a Fractale model and inspect its compact 8-note memory
Compare a model's predictions with its memory turned on versus turned off
Save and restore a model's memory state to continue a session later
Swap the memory bank from one document into a session about a different document
| fractale-lm/fractale | 1ncendium/aibuster | aaronmayeux/ha-hurricane-tracker | |
|---|---|---|---|
| Stars | 5 | 5 | 5 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 4/5 | 3/5 | 2/5 |
| Audience | researcher | ops devops | general |
Figures from each repo's GitHub metadata at analysis time.
Requires Python, PyTorch, and downloading the pretrained model weights separately.
Fractale is a usage kit for a type of language model that remembers what it reads in an unusual way. Instead of keeping the entire document in a growing prompt like a typical chatbot does, a Fractale model reads a long document one page at a time and is only allowed to keep 8 sticky notes about what it has seen. After each page it writes one note in its own internal shorthand, and once all 8 notes are full, the oldest one gets removed to make room. The model never goes back and rereads earlier pages. Instead, those notes plug directly into the model's own internal workings, so the model thinks through its memory rather than reading it back as text. This repository provides the tools to actually use a Fractale model: loading it, feeding it text, generating continuations, and treating its memory as something you can save to a file, restore later, reset, or swap between different documents. Because the model carries this compact memory state between calls instead of a growing prompt, using it works differently from a normal large language model, and this kit handles that loop for you. The included model is a 386 million parameter base model that has only been pretrained, so it does not have chat abilities and should not be expected to quote text word for word. Its memory captures the general gist, tone, and structure of what it read rather than an exact copy. The repository includes runnable demo scripts that compare what the model predicts with its memory turned on versus turned off, plus a demo that swaps memory banks between two different documents to see how predictions change. The project requires Python and is installed by cloning the repository and running pip install. It is released under the MIT license, and the underlying training code and research live in a separate companion repository.
A usage toolkit for language models that remember long documents through 8 self-written compact memory notes instead of a growing prompt.
Mainly Python. The stack also includes Python, PyTorch.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.