Typing Tiny Stories
Typing Tiny Stories
Description:
Typing Tiny Stores is a proof-of-concept web application that demonstrates the practical use of large language models (LLMs) running on local hardware in real-time.
How to Play:
- Click the screen to begin the game.
- Type the text as it appears. Incorrect text will be highlighted in red.
- Use the backspace to correct any errors.
- Lines end with a space; typing the space progresses you to the next line.
- If you type enough words correctly, you will have the option to write your own single-line story. The LLM will then continue the story from where you left off.
AI Model:
This game serves as a proof-of-concept, showcasing the potential of focused LLMs for specific tasks, such as dynamic language systems for NPCs or validating dynamic user inputs. The model is optimized for speed, capable of generating a few hundred tokens per second on a mobile CPU. While it may not be the most robust model with extensive use, it is highly suitable for a typing game.
The LLM powering Typing Tiny Stores is trained on the TinyStories dataset (Eldan, R. and Li, Y., 2023), which consists of short stories with a limited vocabulary intended for three-year-olds. A smaller model, based on the llama2 architecture, was trained on this dataset, resulting in a lightweight model with approximately 300K parameters and a size of less than 1 MB. This makes it exceptionally fast and efficient for use in this game.
Status | In development |
Platforms | HTML5 |
Author | SouthScribbleCompany |
Genre | Interactive Fiction, Educational |
Made with | raylib |
Tags | genai, llm, Minimalist, Typing |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard |
Accessibility | Color-blind friendly, Subtitles, High-contrast |
Comments
Log in with itch.io to leave a comment.
I found a bug. The bug occurs after typing your own statement. Random letters appear between words, but they become visible only when you type those specific letters.
Nice and very interesting