pull down to refresh



This is a 28.9 million parameter language model that generates text on an ESP32-S3 microcontroller. It runs on the chip itself, with nothing sent to a server, and it displays generated text at 9.88 tokens per second on a small screen wired to the chip. It fits because most of the model lives in flash instead of RAM, using Per-Layer Embeddings, an idea from Google's Gemma 3n.

I've been studying functiongemma for a while now but it's still too big for ESP32-S3. Would be useful in on-edge "decision making", but on the other hand, offloading to a closeby Pi+HAT will probably work better (and provides way more compute.)

reply
131 sats \ 2 replies \ @RDClark 5 Aug

Functiongemma is very handy if you scope the task. I only used it on phone but want to play with it on more private devices

reply
26 sats \ 1 reply \ @optimism 5 Aug

Did you finetune it? I had one try but my training set sucked so I have to put more time into getting that right.

reply
131 sats \ 0 replies \ @RDClark 5 Aug

I got pulled into gemma4 projects on my desktop and have played with tuning that.. but I want to spend time on these small models too... I am just too novice with time constraints

reply