mlsanityData to 7 Oct 2026

OpenLanguageModel: Readable and Composable Small-Language-Model Pretraining for Education and Research

arXiv 2607.16669 ↗First posted 18 Jul 2026cs.CL cs.LG cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

OpenLanguageModel (OLM) is an open-source PyTorch library for building and pretraining small language models while keeping their machinery visible. In OLM, model code reads like the architecture: components are ordinary modules, while Block, Residual, Repeat, and Parallel describe how they are wired. The resulting model can move unchanged from a teaching notebook to a complete pretraining run or a research ablation. OLM connects this readable model layer to tokenizers, local and streaming datasets, optimization, mixed precision, callbacks, checkpoints, and hardware-aware CPU, single-GPU, and single-node multi-GPU execution. We demonstrate the full path by tracing GPT-2 from diagram to code, launching a FineWeb-Edu training script, replacing one attention component, and letting AutoTrainer configure the available machine. The package includes 27 presets across nine familiar model families and documentation that progresses from LM fundamentals to architecture research. Validation shows close agreement with independent reference implementations, 90.6% four-GPU weak-scaling efficiency for a 348M-parameter workload, compact architecture edits, and positive early usability results. OLM is MIT-licensed and available through PyPI, GitHub, and its documentation site.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 3 of its 6 references that are in the map. First posted on arXiv 18 Jul 2026.

Builds on

3 of 6 references.

References · 3

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2023LMFlow: An Extensible Toolkit for Finetuning and Inference of Large Foundation Modelscited by 58
  3. 2025Pico: A Modular Framework for Hypothesis-Driven Small Language Model Researchcited by 3

Built on by

Not cited yet.