Stage 1 of 7 · The letter-to-number book
A computer can't read letters. So we give every letter a number.
Your model will only ever see numbers. This first box is a small book that turns your text into numbers, and turns the numbers back into exactly the same text.
- ✓ 1Do it by hand
- ✓ 2Build it
- 3Watch it work
- 4Say it back
- 5Name it
Your book, running11 characters → 11 numbers
letters ↓ book ↓ numbers
h
3
e
2
l
4
l
4
o
5
␣
0
w
7
o
5
r
6
l
4
d
1
The book itself 8 pages
space0
d1
e2
h3
l4
o5
r6
w7
Every different character gets one page, in alphabetical order. Even the space gets a number, because the model has to learn where words end. Hover a page to see where it's used.
Nothing lost? round trip
- text
- "hello world"
- numbers
- 3 2 4 4 5 0 7 5 6 4 1
- back
- "hello world"
- check
- identical, nothing lost
If the text that comes back isn't identical, the book is broken and the model would learn the wrong thing. Your test checks this.
Word book · 1 word waiting
• • • • • • • • •
This box has a real name. It unlocks once you can rebuild the book from a blank page, without looking.