Aquarium v5.2 (lowercase)
An 8.9M-parameter language model that plays a sea creature: a guppy, an octopus, a narwhal, or one of 15 others. Give it a name and talk to it through the glass. It answers in short lowercase sentences, it drifts, and it makes things up. That is the point.
This is the model behind the live Aquarium page, which runs it in a browser Web Worker with plain JavaScript. It grew out of GuppyLM by arman-bd and uses the same small transformer at a longer context.
Quick start
pip install torch tokenizers safetensors huggingface_hub
hf download postpostmodern/aquarium-9M --local-dir aquarium-9M
python aquarium-9M/chat.py --creature octopus --name Inky
chat.py is the whole thing in about 150 lines: the model, the prompt format, and the sampler.
Model
| Parameters | 8,873,472 |
| Architecture | Decoder-only transformer: 6 layers, 6 heads, d_model 384, ReLU FFN 768, pre-LayerNorm, learned positions, tied input/output embedding |
| Context | 512 tokens |
| Tokenizer | Byte-level BPE, 4,096 tokens (tokenizer.json) |
| Special tokens | 0 pad, 1 <|im_start|>, 2 <|im_end|> |
Prompt format
ChatML-style turns. Lowercase the system prompt and every turn before encoding. The last training stage used only lowercase text.
<|im_start|>system
you are pebble, a guppy who lives in a home aquarium with a castle, a filter, and gravel. you are curious, excitable, and always hungry.<|im_end|>
<|im_start|>user
hello pebble, what are you doing?<|im_end|>
<|im_start|>assistant
The system template and all 18 creatures (species, habitat, traits) are in personas.json.
narwhal and mantis_shrimp were held out of chat training as unseen personas. Sample with
temperature 0.7 and top-k 40, and stop at <|im_end|> or after 80 tokens. The browser keeps
the last 432 prompt tokens so an 80-token reply fits.
Training
- Pretraining on TinyStoriesV2-GPT4.
- Conversation warm-up: 2,000 steps on TinyDialogues and synthetic ocean conversations.
- Sea-creature chat: 15,000 steps of persona chat with songs, family scenes, name and noun-copy augmentation, and memory examples (this stage produced v5.1).
- v5.2 data revision: reviewed, curated conversations, including screened exchanges with a 1930-styled visitor model and examples of excitement and urgency.
- Lowercase continuation (this release): 600 steps, learning rate 5e-5, batch 32, sequence 512, on 131,618 lowercased dialogue rows plus a lowercased TinyStories replay pool (15% of examples). Lowercase development loss fell from 3.276 to 1.812.
Every chat stage kept a share of TinyStories windows so the fish could still tell a story.
The chat data that survives is at postpostmodern/aquarium-chat. The full v5.2 training set was lost; that dataset holds its sources and a sample of it.
Built with Qwen
Some of the friends-and-family conversations in stages 3 to 5 were written by Qwen2.5-3B:
1,572 of 3,157, about half of that subset. Qwen2.5-3B is licensed under the Qwen RESEARCH LICENSE
AGREEMENT, Copyright (c) Alibaba Cloud. All Rights Reserved. Those rows are published
separately in the dataset's qwen25_research config, under that license. The rest of the
generated data came from Claude (mostly Haiku), Qwen3 models (Apache-2.0), and talkie-1930 (Apache-2.0).
About these weights
The float weights are rebuilt from the deployed int8 file. The original float checkpoint
of this release was lost. model.safetensors holds the per-row int8 weights multiplied by
their float32 scales (biases and LayerNorms were never quantized), which are exactly the
numbers the browser computes with. They differ from the lost checkpoint only by int8 rounding.
web/guppy.bin is the 9.04 MB browser file, byte for byte. release.json records its
SHA-256 (1be18da5…), the tokenizer's (29c79eb8…), and the lost float checkpoint's
(78b074f3…) for provenance.
Limitations
- It is a toy. It has no knowledge of the world beyond a children's-story vocabulary and its tank.
- It loses track of things within a few turns, contradicts itself, and invents explanations.
- It speaks English and only lowercase. Mixed-case input works poorly unless you lowercase it.
- The v5.2 lowercase run was judged by reading sampled conversations, not by a benchmark. No claim of general improvement over earlier versions is made.
Files
| File | What it is |
|---|---|
model.safetensors |
Float32 weights (rebuilt from int8, see above) |
config.json |
Architecture |
tokenizer.json |
BPE tokenizer (tokenizers format) |
personas.json |
System template and the 18 creatures |
chat.py |
Standalone model, prompt builder, and REPL |
web/guppy.bin |
The browser's int8 file: JSON header, int8 rows, float32 row scales |
release.json |
Version and SHA-256 hashes |
- Downloads last month
- 47