← All packages

Story teller (chat window)

llama-chat 0.1-1maemo2 · games

A chat window for tiny story-telling language models (llama2.c)

Install (after adding the repository):
apt-get install llama-chat

Download .deb Install file for the N900

On the phone: download the install file and open it, the Application Manager offers the package. It needs curl and apt-transport-curl first, see Software setup.

Version0.1-1maemo2
Size21 kB download, 116 kB installed
Sectionuser/games
MaintainerelPytel
Upstreamthis
Dependspython3.11, python3-hildonlite (>= 0.4.0), llama2c (>= 0.0.20240529-1maemo2), curl

Description

A touch application on top of llama2c. You write the first words or a turn of a story, the model continues it token by token (about three tokens per second on the N900, roughly the speed of reading). The menu of the title bar opens the settings: the model, the temperature, the length of a turn, top-p and how much of the story the model remembers. The list of models shows the ones that can be downloaded (stories15M, 61 MB; TinyStories 25M, 98 MB, which is converted on the phone from the Hugging Face checkpoint); the downloads are checked by SHA-256, and your own models can be added in ~/.llama-chat/models.json. Only models that fit in the RAM of the phone are offered. Upstream: this project (MIT); the engine is llama2.c by Andrej Karpathy (MIT).