AI CAMP / MAKE A MACHINE WRITE
AI CAMPFOR STUDENTS · FOUR WEEKS

Make a Machine Write

Pick a pile of writing you like. Train a computer on it until it writes like that. Then put it on a website and let your family type to it.

4weeks
1website of yours
1demo day
one machine, weeks 2 to 4sample
Week 2 · Friday
youLove
machinelove love the baby the night night [Chorus] love you the the
Week 3 · Tuesday
youLove
machineLove is a light in the window, I keep it on for you, even when the street is empty and the radio is through
Week 4 · Thursday
a parentWrite a song about the dog eating my homework
machineHe came in from the rain with my homework in his mouth, I said baby that was due on Monday, he said nothing, he's a dog
01THE MONTH, AS A CONVERSATION

One team's month, as a conversation

Sample conversation. The team, the songs and every answer below are invented to show the shape of the month.

Team Treble · trained on about 3,000 pop song lyricssample
  1. Week 1 · Monday

    First hour, before any code

    youOnce upon a time
    machineOnce upon a time there was a small town at the edge of a forest, and everyone in it knew the baker's secret.
    1

    This machine is someone else's, already trained. Students see where the month is going before they write a line of code.

  2. Week 1 · Thursday

    Words become numbers

    youWhich words are closest to "guitar"?
    machinebass, drums, piano, chorus
    2

    Their own first program read a long article about music and counted which words turn up near each other. It has no idea what a guitar is. It only knows the words that keep it company.

  3. Week 2 · Friday

    Their machine, first try

    youLove
    machinelove love the baby the night night [Chorus] love you the the
    3

    The team collected the lyrics on Tuesday and trained for three days. First results usually look like this. It has learned the words but not yet the order.

  4. Week 3 · Tuesday

    Second try, after fixing the lyrics

    youLove
    machineLove is a light in the window, I keep it on for you, even when the street is empty and the radio is through
    4

    The team read twenty answers and wrote down what was wrong. The lyric files were full of labels like [Chorus] and the same line pasted four times. They cleaned the files and trained again.

  5. Week 4 · Thursday

    Demo day. A parent types.

    a parentWrite a song about the dog eating my homework
    machineHe came in from the rain with my homework in his mouth, I said baby that was due on Monday, he said nothing, he's a dog
    5

    The site is live on the web. Families type their own requests, and the team explains how the answer got there.

02WHAT THEY MAKE, AND WHEN

Four weeks, six things to show

What you make

  1. 01A small program of their own in week 1: a game, a tracker, or the start of a chat bot.
  2. 02A notebook that turns an article into numbers and finds which words sit close together.
  3. 03With their team, a machine that writes, trained on writing they chose.
  4. 04A log of what went wrong on the first try, what they changed, and what happened next.
  5. 05A website where anyone types a request and reads what the machine writes back.
  6. 06The code, saved on GitHub, a public site where a teacher or an employer can read it.

What a week looks like

Mondaya talk on the week's main idea, then each team plans its week.
Tuesday to Thursdayhands-on afternoons, mostly typing code alongside an instructor.
Fridayan open help hour. Bring whatever is broken.
For familiesone short email a week, with one question to ask at dinner.

In the sample summer schedule that is about two hours each weekday afternoon, for four weeks.

03DEMO DAY

The last afternoon

Sample dateThursday 5 August, 5:30pmfamilies welcome

What happens on demo day

Each team gets about ten minutes. They open the site, type a request, and explain how text turned into an answer: what they fed the machine, what went wrong the first time, and what they changed. Then families type their own requests.

If the machine writes something odd in front of everyone, the team explains why it might have. That counts in their favour.

›One click inHow the month works, how it's scored, and every session
04ONE CLICK IN

How it works, when you want to know

Three short explanations. Each one introduces the real words.

How the month works

Week 1. Python, one idea a day, and how computers turn words into numbers they can compare. Each student writes a small program and a one-page plan: what writing to train on, and what the machine should produce.

Week 2. Teams form around the strongest plans. They collect and clean the writing, cut it into pieces the computer can count (we call that tokenizing), and train a first version by Friday. They start from a machine someone else trained on general text and teach it their style. That step is called fine-tuning.

Week 3. Read the answers, write down two things to fix, and train again. Then build the website around the machine.

Week 4. Put the site online, watch two people outside the team use it without help, fix one thing they found, rehearse, and present.

The machine has a proper name, a language modellanguage modelA program that has read a lot of text and predicts the next word. Your phone keyboard's word suggestions are a tiny one.Draft reading, for Michael to correct. The month itself is what we call a Burst, and every Burst runs through the same four steps: discover, create, iterate, reflect.

How the work is scored

Each piece of work is worth points, and points add up toward 100. There are 160 on offer, so a bad week on one piece can be made up with another.

Learning work is individual. Everyone writes their own program and runs their own notebook, so nobody is carried by a teammate. The trained machine and the website are team work. Extra projects a student picks on their own are held to a higher bar.

Each piece is scored from 0 to 6. A 3 means it runs and the student can explain why. Above that, the levels reward going past the brief.

We also give feedback on how they worked before what they made: their planning, their reasoning, the energy they bring to the team, their process, and last, their understanding. We call this ATACCATACCApproach → Thought → Animation → Craft → Content. Feedback on how you worked, from the foundation up, before what you made.Michael’s words.

The numbers

160 points on offer, 100 to aim for.

70 Interactive65 Interdependent25 Independent
100

The 0 to 6 scale

0.0Needs FocusNeeds FocusNot started, or not sure what the task is.
“Has yet to understand expectations or participate.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0Needs InitiativeNeeds InitiativeStarted, but not a full try yet.
“Has yet to take initiative and make a genuine attempt.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
2.0Needs EffortNeeds EffortClose. Another session or two would get it there.
“Could succeed with more consistent time and effort.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
3.0SuccessfulSuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
4.0ExcellentExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
5.0RemarkableRemarkableYou tried something nobody asked for, and it taught the room something.
“Unexpected creativity and motivation.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
6.0AwesomeAwesomeNext summer's students will be shown this one.
“Uniquely creative and model effort.”Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
The weekly rhythm, by name

Monday's talk is the big idea, and the team planning after it is the huddle. The hands-on afternoons are workshops. Short videos and readings to take any time are quick topics; we call each one a LodeLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.Michael’s words. Friday's open hour is the help desk. Families get a parent update each week, which students never see.

Your four weeks, in short

Week 1

Words become numbers

watch a language modellanguage modelA program that has read a lot of text and predicts the next word. Your phone keyboard's word suggestions are a tiny one.Draft reading, for Michael to correct write in the first hour, learn Python one idea a day, build a small Python project, take text from bag of words to Word2VecWord2VecA 2013 method for learning those lists of numbers from ordinary text. The week 1 notebook runs it on an article you choose.Draft reading, for Michael to correct, and draft a product spec.

Week 2

Train your model

form a team around one spec, learn how RNNs, LSTMs and transformers read text, tokenizetokenizeCut text into pieces (words or parts of words) and give each piece a number, so a computer can work with it.Draft reading, for Michael to correct and gather your data, and fine-tunefine-tuneTake a model someone already trained on a lot of text, and train it a little more on your text, so it picks up your style.Draft reading, for Michael to correct a first GPT model by Friday.

Week 3

Put it on the web

judge your model's output, find two ways to improve it and retrain, then learn HTML, CSS and FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct and wire your model into a Bootstrap site.

Week 4

Ship it and show it

deploy the site, let real users try it and fix what they find, rehearse a presentation of the whole pipeline, and demo it live to families.

Everything you hand in

What you hand inWhoseDuePoints
First Words From a Machine
A screenshot of your first prompt to a ready-trained model, its answer, and one sentence on why you think it wrote that.
your own work, set by campW1 · TUE5
My Python Project
One small Python program of your own, by Wednesday of week 1, that you can explain line by line.
your own work, set by campW1 · WED15
My Word2Vec Notebook
The class notebook run on an article you chose, with the pair of 'close' words that surprised you and a guess at why.
your own work, set by campW1 · FRI15
My Product Spec
One page: what text to train on, where it comes from, and what the machine should write, as a minimum and as a dream.
your own work, set by campW2 · MON10
Our Trained Model
The team's first fine-tuned model: one clean text file, the settings written down, and three prompts it answered by Friday of week 2.
with your teamW2 · FRI20
Two Runs: Our Test and Retrain Log
Twenty answers tallied, the two most common problems named, one change made, and the second run tallied again.
with your teamW3 · WED15
Our Live Site
A public web page with a text box and a button that sends a prompt to your team's model and shows what it writes.
with your teamW4 · TUE20
User Test Notes
Two people outside the team used the site without help. What they typed, where they got stuck, and the one thing you fixed.
with your teamW4 · TUE10
Compare Two Models
A small research project: the same data, two settings or two models, the same prompts, and a page on which wrote better and how you decided.
on your ownW4 · WED10
An Extension of My Own
Something past the brief that you chose: a model per genre, a second model that answers the first, a Discord bot, or your own idea.
on your ownW4 · THU15
Demo Day: How a Prompt Becomes an Answer
Your part of the team's ten-minute demo: one step of the pipeline, explained so a family could repeat it.
your own work, set by campW4 · THU15
The Machine Diary
Once a week, the same prompt to your machine, its answer pasted in, and two lines on what changed since last week.
your own work, set by campW4 · THU10
05THE FULL PLAN

