GitHub 火線榜

GitHub 火線榜 · 倉庫檔案

mmm1712/Local_AI_esp32

A language model trained from scratch and running offline on an ESP32-S3 with a touchscreen chat interface. (簡介來自倉庫自身文件。)

資料截至 October 27mmm1712

最好成績

#31

被忽視榜 · 活躍卻無人問津

100

累計 Star

21

Fork 總數

1

近 30 天在榜天數

授權條款: MIT最近 push: October 25Open Issues(含 PR): 0自 2026-10-25 起採集;未知 = 尚未採集到

專案文件

PocketGPT on ESP32-S3

PocketGPT handheld device with its touchscreen keyboard and a recorded answer

A language model trained from scratch and running offline on an ESP32-S3. Use a touchscreen keyboard on XIAO or chat over USB on DevKit.

Watch the project video · Hardware on Amazon

Run PocketGPT

The trained weights and tokenizer are available. No training or API key is needed. Download the source, build the firmware and install the matching model package using the guide for your board:

Your hardware Start here
XIAO ESP32-S3: 8 MB Flash / 8 MB PSRAM, Seeed Round Display and microSD Touchscreen setup
ESP32-S3 DevKit: 32 MB octal Flash / 16 MB PSRAM USB chat setup

Start with the shared preparation steps at the top of the installation guide. Model packages are in Releases; firmware is built from this repository. The two boards use different packages.

What can PocketGPT actually do?

This is a personal experiment with limited capabilities. It can produce short greetings and basic conversational replies, but answers can be wrong, repetitive or unrelated. Even basic arithmetic is unreliable.

These are recorded hardware outputs:

Prompt Response Board
hello Hello. XIAO
how are you? I'm doing okay. XIAO
say something nice You're doing better than you think. DevKit

The XIAO tests took about 6.4 seconds for hello and 11.8 seconds for how are you?. These examples do not guarantee the same quality for other questions. XIAO recordings · DevKit recording

Model specifications

Characteristic Value
Independent trained parameters 30,460,864
Architecture Decoder-only Transformer; 12 layers; hidden size 448
Attention 8 query heads, 2 key/value heads
Tokenizer SentencePiece; 6,144 tokens
Runtime limits 64-token context; up to 24 generated tokens per response
Recorded generation speed DevKit: about 1.41 tokens/s; XIAO: about 0.742 tokens/s
Deployment files DevKit: 20,241,616-byte deduplicated pack. XIAO: 21,717,088 bytes of model weights across Flash, PSRAM-loaded data and microSD; cache and tokenizer files are separate. See the exact XIAO layout.

Speeds are individual measurements, not guarantees. The packages use different mixed-precision layouts. See model and quantization details.

Training

The original training code and settings are included. Base V2 names the second base-model version, trained from random initialization on about 300 million token positions before later refinement. Exact historical retraining requires additional data and records described in that guide.

Optional: Gemini or Ollama

The network interface uses the same XIAO/display hardware, but runs a different firmware. Answers come from Gemini's servers or Ollama on your PC. This option does not use PocketGPT's weights.

Serial testing

After installing PocketGPT on a DevKit, follow the USB test instructions to send a prompt and save the result. The test checks for a nonempty reply, a positive token count and no reported inference errors. Passing confirms generation completed, not that the answer is factually correct.

Reference

當前上榜

  • 31

    被忽視榜 · 活躍卻無人問津

    100 星 · 21 fork · 累計星星(升冪)

    被忽視 →

近 30 天勢頭

累計 Star 走勢

名次走勢

把上榜徽章放進你的 README · mmm1712/Local_AI_esp32[![把上榜徽章放進你的 README](https://git.vaiox.xyz/api/badge/mmm1712/Local_AI_esp32.svg)](https://git.vaiox.xyz/zh-TW/repo/mmm1712/Local_AI_esp32)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh-TW/repo/mmm1712/Local_AI_esp32"><img src="https://git.vaiox.xyz/api/badge/mmm1712/Local_AI_esp32.svg" alt="把上榜徽章放進你的 README" height="20"></a>

← 回到榜單

GitHub 火線榜往日榜發現联系我们 · Contact