We make language models, in the open.
Glintwell builds language models from scratch and gives away everything we learn: how we gather and clean data, how we train, how we teach small models from big ones, and how we measure them.
Just starting. We have not released a model yet. Everything here is the public research we build on, written in our own words, and it grows as we work.
How a language model is made
Eight stages, from raw text to a model you can run. Each one has its own page.
Pretraining
Data, tokenizers, the transformer, mixtures of experts, scaling laws, optimizers, precision and running thousands of chips as one.
Post-training
Turning a text predictor into a helpful model: instruction tuning, preference learning and reinforcement learning for reasoning.
Distillation
How a large model teaches a small one, from copying answers to scoring every word the student writes.
Running models
Memory, batching, 4-bit and 8-bit weights, speculative decoding and long context, so a model is fast and cheap to use.
Evaluation
What the tests measure, how they mislead, and how we keep our own scores honest.
The field
What the open research world has learned since 2017, including the large body of work published in Chinese.
Train your own
A step-by-step path from a tiny model on one graphics card to a real one, with every stage spelled out.
Glossary
Every term on this site in one or two plain sentences.
What we have decided
- Open weights. Every model we finish is free to download, run and change.
- Open recipes. Our data filters, mixtures, training settings and evaluation configs are published with each model.
- Small first. We start with small models we can train often, and use distillation to make them strong.
- Honest numbers. We publish every score, including the bad ones, with the exact settings used.
- Clean data only. We train on public data whose terms allow it, and we remove private details.
- We only learn from models whose terms allow it.
Why open
Language models are becoming basic tools, like search or a spreadsheet. We think the knowledge of how to make them should be as open as the knowledge of how to make a bridge.
Why we write it all down
Most of what makes a model good is not secret. It is scattered across thousands of papers, reports and code notes in many languages. We gather it, test it and explain it plainly so anyone can use it.