Every session, every score sheet

For when you're in the middle of it.

Week by weekbig ideas, workshops, quick topics, help desk, and what on-track looks like
W1DiscoverBurst“A multi-part journey through the curriculum, usually Discover, Create, Iterate, Reflect.” At AI Camp, one month, four weeks, ending in a demo day for families.Michael’s words Words become numbers

Week 1: Discover

Words become numbers: watch a language model write in the first hour, learn Python one idea a day, build a small Python project, take text from bag of words to Word2Vec, and draft a product spec.

Big ideaBig ideaOne college-style lecture a week. The main ideas live here.PEDAGOGY §7

What AI is, and where language fits

from Lode Get Inspired: A Language Model Writes in Front of YouEmbedded, not copiedses-nlpl01This Session lives in the Lode Get Inspired: A Language Model Writes in Front of You (lod-gptdm1). The week only points at it, so another Burst can use the same Session.

Big idea: AI, ML, data science and NLP, and why data matters

50 min
Main ideas
  • Machine learning is a kind of AI. Instead of writing the rules, you show the computer examples and it finds the pattern.
  • Data science is the work around it: finding data, cleaning it, and measuring results.
  • NLP is the part of AI that works with text. Its three jobs this month: judge how a text feels (sentiment), turn one sequence into another (translation), and write new text (generation).
  • Every AI product has the same steps: data, training, evaluation, then putting it in front of users.
▶Large Language Models explained brieflyvideo · 3Blue1Brown · 8 min · youtube.com

The map, from the 2022 outline: the difference between AI, machine learning and data science; the fields of AI (NLP, computer vision, supervised and unsupervised learning); the kinds of data AI uses (tables, text, pixels); and what goes into building an AI product, from data to training to evaluation to deployment. Then NLP's own tasks: sentiment analysis, sequence to sequence, generation.

HuddleHuddleCohort leadership mechanics: who is doing what this week, and what done looks like by Friday.PEDAGOGY §740 min

Camp, your team, and what three weeks of work look like

  • What AI Camp is, how a week runs, and what is expected of you. You'll be treated as a professional as long as you earn it.
  • Your learning work is yours alone this week: your own Python project, your own notebook. Teams come next week, around the product.
  • Afternoon on day 1: get to know your team and get a demo running. Best demo gets shown.
  • By Friday: a product spec with two answers. What data will you train on? What should the output be, as a minimum product and as a dream?
WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Get inspired: make a model write

from Lode Get Inspired: A Language Model Writes in Front of YouEmbedded, not copiedses-nlpw01This Session lives in the Lode Get Inspired: A Language Model Writes in Front of You (lod-gptdm1). The week only points at it, so another Burst can use the same Session.

Code-along: a pretrained model writes, off the bat

90 min
Try itThree prompts

Load the pretrained model in the class notebook. Give it three prompts: the start of a fairy tale, the first line of a song you know, and a sentence about your school. Save the best answer and the worst one.

Main ideas
  • It has never seen your prompt before. It continues it from patterns in what it read.
  • Run the same prompt twice and you get two answers. It picks among likely next words, with some chance in the choice.
  • Then the classic way. A scikit-learn TF-IDF example ranks the words that make each document different from the others. No guessing, only counting.
CheckWhat did the model do with your prompt?choice

checks→Explain how a computer turns words into numbers it can compare, and why it has toObjectiveobj-nlpo01Explain how a computer turns words into numbers it can compare, and why it has to
objectives/Make-a-Machine-Write-Objectives.md · linked from 5 files

  • Looked the answer up on the internet
  • Guessed likely next words, one after another, from patterns in text it trained on
  • Copied a paragraph it had stored word for word

leads-to→First Words From a MachineDeliverabledlv-frst01First Words From a Machine
deliverables/First-Words-From-a-Machine.md · linked from 1 file

Import a pretrained GPT model and generate text from a prompt before anything is explained. Then look at a classic library doing NLP on a small dataset: scikit-learn's TF-IDF.

WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Python, one idea a day

from Lode Python Basics, One Idea a DayEmbedded, not copiedses-nlpw02This Session lives in the Lode Python Basics, One Idea a Day (lod-pybas2). The week only points at it, so another Burst can use the same Session.

Code-along: Python basics, split across the week

90 min
Main ideas
  • Monday and Tuesday: print, variables and types, lists, for and while loops.
  • Wednesday: functions with def, then classes.
  • Thursday: dictionaries. They map one thing to another, which is how a word becomes a number next week.
  • Friday: pandas and numpy for tables, matplotlib for plotting how often each word appears.
Try itCount the words

Paste a song or a paragraph into a string. Use a dictionary to count each word, then plot the ten most common. Which word wins? It is almost always "the".

▶Python for Beginners: Learn Coding with Python in 1 Hourvideo · Programming with Mosh · 60 min · youtube.com The Python Tutorialarticle · Python Software Foundation · · docs.python.org
CheckA dictionary in one linechoice

checks→Write a small Python program and explain it line by lineObjectiveobj-nlpo02Write a small Python program and explain it line by line
objectives/Make-a-Machine-Write-Objectives.md · linked from 2 files

  • {"cat": 1, "dog": 2} maps each word to a number
  • ["cat", "dog"] maps each word to a number
  • print("cat", 1) maps each word to a number

leads-to→My Python ProjectDeliverabledlv-pyprj2My Python Project
deliverables/My-Python-Project.md · linked from 2 files

The 2022 list, split across days as its authors asked: print statements; variables and types; lists; for and while loops; functions with def; classes; dictionaries; pandas and numpy; plotting with matplotlib and seaborn (useful for plotting how often words appear). Notebook: intro_to_python. "Encourage students to learn on their own!"

WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

From bag of words to Word2Vec

from Lode From Bag of Words to Word2VecEmbedded, not copiedses-nlpw03This Session lives in the Lode From Bag of Words to Word2Vec (lod-w2vec3). The week only points at it, so another Burst can use the same Session.

Workshop: bag of words, embeddings, Word2Vec

90 min
Main ideas
  • Bag of words: count each word and forget the order. Easy to understand, and it loses a lot.
  • Clean first. A spaCy or NLTK pipeline splits text into tokens, drops stop words ("the", "and"), and cuts words back to a base form (lemmatization, stemming).
  • Embeddings: give each word a list of numbers. Words used in similar places get similar lists.
  • Word2VecWord2VecA 2013 method for learning those lists of numbers from ordinary text. The week 1 notebook runs it on an article you choose.Draft reading, for Michael to correct learns those lists from ordinary text. Then "close in numbers" means "used alike".
Try itTwo words it thinks are close

Run the class notebook on a Wikipedia or news article you pick. Ask for the five words closest to one word from the article. Write down the pair that surprised you most, and a guess at why.

▶Vectoring Words (Word Embeddings)video · Computerphile · 17 min · youtube.com The Illustrated Word2vecarticle · Jay Alammar · · jalammar.github.io
CheckWhy turn words into numbers?choice

checks→Explain how a computer turns words into numbers it can compare, and why it has toObjectiveobj-nlpo01Explain how a computer turns words into numbers it can compare, and why it has to
objectives/Make-a-Machine-Write-Objectives.md · linked from 5 files

  • Numbers take less space on disk
  • A computer can only compare and calculate with numbers, so similar words need similar numbers
  • Words are already stored as numbers, so nothing changes

leads-to→My Word2Vec NotebookDeliverabledlv-w2vnb3My Word2Vec Notebook
deliverables/My-Word2Vec-Notebook.md · linked from 2 files

Start with bag of words because it is easy to understand, then explain why word embeddings matter, then Word2VecWord2VecA 2013 method for learning those lists of numbers from ordinary text. The week 1 notebook runs it on an article you choose.Draft reading, for Michael to correct on any Wikipedia or news article. On the way: a spaCy or NLTK preprocessing pipeline (tokenization, stop words, lemmatization, stemming, segmentation, combined into one pipeline), and two similarity measures, Levenshtein distance and cosine similarity. Notebook: NLP and Word2Vec, streamlined for students.

Quick topicsQuick topicsTidbits, as short pieces you can take any time this week.PEDAGOGY §7
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.8 min
AI, ML, DS and NLP: The MapLodelod-aimap4AI, ML, DS and NLP: The Map
lodes/AI-ML-DS-and-NLP-The-Map.md · linked from 1 file

Four terms people mix up, drawn as one map: AI holds machine learning, data science works around it, NLP is the text part.

Open the Lode
Main ideas
  • AI: any computer doing something we'd call smart.
  • Machine learning: AI that learns patterns from examples instead of following hand-written rules.
  • Data science: finding, cleaning and measuring data. Half of this month.
  • NLP: AI for text. Sentiment, translation, generation.
  • Three kinds of data: tables, text and pixels. This month is text.
▶How Chatbots and Large Language Models Workvideo · Code.org · 7 min · youtube.com
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.8 min
Similarity: Levenshtein Distance and Cosine SimilarityLodelod-simil5Similarity: Levenshtein Distance and Cosine Similarity
lodes/Similarity-Levenshtein-and-Cosine.md · linked from 1 file

Two ways to say how alike two pieces of text are: by counting edits, or by the angle between their number lists.

