bootgpt
A small char-level language model whose entire inference engine fits in 510 bytes of an MBR boot sector, with weights, vocabulary, and strings stored in the sectors following the MBR; trained on dmesg output, it generates Linux boot messages infinitely. Written in assembly with int8 arithmetic, verified character-for-character against a train.py implementation run under QEMU.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
bootgpt
A small char-level language model whose entire inference engine fits in 510 bytes of an MBR boot sector, with weights, vocabulary, and strings stored in the sectors following the MBR; trained on dmesg output, it generates Linux boot messages infinitely. Written in assembly with int8 arithmetic, verified character-for-character against a train.py implementation run under QEMU.
Posted by @kerlenton · Original source ↗
Story title · @kerlenton · · Source ↗
Show HN: A language model that lives in a boot sector
Submitted URL · @kerlenton · · Source ↗
https://github.com/kerlenton/bootgpt
Source text · @kerlenton · · Source ↗
Entire inference engine is 510 bytes of MBR, weights, vocab, and strings reside in the sectors following MBR. Small char-level neural network was trained on dmesg generated by machine, so machine produces Linux boot messages infinitely.
Source text · @kerlenton · · Source ↗
I wondered what one can do using a neural network instead of a program and generating boot logs for non-existent hardware was something fun to try.