Contents › Chapter 1 Guessing the next character
A small AI that practiced writing by reading 40 fairy tales
View in 3DThe text in the box below was not written by a person. The small AI on screen wrote it, one character at a time. It practiced writing by reading 40 fairy tales. How can it write like this? Let's follow along from the very beginning.
Text written by the AI: Once upon a time. ⏎ ⏎ He was down up began to his hands. He walked out he did n
Why?The chatbots you use on phones and computers write the same way. This AI is a tiny version made for learning, so we can look at every part inside it.
Learn moreThe 40 fairy tales are well-known folk tales and fables, retold in simple sentences just for this project.
View this scene in 3D →More in the series
A small AI (a character-level language model with 62,652 dials) was really trained on 40 fairy tales and fables retold for this project (about 376,021 characters), and every number here was calculated by that AI. It is a tiny model for learning; real chatbots are far bigger.