Story teller (chat window)
A chat window for tiny story-telling language models (llama2.c)
Install (after adding the repository):
apt-get install llama-chat
| Version | 0.1-1maemo2 |
|---|---|
| Size | 21 kB download, 116 kB installed |
| Section | user/games |
| Maintainer | elPytel |
| Upstream | this |
| Depends | python3.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).