Quantized INT4 weights designed to run locally on ESP32-S3 with 16MB Flash and Octal PSRAM.
This model repository contains the binary weights, metadata, license, and tokenizer assets for the esp32-sandbox project (projects/s3-tiny-stories).
group_size = 64 or 128) with FP16 scales0x110000 (mapped via esp_partition_mmap)README.md - Model Card and documentationLICENSE - Apache 2.0 Licensemetadata.json - Hardware, quantization, and model architecture metadata*.bin - Compiled INT4 model weightstokenizer.json - SentencePiece / BPE vocabulary configurationDownload the binary file (stories15M_q4.bin) and flash it directly to your ESP32-S3:
# 1. Download model binary
hf download nicholascwilde/esp32-s3-tinystories stories15M_q4.bin --local-dir .
# 2. Flash to model partition (0x110000)
esptool --baud 921600 --port /dev/ttyACM0 write-flash 0x110000 stories15M_q4.bin
Refer to the esp32-sandbox repository for firmware building, flashing, and serial monitoring.
model.bin 14 MiBstories15M_q4.bin 8 MiB