Metraipolis › archive › dc_f11cf9f3b3c3

Pretraining and adapting a language model on a dependency-free stack: GPT-2 124M from random weights, reproduced against llm.c, and a clinical adapter for Qwen3-0.6B — arXiv:2609.28568

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.28568
License (as archived)
CC0-1.0
Archived
2026-10-08T06:01:46.360Z
SHA-256 of the archived text
02f71918af64f5e8b377961bdecfb0488367d1ad9b6891065c3b46ed09827408
Stable URL of this page
https://metraipolis.com/documento/dc_f11cf9f3b3c3

How to cite

Pretraining and adapting a language model on a dependency-free stack: GPT-2 124M from random weights, reproduced against llm.c, and a clinical adapter for Qwen3-0.6B — arXiv:2609.28568 — arXiv (en), https://arxiv.org/abs/2609.28568 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f11cf9f3b3c3 (Metraipolis archive dc_f11cf9f3b3c3, sha256 02f71918af64f5e8b377961bdecfb0488367d1ad9b6891065c3b46ed09827408)
BibTeX
@misc{dcf11cf9f3b3c3,
  title = {Pretraining and adapting a language model on a dependency-free stack: GPT-2 124M from random weights, reproduced against llm.c, and a clinical adapter for Qwen3-0.6B — arXiv:2609.28568},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.28568},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f11cf9f3b3c3; sha256 02f71918af64f5e8b377961bdecfb0488367d1ad9b6891065c3b46ed09827408},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.28568. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Almost every language model in service was trained by one family of software. That concentration makes a question hard to settle: how much of what is known about training a language model describes language models, and how much describes that software? Settling it needs a second implementation able to carry a model through a whole lifecycle rather than reproduce one operator. We report such a lifecycle. Using numbat, a machine-learning stack written in Zig with no third-party runtime dependencies, we pretrain a 124.4 M-parameter GPT-2 from random initialisation over 9.91 B tokens of web text, then adapt a separate small model to clinical question answering. A reference implementation runs on identical hardware at both stages, and a sidecar with authority to halt a run supervises each. Agreement is close. Held-out cross-entropy finishes at 3.2588 against a published 3.29, and HellaSwag at 0.3053 against 0.299; across 8 paired evaluations it sits below a same-machine reference at every point, by 0.0608 on average. Re-running that reference on different hardware moves it 0.0035, which bounds how much of any gap is method rather than framework. Throughput does not pay for agreement: measured in one session at a production configuration, numbat reaches 43,374 tokens per second against PyTorch's 41,202, scaling 2.769x over three cards. Clinical adaptation ends at 2.1899 held-out loss against 2.1941. Neither model is a medical device, and neither is validated for clinical use.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-25 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.28568 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T05:25:51.928Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).