1
Homebrewed SLMs: Autoregressive and Masked Diffusion Language Models Built at Home for Portuguese
29 Oct · Pedro Carvalho Brom · arXiv:2610.40533
Building a language model of one's own no longer requires a data centre. This tutorial trains one from scratch, tokenizer included, on one consumer GPU, and shows how to tell whether it is good for the tasks of a specialist domain. It proposes no new method. It releases a tested Python package and two notebooks in Brazilian Portuguese with autoregressive and masked diffusion generation on one network, a…
Code and notebooks: https://github.com/pcbrom/homebrewed-slms Language & NLP Machine learning Matched by wording