Open the Lode
Main ideas
  • Levenshtein distance counts the single-letter edits that turn one word into another. "kitten" to "sitting" is 3. Good for typos.
  • Cosine similarity compares two lists of numbers by the angle between them. 1 means same direction, 0 means unrelated. This is how Word2VecWord2VecA 2013 method for learning those lists of numbers from ordinary text. The week 1 notebook runs it on an article you choose.Draft reading, for Michael to correct decides two words are close.
Try itTry both

Compute the Levenshtein distance between "their" and "there", then the cosine similarity of their vectors in your notebook. Which measure says they're alike?

Levenshtein distancearticle · Wikipedia · · en.wikipedia.org Cosine similarityarticle · Wikipedia · · en.wikipedia.org
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.team research, 45 min
Find the Coolest End-to-End NLP Project and Present ItLodelod-nlpsh6Find the Coolest End-to-End NLP Project and Present It
lodes/Find-the-Coolest-NLP-Project.md · linked from 2 files

A team research task on day 2: find one finished NLP project, trace it from data to product, and present it in three minutes.

Open the Lode
Try itThree minutes, four slides

With your table, find one NLP project that someone finished and shipped. Present: what data it used, what model, what it outputs, and who uses it. Steal one idea for your own spec.

Hugging Face LLM course, chapter 1article · Hugging Face · · huggingface.co
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.6 min
Finding Text Data on Kaggle and BeyondLodelod-kagdt7Finding Text Data on Kaggle and Beyond
lodes/Finding-Text-Data-on-Kaggle-and-Beyond.md · linked from 1 file

Where to find enough text to train on, how to scrape and combine it, and how to check it before you train.

Open the Lode

You need thousands of examples. Kaggle is the first place to look. Public-domain books, transcripts and open datasets come next.

Workshop: web scraping and combining datasets

90 min
Main ideas
  • Search Kaggle by the output you want: "song lyrics", "recipes", "movie dialogue".
  • Scrape only what a site allows. Check its terms and its robots.txt.
  • Combine sources into one text file. Same format, same separators.
  • Open the file and read a page of it before training. You will find junk.
Try itOne clean file

Find two sources for your team's text. Combine them into one file. Remove the junk you find on the first page, and note what you removed.

⌘Kaggle datasetstool · Kaggle · · kaggle.com
Know the ruleScraping has rules

A site's terms say whether you may copy from it. Some forbid it. If a site says no, use another source.

Help deskHelp deskOne open block a week. Bring the error message.PEDAGOGY §760 min

Python clinic. Bring the project that is half working. Pick one: Tic-Tac-Toe (add a hard-coded AI opponent if you finish), a word2integer dictionary, a class that tracks imaginary employees' rank, name and salary, or the scaffold of a Discord bot. For more, see AI Camp's python-mini-projects and Al Sweigart's Invent Your Own Computer Games with Python (hangman, treasure hunt, a cipher).

On track by FridayOn track by FridayWhat on-track looks like at the end of this week.
  • A pretrained model wrote something from a prompt you gave it.
  • One Python project runs, and you can explain every line.
  • Your Word2VecWord2VecA 2013 method for learning those lists of numbers from ordinary text. The week 1 notebook runs it on an article you choose.Draft reading, for Michael to correct notebook runs on an article you chose, and you found two words the model thinks are close.
  • A draft spec: what data, what output (minimum and dream), and where the data comes from.
W2CreateBurst“A multi-part journey through the curriculum, usually Discover, Create, Iterate, Reflect.” At AI Camp, one month, four weeks, ending in a demo day for families.Michael’s words Train your model

Week 2: Create

Train your model: form a team around one spec, learn how RNNs, LSTMs and transformers read text, tokenize and gather your data, and fine-tune a first GPT model by Friday.

Big ideaBig ideaOne college-style lecture a week. The main ideas live here.PEDAGOGY §7

From RNN to transformer

from Lode RNN, LSTM, Seq2Seq, TransformerEmbedded, not copiedses-nlpl02This Session lives in the Lode RNN, LSTM, Seq2Seq, Transformer (lod-seqtr6). The week only points at it, so another Burst can use the same Session.

Big idea: how models read a sequence

50 min
Main ideas
  • RNN: reads one word at a time and carries a memory forward. Slow, and the memory fades.
  • LSTM: an RNN with gates that decide what to keep. It remembers longer, but still reads in order.
  • Seq2seq: one network reads the input (encoder), another writes the output (decoder). Translation works this way.
  • Transformer: attention lets every word look at every other word at once. It trains in parallel and keeps long context. GPT is a transformertransformerThe design inside GPT and most current language models. Every word can look at every other word at once.Draft reading, for Michael to correct.
▶Transformers, the tech behind LLMsvideo · 3Blue1Brown · 27 min · youtube.com

The 2022 sequence: RNNs and LSTMs, then sequence to sequence (an encoder and a decoder), then transformers and multi-head attention. Why transformers such as GPT beat LSTMs: an LSTM reads one step at a time, can't be parallelized, and forgets words far back in a long text, while attention lets every word look at every other word at once. Then why GPT and not BERT for this project: GPT is decoder-only and predicts the next word from the words before it, which is exactly what generating text needs. Code for the curious: the 2022 Week 2 notebooks build a seq2seq English-to-Chinese translator, with attention as a bonus.

HuddleHuddleCohort leadership mechanics: who is doing what this week, and what done looks like by Friday.PEDAGOGY §730 min

One team, one spec, one model by Friday

  • Teams form around the strongest specs from week 1. Each team picks one: what data, what output, the minimum product and the dream.
  • Roles inside the team: who owns the data, who owns training, who owns the notes. Everyone still runs the notebook themselves.
  • The plan: data found and cleaned Tuesday, tokenized Wednesday, a first training run by Friday.
  • Quick review of week 1's Python, for anyone who wants it.
WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Tokenize it

from Lode Fine-Tune a GPT on Your TextEmbedded, not copiedses-nlpw04This Session lives in the Lode Fine-Tune a GPT on Your Text (lod-train7). The week only points at it, so another Burst can use the same Session.

Workshop: how to tokenize data so a computer understands it

90 min
Main ideas
  • A token is a piece of text with a number. Often a word, sometimes part of one.
  • The chain: "string" → 57 → [0.234, 0.4566, 0.954]. The word gets an id, and the id gets a list of numbers.
  • Use the tokenizer that came with the model. Training your own takes hours. Only try it once you have a working model.
Try itOne word, three forms

Tokenize the first line of your team's file. Pick one word and show it as text, as its id, and as the start of its list of numbers.

CheckOrder the chainsort

checks→Collect, clean and tokenize a text datasetObjectiveobj-nlpo05Collect, clean and tokenize a text dataset
objectives/Make-a-Machine-Write-Objectives.md · linked from 3 files

  • Text: "string"
  • Token id: 57
  • Vector: [0.234, 0.4566, 0.954]

Tokenize the data your team imported, and see a word become an integer and then a vector: "string" → 57 → [0.234, 0.4566, 0.954].

WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Find, scrape and clean your data

from Lode Finding Text Data on Kaggle and BeyondEmbedded, not copiedses-nlpw05This Session lives in the Lode Finding Text Data on Kaggle and Beyond (lod-kagdt7). The week only points at it, so another Burst can use the same Session.

Workshop: web scraping and combining datasets

90 min
Main ideas
  • Search Kaggle by the output you want: "song lyrics", "recipes", "movie dialogue".
  • Scrape only what a site allows. Check its terms and its robots.txt.
  • Combine sources into one text file. Same format, same separators.
  • Open the file and read a page of it before training. You will find junk.
Try itOne clean file

Find two sources for your team's text. Combine them into one file. Remove the junk you find on the first page, and note what you removed.

⌘Kaggle datasetstool · Kaggle · · kaggle.com
Know the ruleScraping has rules

A site's terms say whether you may copy from it. Some forbid it. If a site says no, use another source.

Find text on Kaggle, a public repository, or by scraping. Combine datasets from more than one place. The rule that matters: garbage in, garbage outgarbage in, garbage outThe 2022 guide's rule for data: a model can only write as well as the text it learned from.AI Camp Program Design. If you want a model that writes working HTML, train it only on working HTML.

WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Train it

from Lode Fine-Tune a GPT on Your TextEmbedded, not copiedses-nlpw06This Session lives in the Lode Fine-Tune a GPT on Your Text (lod-train7). The week only points at it, so another Burst can use the same Session.

Code-along: fine-tune a GPT model on your text

120 min
Try itFirst run

Load the pretrained model. Point it at your team's one clean text file. Train, then generate from a prompt you chose. Write down two settings before you start: batch size and number of steps.

Main ideas
  • The first output is often gibberish. That's normal. It has learned the words before the order.
  • Write the settings down every run. Next week you change one of them and need to know what you changed.
DistilGPT2 model cardarticle · Hugging Face · · huggingface.co

leads-to→Our Trained ModelDeliverabledlv-model5Our Trained Model
deliverables/Our-Trained-Model.md · linked from 3 files

Load a pretrained GPT model, train it on your team's text file, then generate from a prompt. Note the settings you used: batch size and number of steps. The 2022 guide gives teams two to three days to train, with room to try more than once.

Quick topicsQuick topicsTidbits, as short pieces you can take any time this week.PEDAGOGY §7
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.8 min
Sentiment Analysis: How Happy Are the Reviews?Lodelod-sentm8Sentiment Analysis: How Happy Are the Reviews?
lodes/Sentiment-Analysis-How-Happy-Are-the-Reviews.md · linked from 1 file

