Zbuduj własny model językowy Build your own language model
Od pojedynczych znaków do własnego czat-asystenta: tokenizer BPE, embeddingi, attention, transformer, trening, nowinki 2025/2026, fine-tuning i alignment — a na koniec granice: interpretowalność, długi kontekst, reasoning, agenci, multimodalność i architektury poza transformerem. Każdy moduł to teoria z interaktywnymi animacjami + działający kod z komentarzami + dane do pobrania + komendy. Pierwsze moduły liczą się w sekundy na CPU; później włączamy GPU Maca (MPS). From single characters to your own chat assistant: BPE tokenizer, embeddings, attention, the transformer, training, 2025/2026 frontier tricks, fine-tuning and alignment — then the frontier itself: interpretability, long context, reasoning, agents, multimodality and beyond-transformer architectures. Every module is theory with interactive animations + runnable commented code + datasets to download + commands. Early modules run in seconds on the CPU; later we switch on the Mac's GPU (MPS).
Moduły przechodzimy po kolei — każdy zakłada wiedzę z poprzednich.
Kod każdego modułu leży w katalogu code/; komendy w treści są gotowe do
wklejenia w terminal. Przełącznik PL/EN jest u góry po prawej,
a postęp (✓) zapisuje się w przeglądarce.
Work through the modules in order — each builds on the previous ones.
Each module's code lives in the code/ directory; commands in the text are
ready to paste into a terminal. The PL/EN toggle is at the top right,
and your progress (✓) is saved in the browser.
Bloki kodu w treści to zwykle fragmenty (oznaczone „fragment") —
pełny, uruchamialny plik otwierasz klikając jego nazwę nad blokiem
(↗). Cały kod kursu możesz też pobrać jednym zipem:
Code blocks in the text are usually excerpts (marked „excerpt") —
open the full, runnable file by clicking its name above the block
(↗). You can also download all the course code as one zip: