LearnBuild toward a chatbot

Build toward a chatbot

Every chat model on this site runs as one brainfuck program. Here you build a small version of each trick such a program needs, one at a time, and run it. You do not need to know anything about programming.

11 lessons. New to the language? Start with Brainfuck basics.

Your progress

Start lesson 1

What you build

What is the capital of France?The capital of France is Paris.

The model reads and writes text in word pieces: a word, or a part of one. To print that last piece, the program works out a score for every word piece it knows and takes the highest. By lesson 11 you have built a small version of every part of that, for one small sum:

Every program in the lessons is real brainfuck that runs in your browser. Where a lesson quotes numbers of "the chat program", it means the program of brnfck-smollm2-135m, with 135 million weights. For the story without exercises, read How it works.