Score a pile of reviews from negative to positive, and see where a model gets sarcasm wrong.

Open the Lode
Main ideas
  • Sentiment analysis labels text as positive, negative or neutral. Stores use it on reviews.
  • Sarcasm breaks it. "Great, it broke on day two" reads as positive to a word counter.
Try itTen reviews

Run a ready-made sentiment model on ten product reviews. Find the one it got wrong and explain why.

Sentiment analysisarticle · Wikipedia · · en.wikipedia.org
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.6 min
Why GPT and Not BERTLodelod-gptbt9Why GPT and Not BERT
lodes/Why-GPT-and-Not-BERT.md · linked from 1 file

GPT predicts the next word from the words before it, which is what writing needs. BERT fills in blanks, which suits understanding.

Open the Lode
Main ideas
  • GPT is decoder-only. It reads left to right and predicts the next word. That is generation.
  • BERT reads in both directions and fills in a hidden word. That suits classifying and searching, not writing.
  • So for this project, GPT. The 2022 guide made the same call.
The Illustrated GPT-2article · Jay Alammar · · jalammar.github.io
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.5 min
Garbage In, Garbage OutLodelod-gigo10Garbage In, Garbage Out
lodes/Garbage-In-Garbage-Out.md · linked from 1 file

A model writes only as well as the text it learned from. If you want working HTML, train only on working HTML.

Open the Lode
Main ideas
  • The model copies its data's habits, including the bad ones: typos, labels like [Chorus], repeated lines.
  • The 2022 guide's example: to generate working HTML, train only on working HTML.
  • Cleaning is not a chore before the real work. In most teams it is the work.
Garbage in, garbage outarticle · Wikipedia · · en.wikipedia.org
Help deskHelp deskOne open block a week. Bring the error message.PEDAGOGY §760 min

Training clinic. Bring the error message, or the output that makes no sense.

On track by FridayOn track by FridayWhat on-track looks like at the end of this week.
  • Your team's dataset is in one clean text file, and you read a page of it.
  • You tokenized it yourself and can show one word as an integer.
  • A first model trained, and it generated something from a prompt you chose.
  • You wrote down the settings you used.
W3IterateBurst“A multi-part journey through the curriculum, usually Discover, Create, Iterate, Reflect.” At AI Camp, one month, four weeks, ending in a demo day for families.Michael’s words Put it on the web

Week 3: Iterate

Put it on the web: judge your model's output, find two ways to improve it and retrain, then learn HTML, CSS and Flask and wire your model into a Bootstrap site.

Big ideaBig ideaOne college-style lecture a week. The main ideas live here.PEDAGOGY §7

How a website talks to a model

from Lode HTML, CSS, Flask and a Bootstrap TemplateEmbedded, not copiedses-nlpl03This Session lives in the Lode HTML, CSS, Flask and a Bootstrap Template (lod-flask9). The week only points at it, so another Burst can use the same Session.

Big idea: front end, back end, and the model in between

50 min
Main ideas
  • Front end: the page. HTML for the parts, CSS for the look, a little JavaScript for the button.
  • Back end: FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct, in Python. It receives the prompt, calls the model, and sends the text back.
  • A template: Bootstrap gives you a page that already works on a phone. Start from one.
▶Python Flask Tutorial: Getting Startedvideo · Corey Schafer · 21 min · youtube.com

The page is HTML, CSS and JavaScript. FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct is the Python back end that takes a prompt from the page, hands it to the model, and sends the text back. A Bootstrap template makes it look good on a phone without starting from nothing.

HuddleHuddleCohort leadership mechanics: who is doing what this week, and what done looks like by Friday.PEDAGOGY §730 min

Evaluate, retrain, then build

  • Monday: read your model's output and score it. Text generation is hard to measure, so most teams judge it by reading.
  • Tuesday: two ways to improve it, written down. Cleaner data? Different settings? Longer training? Then retrain.
  • Wednesday to Friday: the site. Pick a Bootstrap template, build the FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct app, and connect it to your model.
WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Evaluate, then retrain

from Lode Evaluate, Then RetrainEmbedded, not copiedses-nlpw07This Session lives in the Lode Evaluate, Then Retrain (lod-evalr8). The week only points at it, so another Burst can use the same Session.

Workshop: evaluating generated text, and the second training run

90 min
Main ideas
  • Generated text is hard to score with a number. Most teams judge it by reading, and should say so.
  • Name specific problems. "Bad" is not a finding. "Repeats the same line four times in 12 of 20 answers" is.
  • Change one thing per run: cleaner data, more steps, a different batch size, a longer prompt. Then you know what caused the change.
  • BLEUBLEUA score that compares generated text with a reference text word by word. Useful for translation, weak for songs.Draft reading, for Michael to correct compares output with a reference text word by word. It fits translation. For songs, reading wins.
Try itTwenty answers, two fixes

Generate twenty answers from five prompts. Tally the problems you see. Write the two most common, and the one change you'll make for each. Retrain with one change, and tally again.

CheckWhich is a finding?choice

checks→Evaluate generated text with counts, change one thing, retrain, and explain the resultObjectiveobj-nlpo07Evaluate generated text with counts, change one thing, retrain, and explain the result
objectives/Make-a-Machine-Write-Objectives.md · linked from 1 file

  • The model is kind of bad
  • 12 of 20 answers repeat the first line; the training files have the chorus pasted in four times
  • We should use a bigger model

leads-to→Two Runs: Our Test and Retrain LogDeliverabledlv-evlog6Two Runs: Our Test and Retrain Log
deliverables/Two-Runs-Our-Test-and-Retrain-Log.md · linked from 2 files

Students often skip this part. Read the outputs, name specific problems, and decide what to change. Teams with a train/test split can try the BLEUBLEUA score that compares generated text with a reference text word by word. Useful for translation, weak for songs.Draft reading, for Michael to correct score; everyone else evaluates by reading, and says so. Retrain, and be ready to explain what changed and why.

WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Flask and a Bootstrap template

from Lode HTML, CSS, Flask and a Bootstrap TemplateEmbedded, not copiedses-nlpw08This Session lives in the Lode HTML, CSS, Flask and a Bootstrap Template (lod-flask9). The week only points at it, so another Burst can use the same Session.

Code-along: a simple Flask site, then your model in it

120 min
Try itWarm-up, then swap

First the 2022 warm-up: a FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct site that fetches data from a public API and shows it in a table with a chart. Then replace the API call with a call to your model: a text box, a button, and the generated text underneath.

Flask documentationarticle · Pallets · · flask.palletsprojects.com Bootstrap 5 tutorialarticle · W3Schools · · w3schools.com
CheckWhere does the prompt go?sort

checks→Build and publish a web page that sends a prompt to the model and shows its answerObjectiveobj-nlpo08Build and publish a web page that sends a prompt to the model and shows its answer
objectives/Make-a-Machine-Write-Objectives.md · linked from 2 files

  • Typed into the text box on the page
  • Sent to the FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct back end
  • Handed to the model, which generates text
  • Sent back and shown under the button

leads-to→Our Live SiteDeliverabledlv-site07Our Live Site
deliverables/Our-Live-Site.md · linked from 2 files

First, the 2022 warm-up: a FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct site that gets data from another API and shows it in a table with some charts. Then swap the API for your model: a text box, a button, and the generated text below it. HTML and CSS basics from W3Schools; Flask from its documentation.

Quick topicsQuick topicsTidbits, as short pieces you can take any time this week.PEDAGOGY §7
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.6 min
Why Transformers Beat LSTMsLodelod-lstm11Why Transformers Beat LSTMs
lodes/Why-Transformers-Beat-LSTMs.md · linked from 1 file

An LSTM reads one step at a time and forgets far-back words. Attention lets every word see every other word, and trains in parallel.

Open the Lode
Main ideas
  • An LSTM reads in order, so it can't be split across many processors at once. Training is slow.
  • It forgets far-back words in a long text.
  • Attention lets each word look at all the others at once, so training runs in parallel and long context survives.
▶Transformer Neural Networks, ChatGPT's foundation, Clearly Explainedvideo · StatQuest · 36 min · youtube.com
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.8 min
Extensions: Genre Models, a Discord Bot, an AI DebateLodelod-extn12Extensions: Genre Models, a Discord Bot, an AI Debate
lodes/Extensions-Genre-Models-a-Discord-Bot-an-AI-Debate.md · linked from 2 files

What to build when your site works: a model per genre, two models feeding each other, a bot, or a comparison of models.

Open the Lode

The 2022 guide called advanced goals critical: a student who is done should always have a next thing.

Main ideas
  • One model per genre: pop, country, rap. Let the user pick.
  • A feature: a pop song from one model gets a rap verse from a second.
  • An AI debate: two models trained on two public speakers, answering each other.
  • A Discord bot that serves your trained model in a chat channel.
  • A small research project: train two models on the same data with different settings, and compare.
↓Bonus activity: a Discord bot serving a trained modeldownload · AI Camp (2022) · · github.com

leads-to→An Extension of My OwnDeliverabledlv-extn11An Extension of My Own
deliverables/An-Extension-of-My-Own.md · linked from 2 files
· Compare Two ModelsDeliverabledlv-cmpr12Compare Two Models
deliverables/Compare-Two-Models.md · linked from 2 files

