Developer Arman recently unveiled a small-scale language model dubbed GuppyLM. With only about 9 million parameters, the model simulates the life of a fish named "Guppy" to demonstrate the underlying architecture of AI training.
Unlike commercial models that boast hundreds of billions of parameters, GuppyLM aims to prove that training a language model isn't "black-box magic." The project is designed so that users can complete the entire process—from data generation and tokenizer training to model architecture setup and inference—in just five minutes using a single Google Colab notebook.
"If you can run a notebook to train a model, you can understand how it works," Arman stated in the project documentation. The model utilizes a standard Transformer architecture, stripping away complex components like GQA, RoPE, or SwiGLU to ensure the code remains minimalist and transparent.
'Fishy Thinking' in a Minimalist Architecture
GuppyLM was trained on 60,000 synthetic dialogue samples covering 60 topics, including water temperature, food, bubbles, lighting, and life in a fish tank. To maintain character consistency, the developer opted not to use system prompts, instead baking the "fish personality" directly into the model weights. This design not only saves on inference compute costs but also gives the model a unique, quirky expressiveness.
In testing, GuppyLM behaves exactly like a simple fish. When asked about the "meaning of life," it replies, "Food, the answer is always food." When faced with complex human abstractions like politics, money, or electronics, the model shows a complete lack of comprehension, staying firmly within the context of its fish tank environment.
Limited by a 128-token context window, the model is primarily suited for single-turn conversations. The developer notes that this was an intentional design choice: "A fish that forgets things fits the persona, but outputting gibberish would be pointless."
The project is now open-source on HuggingFace. Released under the MIT license, the developer hopes this micro-project will allow more people to intuitively observe the entire journey from raw text to model weights and final generation. For beginners looking to get into deep learning, GuppyLM offers a practical platform that requires neither expensive GPU clusters nor a PhD.