AI product Open source
bootgpt is an experimental character-level language model that boots on x86 hardware before an operating system loads. Its 510-byte handwritten 16-bit real-mode assembly runtime uses BIOS calls to load an approximately 11.5 KB int8 model from subsequent disk sectors and generate fictional Linux boot-log text.
The model is trained in Python on generated dmesg-style logs using character embeddings, one hidden layer, and a softmax output. Training quantizes the weights with power-of-two scales and simulates the integer arithmetic used by the assembly implementation, including its sampler, so the Python and boot-sector outputs can be compared. The repository provides scripts to build and run a disk image with NASM, QEMU, and NumPy; the image can be written to a USB drive and booted on a BIOS-based machine.
1 use taken from transcripts — each links to the moment in the video.
A tiny language model that fits in a computer's 512-byte boot sector and runs before any OS loads, using handwritten 16-bit real-mode assembly and plain integer math. Trained in Python on fake Linux startup logs.
1 in the library.