Help deskHelp deskOne open block a week. Bring the error message.PEDAGOGY §760 min

Wiring clinic. Bring the site that loads but doesn't answer.

On track by FridayOn track by FridayWhat on-track looks like at the end of this week.
  • Two written ways to improve the model, and a second training run.
  • A FlaskFlaskA small Python library for building a website's back end: it takes the prompt from the page and hands it to the model.Draft reading, for Michael to correct site running on your machine, with a text box and a button.
  • The button sends a prompt to your model and shows what it wrote.
W4ReflectBurst“A multi-part journey through the curriculum, usually Discover, Create, Iterate, Reflect.” At AI Camp, one month, four weeks, ending in a demo day for families.Michael’s words Ship it and show it

Week 4: Reflect

Ship it and show it: deploy the site, let real users try it and fix what they find, rehearse a presentation of the whole pipeline, and demo it live to families.

Big ideaBig ideaOne college-style lecture a week. The main ideas live here.PEDAGOGY §7

The whole pipeline, in your own words

from Lode Deploy It and Demo ItEmbedded, not copiedses-nlpl04This Session lives in the Lode Deploy It and Demo It (lod-ship10). The week only points at it, so another Burst can use the same Session.

Big idea: data, training, evaluation, deployment

50 min
Main ideas
  • Walk the map from day 1 again. Idea, data, cleaning, training, evaluation, retraining, website, deployment.
  • Deployment means a public link. In 2023 AI Camp added Gradio on a hosted Space for this.
  • Most of the time went to data. Ask each team whether that was true for them.
Gradio quickstartarticle · Gradio · · gradio.app Spaces overviewarticle · Hugging Face · · huggingface.co

Back to the map from week 1, now that every step has been done once: idea, data, preprocessing, training, evaluation, iteration, website, deployment. Where did your team spend the most time? Where would you spend it next time?

HuddleHuddleCohort leadership mechanics: who is doing what this week, and what done looks like by Friday.PEDAGOGY §740 min

Run of show

  • Monday: deploy. The site goes live, and the link goes in your portfolio and your GitHub repo.
  • Tuesday: test with real users outside your team, and keep a list of what they tried and what broke.
  • Wednesday: practise the presentation in small groups and give each other feedback.
  • Thursday: demo day. What to do if the model says something odd in front of everyone: explain why it might have. That counts.
WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Test with users, then fix

from Lode Deploy It and Demo ItEmbedded, not copiedses-nlpw09This Session lives in the Lode Deploy It and Demo It (lod-ship10). The week only points at it, so another Burst can use the same Session.

Workshop: user testing and the last improvements

90 min
Try itTwo strangers, no help

Two people from another team use your site while you watch and say nothing. Write down what they typed, what they expected, and where they got stuck. Fix the most important problem.

Know the ruleAnyone can type anything

A public site means strangers type into your model, and it may write something rude or untrue. Add a line on the page saying what it was trained on and that it makes things up. Block a short list of words if you need to, and test it.

Each team watches two people from another team use the site without help, writes down what happened, and fixes the most important problem.

WorkshopWorkshopA facilitated session with hands-on work. Details live here. Most are code-alongs.PEDAGOGY §7

Rehearse and score yourself

from Lode Deploy It and Demo ItEmbedded, not copiedses-nlpw10This Session lives in the Lode Deploy It and Demo It (lod-ship10). The week only points at it, so another Burst can use the same Session.

Workshop: rehearse the presentation, score it, give feedback

90 min
Try itTen minutes, everyone speaks

Rehearse in small groups. Each member explains one step: the data, the training, what changed after evaluation, and how the site reaches the model. Score yourselves with the demo-day score sheet before anyone else does.

leads-to→Demo Day: How a Prompt Becomes an AnswerDeliverabledlv-demo10Demo Day: How a Prompt Becomes an Answer
deliverables/Demo-Day-How-a-Prompt-Becomes-an-Answer.md · linked from 2 files

Each team explains the technical side as well as the product: what data, what model, what they changed after evaluating it, and how the site reaches the model.

Quick topicsQuick topicsTidbits, as short pieces you can take any time this week.PEDAGOGY §7
Lode · tidbitLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.10 min
Deploy It and Demo ItLodelod-ship10Deploy It and Demo It
lodes/Deploy-It-and-Demo-It.md · linked from 3 files

Put the site on a public link, watch strangers use it, fix the worst problem, and present the whole pipeline to families.

Open the Lode

A site on your laptop is a prototype. A site at a public link, used by someone who isn't on your team, is a product.

Big idea: data, training, evaluation, deployment

50 min
Main ideas
  • Walk the map from day 1 again. Idea, data, cleaning, training, evaluation, retraining, website, deployment.
  • Deployment means a public link. In 2023 AI Camp added Gradio on a hosted Space for this.
  • Most of the time went to data. Ask each team whether that was true for them.
Gradio quickstartarticle · Gradio · · gradio.app Spaces overviewarticle · Hugging Face · · huggingface.co

Workshop: user testing and the last improvements

90 min
Try itTwo strangers, no help

Two people from another team use your site while you watch and say nothing. Write down what they typed, what they expected, and where they got stuck. Fix the most important problem.

Know the ruleAnyone can type anything

A public site means strangers type into your model, and it may write something rude or untrue. Add a line on the page saying what it was trained on and that it makes things up. Block a short list of words if you need to, and test it.

Workshop: rehearse the presentation, score it, give feedback

90 min
Try itTen minutes, everyone speaks

Rehearse in small groups. Each member explains one step: the data, the training, what changed after evaluation, and how the site reaches the model. Score yourselves with the demo-day score sheet before anyone else does.

leads-to→Demo Day: How a Prompt Becomes an AnswerDeliverabledlv-demo10Demo Day: How a Prompt Becomes an Answer
deliverables/Demo-Day-How-a-Prompt-Becomes-an-Answer.md · linked from 2 files

Help deskHelp deskOne open block a week. Bring the error message.PEDAGOGY §760 min

Deploy clinic and portfolio questions. Bring the site that works on your machine but not on the web.

On track by FridayOn track by FridayWhat on-track looks like at the end of this week.
  • The site is live at a public link, and the code is on GitHub.
  • Two people outside your team used it, and you fixed one thing they found.
  • Your presentation practised once, and you scored yourself before anyone else did.
Every piece of work, with its score sheet12 things to make

InteractiveInteractiveThe program: sessions, lessons and the work camp sets.Michael’s words your own work, set by camp

Work camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.

70points available
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
due W1 · TUE
5ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 5 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

First Words From a Machine

Give the class model a prompt, save its answer, and write one sentence guessing why it wrote that.

expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

There is no wrong guess on day 1. A specific one beats a safe one.

Score sheet: 2 things to look for
What good looks like, then what to noticeWeightPoints
Curiousasks why, tries one more thing2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.60Weight0.60 of this rubric = 3.0 of 5 points.
Weights are proportions out of 1 among siblings.
3.0
Tried a prompt or a setting nobody asked for0.50Weight0.50 of “Curious” = 1.50 points.1.50
Asked why the machine wrote what it wrote, and chased the answer0.50Weight0.50 of “Curious” = 1.50 points.1.50
Honestcredits sources, owns mistakes2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.40Weight0.40 of this rubric = 2.0 of 5 points.
Weights are proportions out of 1 among siblings.
2.0
Shows the bad answers as well as the good ones0.40Weight0.40 of “Honest” = 0.80 points.0.80
Says where the text came from and who wrote it0.30Weight0.30 of “Honest” = 0.60 points.0.60
Says plainly that the machine makes things up0.30Weight0.30 of “Honest” = 0.60 points.0.60
expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.005
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
due W1 · WED
15ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 15 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

My Python Project

Build one small Python program and explain every line of it.

expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Want more? AI Camp's python-mini-projects repo and Al Sweigart's Invent Your Own Computer Games with Python have plenty.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Runsworks end to end, reproducible4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 7.5 of 15 points.
Weights are proportions out of 1 among siblings.
7.5
It runs from top to bottom on a fresh start, with no errors0.50Weight0.50 of “Runs” = 3.75 points.3.75
Settings and file names are written where a teammate can find them0.20Weight0.20 of “Runs” = 1.50 points.1.50
Someone else ran it from the instructions alone0.30Weight0.30 of “Runs” = 2.25 points.2.25
Explainedcan say why, in plain words5 ContentATACC layer 5 of 5 · Content“The understanding.” The result of the first four in procession.
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 4.5 of 15 points.
Weights are proportions out of 1 among siblings.
4.5
Explains every line, or every step, without reading from notes0.40Weight0.40 of “Explained” = 1.80 points.1.80
Says why words have to become numbers before a computer can use them0.30Weight0.30 of “Explained” = 1.35 points.1.35
Explains it so a parent could repeat it0.30Weight0.30 of “Explained” = 1.35 points.1.35
Plannedscoped, on time1 ApproachATACC layer 1 of 5 · Approach“Mature executive functioning, reasonable plans and time management. Shows up with presence and shows willingness and energy to pay attention.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.20Weight0.20 of this rubric = 3.0 of 15 points.
Weights are proportions out of 1 among siblings.
3.0
Has a minimum version and a dream version, and builds the minimum first0.50Weight0.50 of “Planned” = 1.50 points.1.50
Due dates are met, or moved early with a reason0.50Weight0.50 of “Planned” = 1.50 points.1.50
expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0015
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
due W1 · FRI
15ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 15 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

