BabyLM 2026 GPT-2 Baselines
a set of baseline language models
2 min readupdated
The repository features 18 language models based on the GPT-2 architecture, trained as baselines for BabyLM 2026. The models support text generation in English, German, and Turkish. Their main highlight is training on compact data corpora ranging from 10 to 108 million words, with three independent runs for each configuration to ensure experimental reproducibility. Released by author Mike0619, this release will be useful for researchers and developers studying efficient language model training on limited amounts of text.
Key features
- Support for three languages: English (en), German (de), and Turkish (tr).
- Two training corpus scales for each language: 10M and 100M (108M for German).
- Three independent runs (Seed 42, 43, and 44) for each language and volume configuration.
- Full loading reproducibility via the
transformerslibrary by specifying thesubfolderand commit hashrevision.
What you can do
- Use the models as ready-made reference points when developing your own LLM pre-training methods on small data.
- Compare the training stability of language models across different seeds (Seed 42–44) and text volumes (10M versus 100M).
- Test text generation in English, German, and Turkish within Python scripts using the
transformerslibrary.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "Mike0619/babylm-2026-gpt2-baselines"
subfolder = "English/10M/Seed-42"
tokenizer = AutoTokenizer.from_pretrained(repo_id, subfolder=subfolder)
model = AutoModelForCausalLM.from_pretrained(repo_id, subfolder=subfolder)Read more
DetailsTotal in the repository: 18 GPT-2 checkpoints in separate subfolders.
Training corpora: English (10M, 100M), German (10M, 108M), Turkish (10M, 100M).
Benchmarks and VRAM requirements are not specified in the card.










Comments