tokenling
a tiny pet with a GPT-2 brain, living in your browser
Its brain is in charge
The pet's brain is GPT-2, a 124M-parameter language model from 2019, fine-tuned to live as a pet. It decides what to say, where to toddle, how to react to pats, whether it wants the snack, bath or medicine you offer, when to nap, and what to write in its diary at bedtime.
The page only runs its body (getting hungry, sleepy and messy) and its little room. GPT-2 is small, so your pet is a bit silly. That's part of the charm.
Your pet stays here
The brain downloads once (@SIZE_MB@ MB, 4-bit) into this browser's storage and runs on your device with WebAssembly. Your pet, chats and diary stay in this browser and are never sent to a server.
@ANALYTICS_NOTICE@Pets grow up in real time: a kid after 12 hours, a teen after 2 days, an adult after 5. They never die.
Details
- Model
- @MODEL_ID@, from GPT-2 (124M)
- Download
- @SIZE_MB@ MB: 4-bit body, 8-bit embeddings
- Trained
- @TRAINED@
- Runtime
- transformers.js 4.3.1, ONNX Runtime Web (WebAssembly)
- Source
- source code · checksums