My Word2Vec Notebook

Run Word2VecWord2VecA 2013 method for learning those lists of numbers from ordinary text. The week 1 notebook runs it on an article you choose.Draft reading, for Michael to correct on an article you chose, find two words it thinks are close, and explain why it might think so.

expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Funny results are good results, as long as you can explain them.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Runsworks end to end, reproducible4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.40Weight0.40 of this rubric = 6.0 of 15 points.
Weights are proportions out of 1 among siblings.
6.0
It runs from top to bottom on a fresh start, with no errors0.50Weight0.50 of “Runs” = 3.00 points.3.00
Settings and file names are written where a teammate can find them0.20Weight0.20 of “Runs” = 1.20 points.1.20
Someone else ran it from the instructions alone0.30Weight0.30 of “Runs” = 1.80 points.1.80
Explainedcan say why, in plain words5 ContentATACC layer 5 of 5 · Content“The understanding.” The result of the first four in procession.
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.40Weight0.40 of this rubric = 6.0 of 15 points.
Weights are proportions out of 1 among siblings.
6.0
Explains every line, or every step, without reading from notes0.40Weight0.40 of “Explained” = 2.40 points.2.40
Says why words have to become numbers before a computer can use them0.30Weight0.30 of “Explained” = 1.80 points.1.80
Explains it so a parent could repeat it0.30Weight0.30 of “Explained” = 1.80 points.1.80
Curiousasks why, tries one more thing2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.20Weight0.20 of this rubric = 3.0 of 15 points.
Weights are proportions out of 1 among siblings.
3.0
Tried a prompt or a setting nobody asked for0.50Weight0.50 of “Curious” = 1.50 points.1.50
Asked why the machine wrote what it wrote, and chased the answer0.50Weight0.50 of “Curious” = 1.50 points.1.50
expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0015
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
due W2 · MON
10ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 10 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

My Product Spec

Write a one-page spec: what data, from where, and what output, as a minimum product and as a dream.

expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

The AI Camp example: song lyrics in, an original pop song out from a prompt like "Love".

Score sheet: 2 things to look for
What good looks like, then what to noticeWeightPoints
Plannedscoped, on time1 ApproachATACC layer 1 of 5 · Approach“Mature executive functioning, reasonable plans and time management. Shows up with presence and shows willingness and energy to pay attention.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.60Weight0.60 of this rubric = 6.0 of 10 points.
Weights are proportions out of 1 among siblings.
6.0
Has a minimum version and a dream version, and builds the minimum first0.50Weight0.50 of “Planned” = 3.00 points.3.00
Due dates are met, or moved early with a reason0.50Weight0.50 of “Planned” = 3.00 points.3.00
Clean dataread before use, named source4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.40Weight0.40 of this rubric = 4.0 of 10 points.
Weights are proportions out of 1 among siblings.
4.0
Read at least a page of the text before training on it0.30Weight0.30 of “Clean data” = 1.20 points.1.20
Removed junk and wrote down what was removed0.40Weight0.40 of “Clean data” = 1.60 points.1.60
Every source is named, with where it came from and whether it may be used0.30Weight0.30 of “Clean data” = 1.20 points.1.20
expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0010
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
due W4 · THU
15ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 15 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

Demo Day: How a Prompt Becomes an Answer

Explain one step of how a prompt becomes generated text on your site, live, to families.

expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Score yourself with this sheet in Wednesday's rehearsal before anyone else does.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Explainedcan say why, in plain words5 ContentATACC layer 5 of 5 · Content“The understanding.” The result of the first four in procession.
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 7.5 of 15 points.
Weights are proportions out of 1 among siblings.
7.5
Explains every line, or every step, without reading from notes0.40Weight0.40 of “Explained” = 3.00 points.3.00
Says why words have to become numbers before a computer can use them0.30Weight0.30 of “Explained” = 2.25 points.2.25
Explains it so a parent could repeat it0.30Weight0.30 of “Explained” = 2.25 points.2.25
Honestcredits sources, owns mistakes2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 4.5 of 15 points.
Weights are proportions out of 1 among siblings.
4.5
Shows the bad answers as well as the good ones0.40Weight0.40 of “Honest” = 1.80 points.1.80
Says where the text came from and who wrote it0.30Weight0.30 of “Honest” = 1.35 points.1.35
Says plainly that the machine makes things up0.30Weight0.30 of “Honest” = 1.35 points.1.35
Shows up for the teamreliable, lifts others3 AnimationATACC layer 3 of 5 · Animation“Builds on presence to add energy and enthusiasm, which they apply to their work and influence others positively.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.20Weight0.20 of this rubric = 3.0 of 15 points.
Weights are proportions out of 1 among siblings.
3.0
Did their share on the day the team planned0.40Weight0.40 of “Shows up for the team” = 1.20 points.1.20
Checked in on the quietest teammate at least once0.30Weight0.30 of “Shows up for the team” = 0.90 points.0.90
Kept going when the first output was gibberish, and kept the team going0.30Weight0.30 of “Shows up for the team” = 0.90 points.0.90
expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0015
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
due W4 · THU
10ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 10 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

The Machine Diary

Each Friday, give the machine the same prompt, paste its answer, and write two lines on what changed and why.

expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Bad answers belong in the diary. Week 2's gibberish is what makes week 4 look good.

Score sheet: 2 things to look for
What good looks like, then what to noticeWeightPoints
Honestcredits sources, owns mistakes2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 5.0 of 10 points.
Weights are proportions out of 1 among siblings.
5.0
Shows the bad answers as well as the good ones0.40Weight0.40 of “Honest” = 2.00 points.2.00
Says where the text came from and who wrote it0.30Weight0.30 of “Honest” = 1.50 points.1.50
Says plainly that the machine makes things up0.30Weight0.30 of “Honest” = 1.50 points.1.50
Explainedcan say why, in plain words5 ContentATACC layer 5 of 5 · Content“The understanding.” The result of the first four in procession.
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 5.0 of 10 points.
Weights are proportions out of 1 among siblings.
5.0
Explains every line, or every step, without reading from notes0.40Weight0.40 of “Explained” = 2.00 points.2.00
Says why words have to become numbers before a computer can use them0.30Weight0.30 of “Explained” = 1.50 points.1.50
Explains it so a parent could repeat it0.30Weight0.30 of “Explained” = 1.50 points.1.50
expected: Successful3.0 of 6.0 · SuccessfulIt runs, and you can explain why.
“Meets expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0010

InterdependentInterdependentWith your group, on the group's own initiative.Michael’s words with your team

Your team's product: the trained model, the test log, the live site. Built together, owned together.

65points available
InterdependentInterdependent · with your teamYour team's product: the trained model, the test log, the live site. Built together, owned together.
Work in this stream is expected at Excellent.Michael’s words
due W2 · FRI
20ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 20 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

Our Trained Model

Train your team's first model on your clean text file, and generate three answers from prompts you chose.

expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Everyone on the team runs the notebook themselves at least once.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Clean dataread before use, named source4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.40Weight0.40 of this rubric = 8.0 of 20 points.
Weights are proportions out of 1 among siblings.
8.0
Read at least a page of the text before training on it0.30Weight0.30 of “Clean data” = 2.40 points.2.40
Removed junk and wrote down what was removed0.40Weight0.40 of “Clean data” = 3.20 points.3.20
Every source is named, with where it came from and whether it may be used0.30Weight0.30 of “Clean data” = 2.40 points.2.40
Runsworks end to end, reproducible4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 6.0 of 20 points.
Weights are proportions out of 1 among siblings.
6.0
It runs from top to bottom on a fresh start, with no errors0.50Weight0.50 of “Runs” = 3.00 points.3.00
Settings and file names are written where a teammate can find them0.20Weight0.20 of “Runs” = 1.20 points.1.20
Someone else ran it from the instructions alone0.30Weight0.30 of “Runs” = 1.80 points.1.80
Shows up for the teamreliable, lifts others3 AnimationATACC layer 3 of 5 · Animation“Builds on presence to add energy and enthusiasm, which they apply to their work and influence others positively.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 6.0 of 20 points.
Weights are proportions out of 1 among siblings.
6.0
Did their share on the day the team planned0.40Weight0.40 of “Shows up for the team” = 2.40 points.2.40
Checked in on the quietest teammate at least once0.30Weight0.30 of “Shows up for the team” = 1.80 points.1.80
Kept going when the first output was gibberish, and kept the team going0.30Weight0.30 of “Shows up for the team” = 1.80 points.1.80
expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0020
InterdependentInterdependent · with your teamYour team's product: the trained model, the test log, the live site. Built together, owned together.
Work in this stream is expected at Excellent.Michael’s words
due W3 · WED
15ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 15 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

Two Runs: Our Test and Retrain Log

Count what is wrong in twenty answers, change one thing, retrain, and count again.

expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

A change that made things worse is still a finding. Write it down.

