A character-level transformer that trains itself on an ESP32-S3 — full backprop, written in C, running on $8 hardware.
⬇️ Download qapla NowWelcome! qapla is a unique project that lets you train a real transformer model directly on an ESP32-S3 microcontroller. No cloud, no GPU — just a tiny chip doing the heavy lifting. Follow the steps below to begin.
Step 1: Visit the download page to get the application.
🔗 Go to Download PageStep 2: Once on the page, find the latest release and download the Windows installer (it will be a file ending in .exe).
Step 3: Double-click the downloaded file and follow the setup wizard. qapla will install and create a shortcut on your desktop.
Step 4: Launch qapla from the shortcut or Start Menu. The interface will guide you through connecting your ESP32-S3 and starting a training session.
qpla implements a full training loop from scratch in C — forward pass, cross-entropy loss, backpropagation, and optimizer update — all running on the ESP32's dual-core processor. The host computer acts as a terminal and data feeder. You provide a text file, and the chip learns to predict the next character, byte by byte.
All training happens locally on your ESP32 and computer. No data leaves your machine. qapla does not phone home or collect any information.
Issues or questions? Visit the releases page for links to documentation and community forums.