llama2-psp v1.0.0 by caiomadeira
Runs the tiny 260K TinyStories Llama 2 model on the PSP and writes a short story
Install on your PSP
Archive: extract llama2pspv1.zip and copy the build folder into /PSP/GAME/ on the Memory Stick.
Start it from Game › Memory Stick. On a PSP Go without a Memory Stick, use /PSP/GAME/ on the internal storage.
Files
| File | Size | SHA-256 | |
|---|---|---|---|
| llama2pspv1.zip | 1.4 MB | 7e1b6d09…3f8a | Download |
Screenshots
About llama2-psp
Caio Madeira's port of llama2.c, by way of ytmytm's Llama 2 for the C64. The released version is a plain console app: it starts from a fixed prompt about a girl called Lily asking for a dog and carries the story on, up to 256 tokens. The prompt and settings are built in, so changing them means recompiling. The author ran it on a PSP-2000 and in PPSSPP.
Release notes
v1.0.0 · Llama2PSP v1 [Simple console w/ hardcoded values] · Aug 30, 2025
Work in PPSSPP and physical device (tested on PSP-2000).
Simple console application. Menus, keyboard and parameter modification not included.
temperature = 0.9f
topp = 0.9f
steps = 256
Prompt: "Lily likes cats and dogs. She asked her mom for a dog and her mom said no, so instead she asked"
All this values are hard coded in code. To change, you need to recompile.