Score sheet: 2 things to look for
What good looks like, then what to noticeWeightPoints
Testedone change at a time, written down4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.60Weight0.60 of this rubric = 9.0 of 15 points.
Weights are proportions out of 1 among siblings.
9.0
Problems are counted, not described as good or bad0.40Weight0.40 of “Tested” = 3.60 points.3.60
One thing changed between runs, and it is named0.30Weight0.30 of “Tested” = 2.70 points.2.70
Says what happened after the change, including when it got worse0.30Weight0.30 of “Tested” = 2.70 points.2.70
Honestcredits sources, owns mistakes2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.40Weight0.40 of this rubric = 6.0 of 15 points.
Weights are proportions out of 1 among siblings.
6.0
Shows the bad answers as well as the good ones0.40Weight0.40 of “Honest” = 2.40 points.2.40
Says where the text came from and who wrote it0.30Weight0.30 of “Honest” = 1.80 points.1.80
Says plainly that the machine makes things up0.30Weight0.30 of “Honest” = 1.80 points.1.80
expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0015
InterdependentInterdependent · with your teamYour team's product: the trained model, the test log, the live site. Built together, owned together.
Work in this stream is expected at Excellent.Michael’s words
due W4 · TUE
20ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 20 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

Our Live Site

Build a site where anyone can type a prompt and read your model's answer, and put it on a public link.

expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Works with saved answers by Thursday of week 3, live by Tuesday of week 4.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Usableworks for a stranger4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 10.0 of 20 points.
Weights are proportions out of 1 among siblings.
10.0
Someone outside the team used it without help0.50Weight0.50 of “Usable” = 5.00 points.5.00
The page says what the machine was trained on and what to type0.25Weight0.25 of “Usable” = 2.50 points.2.50
One problem a user found was fixed before demo day0.25Weight0.25 of “Usable” = 2.50 points.2.50
Runsworks end to end, reproducible4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 6.0 of 20 points.
Weights are proportions out of 1 among siblings.
6.0
It runs from top to bottom on a fresh start, with no errors0.50Weight0.50 of “Runs” = 3.00 points.3.00
Settings and file names are written where a teammate can find them0.20Weight0.20 of “Runs” = 1.20 points.1.20
Someone else ran it from the instructions alone0.30Weight0.30 of “Runs” = 1.80 points.1.80
Shows up for the teamreliable, lifts others3 AnimationATACC layer 3 of 5 · Animation“Builds on presence to add energy and enthusiasm, which they apply to their work and influence others positively.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.20Weight0.20 of this rubric = 4.0 of 20 points.
Weights are proportions out of 1 among siblings.
4.0
Did their share on the day the team planned0.40Weight0.40 of “Shows up for the team” = 1.60 points.1.60
Checked in on the quietest teammate at least once0.30Weight0.30 of “Shows up for the team” = 1.20 points.1.20
Kept going when the first output was gibberish, and kept the team going0.30Weight0.30 of “Shows up for the team” = 1.20 points.1.20
expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0020
InterdependentInterdependent · with your teamYour team's product: the trained model, the test log, the live site. Built together, owned together.
Work in this stream is expected at Excellent.Michael’s words
due W4 · TUE
10ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 10 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

User Test Notes

Watch two people outside your team use the site without help, write down what happened, and fix the most important problem.

expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

The note that hurts is the useful one.

Score sheet: 2 things to look for
What good looks like, then what to noticeWeightPoints
Usableworks for a stranger4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 5.0 of 10 points.
Weights are proportions out of 1 among siblings.
5.0
Someone outside the team used it without help0.50Weight0.50 of “Usable” = 2.50 points.2.50
The page says what the machine was trained on and what to type0.25Weight0.25 of “Usable” = 1.25 points.1.25
One problem a user found was fixed before demo day0.25Weight0.25 of “Usable” = 1.25 points.1.25
Testedone change at a time, written down4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 5.0 of 10 points.
Weights are proportions out of 1 among siblings.
5.0
Problems are counted, not described as good or bad0.40Weight0.40 of “Tested” = 2.00 points.2.00
One thing changed between runs, and it is named0.30Weight0.30 of “Tested” = 1.50 points.1.50
Says what happened after the change, including when it got worse0.30Weight0.30 of “Tested” = 1.50 points.1.50
expected: Excellent4.0 of 6.0 · ExcellentIt runs, you can explain it, and you went past the brief.
“Exceeds expectations or requirements.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0010

IndependentIndependentOn your own: your curiosity, your practice, your idea.Michael’s words on your own

Extensions you choose: a second model, a bot, a comparison. Held to a higher bar because you picked it.

25points available
IndependentIndependent · on your ownExtensions you choose: a second model, a bot, a comparison. Held to a higher bar because you picked it.
Work in this stream is expected at Remarkable.Michael’s words
due W4 · WED
10ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 10 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

Compare Two Models

Train two versions on the same data with one difference, give both the same prompts, and decide which writes better.

expected: Remarkable5.0 of 6.0 · RemarkableYou tried something nobody asked for, and it taught the room something.
“Unexpected creativity and motivation.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

Decide your test before you see the results.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Testedone change at a time, written down4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 5.0 of 10 points.
Weights are proportions out of 1 among siblings.
5.0
Problems are counted, not described as good or bad0.40Weight0.40 of “Tested” = 2.00 points.2.00
One thing changed between runs, and it is named0.30Weight0.30 of “Tested” = 1.50 points.1.50
Says what happened after the change, including when it got worse0.30Weight0.30 of “Tested” = 1.50 points.1.50
Curiousasks why, tries one more thing2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 3.0 of 10 points.
Weights are proportions out of 1 among siblings.
3.0
Tried a prompt or a setting nobody asked for0.50Weight0.50 of “Curious” = 1.50 points.1.50
Asked why the machine wrote what it wrote, and chased the answer0.50Weight0.50 of “Curious” = 1.50 points.1.50
Honestcredits sources, owns mistakes2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.20Weight0.20 of this rubric = 2.0 of 10 points.
Weights are proportions out of 1 among siblings.
2.0
Shows the bad answers as well as the good ones0.40Weight0.40 of “Honest” = 0.80 points.0.80
Says where the text came from and who wrote it0.30Weight0.30 of “Honest” = 0.60 points.0.60
Says plainly that the machine makes things up0.30Weight0.30 of “Honest” = 0.60 points.0.60
expected: Remarkable5.0 of 6.0 · RemarkableYou tried something nobody asked for, and it taught the room something.
“Unexpected creativity and motivation.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0010
IndependentIndependent · on your ownExtensions you choose: a second model, a bot, a comparison. Held to a higher bar because you picked it.
Work in this stream is expected at Remarkable.Michael’s words
due W4 · THU
15ptsPoints toward the portfolioDeliverables add up toward 100, and there are more than 100 available. Earned points = 15 × a factor for the level reached against the level expected.The arithmetic is a draft proposal

An Extension of My Own

Build one extension of your team's model that nobody assigned, and show it working.

expected: Remarkable5.0 of 6.0 · RemarkableYou tried something nobody asked for, and it taught the room something.
“Unexpected creativity and motivation.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
For you

This is held to a higher bar because you chose it. Pick something you want to see work.

