Downloads · 30 days
0
maddiedreese/tinystories-palm-tungsten
tinystories-palm-tungsten is a text generation model from maddiedreese. Use it when you need the model to write or continue text. It is set up for other. The card lists the license as mit.
paLLM is a TinyStories-class transformer language model packaged for local inference on a Palm Tungsten E2. The model is embedded into a Palm OS application as row-wise INT8 resources and generated entirely on-device…
Downloads · 30 days
0
Access
Public
Updated Jun 22, 2026
Repo size
283 KB
Likes
0
Public
Click a slice to open those files.
.bin283 KB · 81%
From the Hugging Face model README
paLLM is a TinyStories-class transformer language model packaged for local inference on a Palm Tungsten E2. The model is embedded into a Palm OS application as row-wise INT8 resources and generated entirely on-device after installation.
This is a research/retro-computing artifact, not a general assistant model. Generation on the tested Palm Tungsten E2 is roughly one token every seven seconds, and output quality is intentionally limited by the tiny model size, fixed-point inference, and Palm-safe approximations.
model/q8_chunk_*.bin: row-wise INT8 model payload split into Palm resource-sized chunks.model/q8_index.h: chunk index used by the Palm runtime.model/q8_resources.rcp: Palm resource declarations for the model chunks.model/palm_vocab.h: 512-token TinyStories tokenizer table compiled into the app.palm/: Palm OS C runtime and resources.source/Makefile: build entry point from the GitHub repository.The embedded model payload is 282,584 bytes across 18 chunks. The original
project builds a .prc of about 292 KiB.
This package is based on the tiny Llama/TinyStories ecosystem:
llama2.ckarpathy/tinyllamas, especially the TinyStories 260K familyThe Palm build is not a direct llama2.c port. It adds a custom quantizer,
Palm resource packing, a fixed-point runtime, and decoder guardrails for a
constrained Palm OS environment.
Target hardware:
Runtime characteristics:
The full build flow lives in the GitHub project:
git clone https://github.com/maddiedreese/paLLM.git
cd paLLM
make
The GitHub Actions workflow builds the Palm .prc using a Palm OS build
package, m68k-none-elf-gcc, PilRC, and Palm OS 5 SDK headers.
llama2.c: https://github.com/karpathy/llama2.c