25launches

PocketGPT for ESP32

A 30M-parameter language model running offline on an ESP32

0 followers

Visit github.com (opens in a new tab)

Artificial IntelligenceOpen SourceDeveloper Tools

PocketGPT is a 30-million-parameter language model trained from scratch that runs fully offline on a Seeed XIAO ESP32-S3, a thumb-sized microcontroller, with a round touchscreen to type and read replies. Weights sit in the board's 8 MB of flash and 8 MB of PSRAM, some compressed to 3 bits, and it writes about 1.12 tokens per second. The repo has the firmware, training notes and a test of eight model architectures. MIT license. Replies are short, and speed figures are the maker's own tests.