Score sheet: 3 things to look for
What good looks like, then what to noticeWeightPoints
Curiousasks why, tries one more thing2 ThoughtATACC layer 2 of 5 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.50Weight0.50 of this rubric = 7.5 of 15 points.
Weights are proportions out of 1 among siblings.
7.5
Tried a prompt or a setting nobody asked for0.50Weight0.50 of “Curious” = 3.75 points.3.75
Asked why the machine wrote what it wrote, and chased the answer0.50Weight0.50 of “Curious” = 3.75 points.3.75
Runsworks end to end, reproducible4 CraftATACC layer 4 of 5 · Craft“How they did the work, the process and performance.”
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.30Weight0.30 of this rubric = 4.5 of 15 points.
Weights are proportions out of 1 among siblings.
4.5
It runs from top to bottom on a fresh start, with no errors0.50Weight0.50 of “Runs” = 2.25 points.2.25
Settings and file names are written where a teammate can find them0.20Weight0.20 of “Runs” = 0.90 points.0.90
Someone else ran it from the instructions alone0.30Weight0.30 of “Runs” = 1.35 points.1.35
Explainedcan say why, in plain words5 ContentATACC layer 5 of 5 · Content“The understanding.” The result of the first four in procession.
This criterion is evidence for this layer, so a whole portfolio can be read back as five bars.Michael’s words
0.20Weight0.20 of this rubric = 3.0 of 15 points.
Weights are proportions out of 1 among siblings.
3.0
Explains every line, or every step, without reading from notes0.40Weight0.40 of “Explained” = 1.20 points.1.20
Says why words have to become numbers before a computer can use them0.30Weight0.30 of “Explained” = 0.90 points.0.90
Explains it so a parent could repeat it0.30Weight0.30 of “Explained” = 0.90 points.0.90
expected: Remarkable5.0 of 6.0 · RemarkableYou tried something nobody asked for, and it taught the room something.
“Unexpected creativity and motivation.”
Hitting the expected level earns full points. Self-directed work is expected higher up the scale.Level names and the quoted meaning are Michael’s (Colearn). The plain reading is a draft.
1.0015
What, by whenthe month on one chart
W1 DiscoverWords become numbers
W2 CreateTrain your model
W3 IteratePut it on the web
W4 ReflectShip it and show it
M
T
W
T
F
M
T
W
T
F
M
T
W
T
F
M
T
W
T
F
Burst stagesBurst“A multi-part journey through the curriculum, usually Discover, Create, Iterate, Reflect.” At AI Camp, one month, four weeks, ending in a demo day for families.Michael’s words
DiscoverWords become numbers
CreateTrain your model
IteratePut it on the web
ReflectShip it and show it
LodesLodeA small, open, reusable piece of learning, usually wrapped around a short video or article. You can take one any time.Michael’s wordsmain ideas
Get Inspired: A Language Model Writes in Front of YouLodelod-gptdm1Get Inspired: A Language Model Writes in Front of You
lodes/Get-Inspired-A-Language-Model-Writes.md · linked from 1 file
W1 · MON → W1 · MONGet Inspired: A Language Model Writes in Front of Youlod-gptdm1W1 · MON to W1 · MON
Relative time. It never changes when a cohort starts.
Python Basics, One Idea a DayLodelod-pybas2Python Basics, One Idea a Day
lodes/Python-Basics-One-Idea-a-Day.md · linked from 1 file
W1 · MON → W1 · FRIPython Basics, One Idea a Daylod-pybas2W1 · MON to W1 · FRI
Relative time. It never changes when a cohort starts.
From Bag of Words to Word2VecLodelod-w2vec3From Bag of Words to Word2Vec
lodes/From-Bag-of-Words-to-Word2Vec.md · linked from 1 file
W1 · WED → W1 · FRIFrom Bag of Words to Word2Veclod-w2vec3W1 · WED to W1 · FRI
Relative time. It never changes when a cohort starts.
The Product Spec: What Data, What OutputLodelod-spec05The Product Spec: What Data, What Output
lodes/The-Product-Spec.md · linked from 1 file
W1 · THU → W2 · MONThe Product Spec: What Data, What Outputlod-spec05W1 · THU to W2 · MON
Relative time. It never changes when a cohort starts.
RNN, LSTM, Seq2Seq, TransformerLodelod-seqtr6RNN, LSTM, Seq2Seq, Transformer
lodes/RNN-LSTM-Seq2Seq-Transformer.md · linked from 1 file
W2 · MON → W2 · WEDRNN, LSTM, Seq2Seq, Transformerlod-seqtr6W2 · MON to W2 · WED
Relative time. It never changes when a cohort starts.
Fine-Tune a GPT on Your TextLodelod-train7Fine-Tune a GPT on Your Text
lodes/Fine-Tune-a-GPT-on-Your-Text.md · linked from 2 files
W2 · TUE → W2 · FRIFine-Tune a GPT on Your Textlod-train7W2 · TUE to W2 · FRI
Relative time. It never changes when a cohort starts.
Evaluate, Then RetrainLodelod-evalr8Evaluate, Then Retrain
lodes/Evaluate-Then-Retrain.md · linked from 1 file
W3 · MON → W3 · WEDEvaluate, Then Retrainlod-evalr8W3 · MON to W3 · WED
Relative time. It never changes when a cohort starts.
HTML, CSS, Flask and a Bootstrap TemplateLodelod-flask9HTML, CSS, Flask and a Bootstrap Template
lodes/HTML-CSS-Flask-and-a-Bootstrap-Template.md · linked from 1 file
W3 · TUE → W3 · FRIHTML, CSS, Flask and a Bootstrap Templatelod-flask9W3 · TUE to W3 · FRI
Relative time. It never changes when a cohort starts.
Deploy It and Demo ItLodelod-ship10Deploy It and Demo It
lodes/Deploy-It-and-Demo-It.md · linked from 3 files
W4 · MON → W4 · THUDeploy It and Demo Itlod-ship10W4 · MON to W4 · THU
Relative time. It never changes when a cohort starts.
InteractiveInteractiveThe program: sessions, lessons and the work camp sets.Michael’s wordsThings you make · expected Successful
First Words From a MachineDeliverabledlv-frst01First Words From a Machine
deliverables/First-Words-From-a-Machine.md · linked from 1 file
5
W1 · MON → W1 · TUEFirst Words From a Machinedlv-frst01W1 · MON to W1 · TUE · 5 points
Relative time. It never changes when a cohort starts.
My Python ProjectDeliverabledlv-pyprj2My Python Project
deliverables/My-Python-Project.md · linked from 2 files
15
W1 · MON → W1 · WEDMy Python Projectdlv-pyprj2W1 · MON to W1 · WED · 15 points
Relative time. It never changes when a cohort starts.
The Machine DiaryDeliverabledlv-diary9The Machine Diary
deliverables/The-Machine-Diary.md · linked from 0 files
10
W1 · MON → W4 · THUThe Machine Diarydlv-diary9W1 · MON to W4 · THU · 10 points
Relative time. It never changes when a cohort starts.
My Word2Vec NotebookDeliverabledlv-w2vnb3My Word2Vec Notebook
deliverables/My-Word2Vec-Notebook.md · linked from 2 files
15
W1 · WED → W1 · FRIMy Word2Vec Notebookdlv-w2vnb3W1 · WED to W1 · FRI · 15 points
Relative time. It never changes when a cohort starts.
My Product SpecDeliverabledlv-spec04My Product Spec
deliverables/My-Product-Spec.md · linked from 1 file
10
W1 · THU → W2 · MONMy Product Specdlv-spec04W1 · THU to W2 · MON · 10 points
Relative time. It never changes when a cohort starts.
Demo Day: How a Prompt Becomes an AnswerDeliverabledlv-demo10Demo Day: How a Prompt Becomes an Answer
deliverables/Demo-Day-How-a-Prompt-Becomes-an-Answer.md · linked from 2 files
15
W4 · WED → W4 · THUDemo Day: How a Prompt Becomes an Answerdlv-demo10W4 · WED to W4 · THU · 15 points
Relative time. It never changes when a cohort starts.
InterdependentInterdependentWith your group, on the group's own initiative.Michael’s wordsThings you make · expected Excellent
Our Trained ModelDeliverabledlv-model5Our Trained Model
deliverables/Our-Trained-Model.md · linked from 3 files
20
W2 · TUE → W2 · FRIOur Trained Modeldlv-model5W2 · TUE to W2 · FRI · 20 points
Relative time. It never changes when a cohort starts.
Two Runs: Our Test and Retrain LogDeliverabledlv-evlog6Two Runs: Our Test and Retrain Log
deliverables/Two-Runs-Our-Test-and-Retrain-Log.md · linked from 2 files
15
W3 · MON → W3 · WEDTwo Runs: Our Test and Retrain Logdlv-evlog6W3 · MON to W3 · WED · 15 points
Relative time. It never changes when a cohort starts.
Our Live SiteDeliverabledlv-site07Our Live Site
deliverables/Our-Live-Site.md · linked from 2 files
20
W3 · TUE → W4 · TUEOur Live Sitedlv-site07W3 · TUE to W4 · TUE · 20 points
Relative time. It never changes when a cohort starts.
User Test NotesDeliverabledlv-usrt08User Test Notes
deliverables/User-Test-Notes.md · linked from 0 files
10
W4 · MON → W4 · TUEUser Test Notesdlv-usrt08W4 · MON to W4 · TUE · 10 points
Relative time. It never changes when a cohort starts.
IndependentIndependentOn your own: your curiosity, your practice, your idea.Michael’s wordsThings you make · expected Remarkable
Compare Two ModelsDeliverabledlv-cmpr12Compare Two Models
deliverables/Compare-Two-Models.md · linked from 2 files
10
W3 · MON → W4 · WEDCompare Two Modelsdlv-cmpr12W3 · MON to W4 · WED · 10 points
Relative time. It never changes when a cohort starts.
An Extension of My OwnDeliverabledlv-extn11An Extension of My Own
deliverables/An-Extension-of-My-Own.md · linked from 2 files
15
W3 · WED → W4 · THUAn Extension of My Owndlv-extn11W3 · WED to W4 · THU · 15 points
Relative time. It never changes when a cohort starts.
Milestones
The model writes for you
Python project done
Product spec agreed
First trained model
Site talks to the model
Live on the web
Demo day
Priya’s week (invented)one sample week, around camp
MON
13:00 · 150mBig idea and huddle: teams form
TUE
13:00 · 120mWorkshop: find and combine the lyrics
19:30 · 45mClean the lyric file with her team on a video call
WED
13:00 · 120mWorkshop: tokenizetokenizeCut text into pieces (words or parts of words) and give each piece a number, so a computer can work with it.Draft reading, for Michael to correct it
THU
13:00 · 120mCode-along: first training run
20:00 · 20mCheck the training run, post the first output to the team chat
FRI
13:00 · 90mHelp desk
16:00 · 20mMachine Diary: same prompt, new answer
SAT
SUN
17:00 · 30mReads about genre models for an extension idea
InteractiveInteractive · your own work, set by campWork camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.
Work in this stream is expected at Successful.Michael’s words
620 min
IndependentIndependent · on your ownExtensions you choose: a second model, a bot, a comparison. Held to a higher bar because you picked it.
Work in this stream is expected at Remarkable.Michael’s words
30 min
InterdependentInterdependent · with your teamYour team's product: the trained model, the test log, the live site. Built together, owned together.
Work in this stream is expected at Excellent.Michael’s words
65 min

Priya is not a real student. She had written about fifty lines of Python before camp. Her team is training on song lyrics, and she owns the data. She works at a café on Saturday mornings.

For you

The evening team time is short on purpose. If a training run fails overnight, the Friday help desk is where it gets fixed.

← curricula-v