Lab 6 of 7about 40 minutes
A tiny word maker, taught by rewards
It uses what you learned in Self-supervised learning and Reinforcement learning.
You will train a small network that writes words letter by letter, first on a list of real words with no labels written by anyone, then on rewards alone, and watch it learn a check you set, and game one.
- The words, as numbersRun it
- The text is its own labelYour turn
- Words drawn by chanceYour turn
- The group's averageYour turn
- A check that gets gamedYour turn
- A check of your ownOn your own
curl -LsSf https://astral.sh/uv/install.sh | sh
cd learn-deep-learning/labs/dl-lab-word-maker/starter
uv syncWhen you have run it
In step 4, the check looked only at the last letter. What did the tuned maker do?
Run on macOS on an M1 Max, uv 0.11.15, Python 3.12, PyTorch 2.15.0. Checked on .
