AI CAMP / MAKE A MACHINE WRITE
MMWTEACHER GUIDE

Make a Machine Write

Everything the student sees, plus facilitation, answer keys, what to look for, and the parent updates.

4lectures
10lessons
10tidbit Lodes
11look-fors
run-of-monthguide

W1 · Discover · Words become numbers

W2 · Create · Train your model

W3 · Iterate · Put it on the web

W4 · Reflect · Ship it and show it

6 touchpoints a week · 1 instructional time a day, at most

00STANCE

Learning work is individual; the product is collaborative

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 is a very well-read guesser: give it some words and it predicts what comes next. This month you find out how that works, from the inside. You learn enough Python to be dangerous, turn words into numbers, train a model on text you chose (song lyrics, recipes, speeches, game dialogue, anything with enough of it), and put it on a website where anyone can type a prompt.

By the end of week 1 you will have written a working Python project and a product spec. By demo day your team's model will be live on the web, and your family will type into it.

For youfor StudentsAudience markerSaid to the student. Shown in the student view, the teacher guide and the designer view.

You choose the data and the goal. AI Camp's own example: train on a dataset of song lyrics and have the model write an original pop song from a prompt like "Love". Then go further: one model per genre, a pop song that gets a "rap feature" from a second model, or two models trained on two public speakers holding a conversation. Start with the smallest version that works, then add.

At homefor ParentsAudience markerSaid to a parent. Shown in the parent page, the teacher guide and the designer view. Never in the student view.

Your teenager will learn the ideas behind tools like ChatGPT by building a small one. Week 1 is Python and the basics of how computers handle words. Week 2 is training a model. Week 3 is building a website around it, and week 4 is shipping it and presenting it. No experience is needed beyond a short Python primer, and the learning work is individual, so nobody is carried by a teammate. The month ends with a live demo for families.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

AI Camp's 2022 designers set the rule for this Burst, and it holds: "for teachings, the project deliverables should be more individualistic so everyone learns and no one is left out. When developing the final product, be more collaborative." Every student writes their own Python project, their own 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 and their own share of the spec. Teams form around the product in week 2.

They also wrote down the stance for the first day: tell students you won't underestimate them, and you'll treat them as professionals as long as they earn it.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

Hype first, then explain. The model writes something funny in the first hour, before anyone has written a line of Python. Students will sit through a week of tokenization and dictionaries if they have already seen where it goes. (Inferred: this matches the source's "get students excited… off the bat" and the house stance; Michael has not written it.)

The three streams

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
Work camp sets and you do yourself: your Python project, your notebook, your share of the spec. The 2022 rule: learning work is individual.

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
Your team's product: the trained model, the test log, the live site. Built together, owned together.

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
Extensions you choose: a second model, a bot, a comparison. Held to a higher bar because you picked it.

00bWHERE THE MACHINE SHOULD BE

The month as one team's conversation

The same sample the families see. Use it to set expectations: gibberish on Friday of week 2 is on track.

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.

01WHERE TO LOOK

ATACC, Presence and Team Dynamics

Feedback builds from the foundation. Each look-for is attached to a touchpoint, so you know when you are watching for what.

5Content
Layer 5 · Content“The understanding.” The result of the first four in procession.Michael’s words
4Craft
Layer 4 · Craft“How they did the work, the process and performance.”Michael’s words
3Animation
Layer 3 · Animation“Builds on presence to add energy and enthusiasm, which they apply to their work and influence others positively.”Michael’s words
2Thought
Layer 2 · Thought“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”Michael’s words
1Approach
Layer 1 · Approach“Mature executive functioning, reasonable plans and time management. Shows up with presence and shows willingness and energy to pay attention.”Michael’s words
foundation ↑
WeekTouchpointWhatWho / edgeLook for
W1Camp, your team, and what three weeks of work look likeATACC · Approachinstructor, selfWhen the first Python exercise doesn't run, do they read the error and try something before asking?
W1Camp, your team, and what three weeks of work look likePresenceself→programBack after the break on time, with the notebook open, on day 3 as well as day 1.
W1Python, one idea a dayATACC · Thoughtinstructor, peerCan they say what a dictionary is for, in a sentence, before using it to map words to integers?
W1From bag of words to Word2VecATACC · ThoughtinstructorAsked why a model can't just read the word 'apple', do they talk about numbers, vectors or meaning?
W2One team, one spec, one model by FridayTeam Dynamicsgroup→programDoes the team split the data work so that nobody waits, and does anyone check in on the quietest member?
W2One team, one spec, one model by FridayATACC · Animationpeer, instructorWho keeps the training run going between sessions, and who lifts the team when the first output is gibberish?
W2Find, scrape and clean your dataATACC · Craftinstructor, peerDid they open the text file and read some of it before training on it?
W3Evaluate, then retrainATACC · Craftpeer, instructorIs there a written note of what went wrong in run 1, what they changed, and what happened in run 2?
W3Flask and a Bootstrap templateTeam Dynamicsgroup→programDoes the person who trained the model and the person building the site sit together when the two are connected?
W4Test with users, then fixPresenceself→groupDuring another team's test, who gives a useful, specific note rather than 'it's cool'?
W4Rehearse and score yourselfATACC · Contentself, peer, instructorCan each team member, not just one, explain how a prompt becomes generated text on the page?
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 idea · LectureBig idea · LectureOne 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
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

Draw the map on the board on day 1 and leave it up all month. In week 4 the class walks it again and marks where each team spent its time.

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.

Huddle · OrientationHuddle · OrientationCohort 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?
look forATACC 1 · ApproachATACC layer 1 of 5“Mature executive functioning, reasonable plans and time management. Shows up with presence and shows willingness and energy to pay attention.”Michael’s wordsobserved by instructor, selfWhen the first Python exercise doesn't run, do they read the error and try something before asking?
look forPresencePresenceHow the individual shows up: to the program, and for their group.Michael’s wordsself→programBack after the break on time, with the notebook open, on day 3 as well as day 1.
Workshop · LessonWorkshop · LessonA 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.
TfidfVectorizer documentationarticle · scikit-learn · · scikit-learn.orgReference for the TF-IDF half of the code-along.for Teachers + DesignersAudience markerFacilitation and stance. Teacher guide and designer view only.
CheckWhat did the model do with your prompt?choicekey shownAnswer keyThe ticked answers render only in the teacher guide and the designer view.

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
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

The 2022 stack used GPT-J for this demo. Any small open model that runs in the class notebook works. Pick prompts in advance that produce one funny answer.

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.

Workshop · LessonWorkshop · LessonA 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 linechoicekey shownAnswer keyThe ticked answers render only in the teacher guide and the designer view.

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
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

The 2022 authors: "Encourage students to learn on their own!" Give the notebook link on Monday and let fast students run ahead.

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!"

look forATACC 2 · ThoughtATACC layer 2 of 5“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”Michael’s wordsobserved by instructor, peerCan they say what a dictionary is for, in a sentence, before using it to map words to integers?
Workshop · LessonWorkshop · LessonA 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 ▶Word Embedding and Word2Vec, Clearly Explainedvideo · StatQuest · 16 min · youtube.comSlower and more mathematical. Good for the instructor's prep.for Teachers + DesignersAudience markerFacilitation and stance. Teacher guide and designer view only.
CheckWhy turn words into numbers?choicekey shownAnswer keyThe ticked answers render only in the teacher guide and the designer view.

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.

look forATACC 2 · ThoughtATACC layer 2 of 5“Reasons about content and craft. Can describe what they need to learn and why it is important or serves a purpose.”Michael’s wordsobserved by instructorAsked why a model can't just read the word 'apple', do they talk about numbers, vectors or meaning?
Quick topics · Special topicsQuick topics · Special 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
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

From the 2022 day 2 plan: "present the coolest end-to-end NLP projects", then a team brainstorm. Keep it to 45 minutes.

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 desk · Office hoursHelp desk · Office hoursOne 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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

The 2022 designers suggested making the Python week competitive ("person with best python project after certain amount of time wins? Learning a new language can be boring so we need some motivating factor") and splitting groups by experience. Use it if the room wants it.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

Behind: Python still not running by Wednesday. Drop to the dictionary flashcards notebook (dictionary-flashcards) and pair them with a returning student for one session. The spec does not wait for Python. (Inferred catch-up path.)

Parent updateParent updateNot student-facing, not required. One short note a week.PEDAGOGY §7for Parents + Teachers + DesignersAudience markerSaid to a parent. Shown in the parent page, the teacher guide and the designer view. Never in the student view.

Week 1: a model wrote in the first hour

On day one your teenager gave a pretrained 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 a prompt and watched it write. Ask what it wrote. The rest of the week was the groundwork: Python, one idea a day, and how computers turn words into numbers they can compare.

Ask about: their Python project (a game, a tracker, a bot), and the two words their 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 model thought were close. The answer is often funny and usually tells you something about the article it read.

Coming up: teams form around one product idea, and they train their first model.

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 idea · LectureBig idea · LectureOne 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 Understanding LSTM Networksarticle · Christopher Olah · · colah.github.ioThe standard diagrams. Use the pictures, skip the equations with students.for Teachers + DesignersAudience markerFacilitation and stance. Teacher guide and designer view only. ▶Attention in transformers, step-by-stepvideo · 3Blue1Brown · 26 min · youtube.comFor challenge level 2 and the instructor.for Teachers + DesignersAudience markerFacilitation and stance. Teacher guide and designer view only.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

For the curious, the 2022 Week 2 notebooks build a seq2seq English-to-Chinese translator with attention as a bonus. Most students only need the four ideas above.

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.

Huddle · OrientationHuddle · OrientationCohort 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.
look forTeam DynamicsTeam DynamicsHow the group works together in what the Burst provides.Michael’s wordsgroup→programDoes the team split the data work so that nobody waits, and does anyone check in on the quietest member?
look forATACC 3 · AnimationATACC layer 3 of 5“Builds on presence to add energy and enthusiasm, which they apply to their work and influence others positively.”Michael’s wordsobserved by peer, instructorWho keeps the training run going between sessions, and who lifts the team when the first output is gibberish?
Workshop · LessonWorkshop · LessonA 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 chainsortkey shownAnswer keyThe ticked answers render only in the teacher guide and the designer view.

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].

Workshop · LessonWorkshop · LessonA 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.

look forATACC 4 · CraftATACC layer 4 of 5“How they did the work, the process and performance.”Michael’s wordsobserved by instructor, peerDid they open the text file and read some of it before training on it?
Workshop · LessonWorkshop · LessonA 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 Fine-tuning a pretrained modelarticle · Hugging Face · · huggingface.coThe current way to do what aitextgen did in 2022. See the today's-tools variant.for Teachers + DesignersAudience markerFacilitation and stance. Teacher guide and designer view only.
Team notefor TeamAudience markerInternal note for the program team. Never rendered to students or parents; the build fails if it leaks.

2022 used aitextgen with GPT-Neo 125M or DistilGPT-2 on CoCalc GPUs. aitextgen has not been maintained since 2022. The variant var-nlpmod lists current equivalents.

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 topics · Special topicsQuick topics · Special 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 desk · Office hoursHelp desk · Office hoursOne 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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

From the 2022 guide: if a team is doing short text (tweets, titles), 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 first so they have a working model, and only then try training their own tokenizer, which takes hours.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

Behind: no data by Wednesday. Hand them a known-good public text (the guide used a lyrics dataset and the complete works of Shakespeare) and let them change datasets in week 3. A model on someone else's data beats no model. (Inferred catch-up path.)

Parent updateParent updateNot student-facing, not required. One short note a week.PEDAGOGY §7for Parents + Teachers + DesignersAudience markerSaid to a parent. Shown in the parent page, the teacher guide and the designer view. Never in the student view.

Week 2: a model of their own

This week your teenager joined a team around one product idea, found and cleaned the text to train on, and trained a first 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 first output is often strange. That's expected, and next week is about making it better.

Ask about: what their model was trained on, and the funniest thing it wrote. Then ask why it wrote that. "It learned from the data" is a good start; ask what in the data.

Coming up: testing the model, retraining it, and building a website around it.

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 idea · LectureBig idea · LectureOne 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.

Huddle · OrientationHuddle · OrientationCohort 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.
Workshop · LessonWorkshop · LessonA 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?choicekey shownAnswer keyThe ticked answers render only in the teacher guide and the designer view.

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.

look forATACC 4 · CraftATACC layer 4 of 5“How they did the work, the process and performance.”Michael’s wordsobserved by peer, instructorIs there a written note of what went wrong in run 1, what they changed, and what happened in run 2?
Workshop · LessonWorkshop · LessonA 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?sortkey shownAnswer keyThe ticked answers render only in the teacher guide and the designer view.

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.

look forTeam DynamicsTeam DynamicsHow the group works together in what the Burst provides.Michael’s wordsgroup→programDoes the person who trained the model and the person building the site sit together when the two are connected?
Quick topics · Special topicsQuick topics · Special 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 desk · Office hoursHelp desk · Office hoursOne 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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Advanced goals matter most this week, according to the 2022 guide: a student who is done should be able to keep improving. Point them at the extensions: one model per genre, two models feeding each other, the Discord bot that serves a trained model, or a comparison of models as a small research project.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

Behind: the site isn't talking to the model by Thursday. Hard-code three generated outputs into the page so the demo has something to show, then keep wiring. A site that works with saved answers is a real version 1. (Inferred catch-up path.)

Parent updateParent updateNot student-facing, not required. One short note a week.PEDAGOGY §7for Parents + Teachers + DesignersAudience markerSaid to a parent. Shown in the parent page, the teacher guide and the designer view. Never in the student view.

Week 3: making it better, and a website

This week your teenager's team read what their model wrote, wrote down two ways it could be better, and trained it again. That habit of testing and then changing one thing is most of the job in real AI work. Then they started building the website around it.

Ask about: what was wrong with the first version, and what they changed. If they can tell you the cause, not just the fix, that's the important part.

Demo day is next week. The site will be live, and families get to type their own prompts. Please come.

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 idea · LectureBig idea · LectureOne 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?

Huddle · OrientationHuddle · OrientationCohort 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.
Workshop · LessonWorkshop · LessonA 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.

look forPresencePresenceHow the individual shows up: to the program, and for their group.Michael’s wordsself→groupDuring another team's test, who gives a useful, specific note rather than 'it's cool'?
Workshop · LessonWorkshop · LessonA 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.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

If the model says something odd in front of families, the team explains why it might have. Tell them in rehearsal that this counts in their favour.

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.

look forATACC 5 · ContentATACC layer 5 of 5“The understanding.” The result of the first four in procession.Michael’s wordsobserved by self, peer, instructorCan each team member, not just one, explain how a prompt becomes generated text on the page?
Quick topics · Special topicsQuick topics · Special 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.

Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.draft · MSDraft markerWritten in Michael’s voice by an agent. It is here for him to rewrite, and is not his wording yet.

If the model says something odd in front of families, the team explains why it might have. Tell them in rehearsal that this counts in their favour.

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 desk · Office hoursHelp desk · Office hoursOne 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.
Parent updateParent updateNot student-facing, not required. One short note a week.PEDAGOGY §7for Parents + Teachers + DesignersAudience markerSaid to a parent. Shown in the parent page, the teacher guide and the designer view. Never in the student view.

Demo day, and how to read the feedback

Thank you for coming. Each team presents what they built and how, then families get to type their own prompts into the models. Ask your teenager to show you the GitHub repo too: that's the part a future teacher or employer will look at.

The portfolio. Each thing your teenager made has points: the Python project, the notebook, their share of the spec, the model and the site. Points add up toward 100, and there are more than 100 on offer, so a student who stumbled on one piece can do another. Work they chose on their own, such as an extension, is held to a higher bar than assigned work.

How they worked, not only what they made. We give feedback from the foundation up: how they approached the work, how they thought about it, whether they showed up for their team, how they built it, and last, what they understood. Most grading reports only the last one.

At home: ask your teenager to score one part of their team's demo themselves, using the score sheet's words.

Team notefor TeamAudience markerInternal note for the program team. Never rendered to students or parents; the build fails if it leaks.

The parent-facing explanation of ATACCATACCApproach → Thought → Animation → Craft → Content. Feedback on how you worked, from the foundation up, before what you made.Michael’s words and the portfolio above is an agent's paraphrase carried over from the other Bursts. It needs Michael's own wording before it goes to a family. The 2022 source had no demo day for families; its final step was a presentation to peers, which the 2023 scope also kept.

06SAMPLE CALENDAR

Sample Calendar: July 2027 summer cohort (invented)

Big idea and huddle (lecture and orientation) share Monday. One afternoon block a day; no day has two instructional times.

MON
TUE
WED
THU
FRI
W1
Jul 12
Lecture + orientation13:00 · 150mWeek 1: DiscoverStagestg-nlpwk1Week 1: Discover
burst/Week-1-Words-Become-Numbers.md · linked from 4 files
, with the model writing in the first hour
Jul 13
Lesson13:00 · 120mCode-along: Python basics, split across the weekSessionses-nlpw02Code-along: Python basics, split across the week
lodes/Python-Basics-One-Idea-a-Day.md · linked from 2 files
Jul 14
Lesson13:00 · 120mWorkshop: bag of words, embeddings, Word2VecSessionses-nlpw03Workshop: bag of words, embeddings, Word2Vec
lodes/From-Bag-of-Words-to-Word2Vec.md · linked from 2 files
Jul 15
Lesson13:00 · 120mTeam research: 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
Parent updateby emailWritten update (email)
Jul 16
Office hours13:00 · 90mPython clinic
W2
Jul 19
Lecture + orientation13:00 · 150mWeek 2: CreateStagestg-nlpwk2Week 2: Create
burst/Week-2-Train-Your-Model.md · linked from 2 files
Jul 20
Lesson13:00 · 120mWorkshop: web scraping and combining datasetsSessionses-nlpw05Workshop: web scraping and combining datasets
lodes/Finding-Text-Data-on-Kaggle-and-Beyond.md · linked from 2 files
Jul 21
Lesson13:00 · 120mWorkshop: how to tokenize data so a computer understands itSessionses-nlpw04Workshop: how to tokenize data so a computer understands it
lodes/Fine-Tune-a-GPT-on-Your-Text.md · linked from 2 files
Jul 22
Lesson13:00 · 120mCode-along: fine-tune a GPT model on your textSessionses-nlpw06Code-along: fine-tune a GPT model on your text
lodes/Fine-Tune-a-GPT-on-Your-Text.md · linked from 2 files
Parent updateby emailWritten update (email)
Jul 23
Office hours13:00 · 90mTraining clinic
W3
Jul 26
Lecture + orientation13:00 · 150mWeek 3: IterateStagestg-nlpwk3Week 3: Iterate
burst/Week-3-Put-It-On-The-Web.md · linked from 2 files
Jul 27
Lesson13:00 · 120mWorkshop: evaluating generated text, and the second training runSessionses-nlpw07Workshop: evaluating generated text, and the second training run
lodes/Evaluate-Then-Retrain.md · linked from 2 files
Jul 28
Lesson13:00 · 120mCode-along: a simple Flask site, then your model in itSessionses-nlpw08Code-along: a simple Flask site, then your model in it
lodes/HTML-CSS-Flask-and-a-Bootstrap-Template.md · linked from 2 files
Jul 29
Lesson13:00 · 120mWiring afternoon: connect the site to the model
Parent updateby emailWritten update (email), with the demo-day invitation
Jul 30
Office hours13:00 · 90mWiring clinic
W4
Aug 2
Lecture + orientation13:00 · 150mWeek 4: ReflectStagestg-nlpwk4Week 4: Reflect
burst/Week-4-Ship-It-And-Show-It.md · linked from 2 files
, and the sites go live
Aug 3
Lesson13:00 · 120mWorkshop: user testing and the last improvementsSessionses-nlpw09Workshop: user testing and the last improvements
lodes/Deploy-It-and-Demo-It.md · linked from 2 files
Aug 4
Lesson13:00 · 120mWorkshop: rehearse the presentation, score it, give feedbackSessionses-nlpw10Workshop: rehearse the presentation, score it, give feedback
lodes/Deploy-It-and-Demo-It.md · linked from 2 files
Aug 5
Demo day17:30 · 90mDemo day for families: ten minutes a team, then families type their own prompts
Aug 6
Office hours13:00 · 90mPortfolio questions, and what's next
07DELIVERABLES AND RUBRICS

Twelve Deliverables, three streams

160 points on offer against a portfolio of 100.

70 Interactive65 Interdependent25 Independent
100

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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Collect these in the first hour. On demo day, hand each student their day-1 sentence back.

Rubric: 2 criteria
Criteria, then observationsWeightPoints
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
crt-nlcur1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 4 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlhon1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

The 2022 designers suggested making this competitive: best project after a set time wins. Use it if the room wants it. Split by experience if the room is mixed.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nlrun1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlexp1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlpln1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 2 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Ask: why can't the computer just read the word? Listen for numbers, lists or meaning.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nlrun1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlexp1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlcur1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 4 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Read the specs on Friday and form teams on Monday. A student whose spec isn't picked still owns their share of the chosen one.

Rubric: 2 criteria
Criteria, then observationsWeightPoints
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
crt-nlpln1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 2 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nldat1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 2 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Ask a second team member a follow-up question on each step. The look-for is whether each member, not one, can explain the whole chain.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nlexp1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlhon1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlteamReused criterionAuthored once in library-candidates/Criteria.md and referenced by 3 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Read the diaries at Friday's help desk. The second line (the cause) is where the understanding shows.

Rubric: 2 criteria
Criteria, then observationsWeightPoints
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
crt-nlhon1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlexp1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

If a team has no data by Wednesday, give them a known-good public text (the guide used lyrics and the complete works of Shakespeare). They can swap in week 3.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nldat1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 2 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlrun1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlteamReused criterionAuthored once in library-candidates/Criteria.md and referenced by 3 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Push for counts. "It's better" is not evidence.

Rubric: 2 criteria
Criteria, then observationsWeightPoints
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
crt-nltst1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 3 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlhon1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

If the site isn't talking to the model by Thursday, hard-code three generated answers so the demo has something to show, then keep wiring. That's a real version 1.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nlusr1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 2 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlrun1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlteamReused criterionAuthored once in library-candidates/Criteria.md and referenced by 3 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Watch who gives other teams a specific note rather than "it's cool".

Rubric: 2 criteria
Criteria, then observationsWeightPoints
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
crt-nlusr1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 2 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nltst1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 3 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Good for a student who finishes the site early and likes numbers. 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 is allowed if they can say what it measures.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nltst1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 3 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlcur1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 4 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlhon1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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.
Facilitationfor TeachersAudience markerFacilitation and stance. Teacher guide and designer view only.

Approve the idea in one conversation. Steer away from anything that needs a paid API.

Rubric: 3 criteria
Criteria, then observationsWeightPoints
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
crt-nlcur1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 4 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlrun1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
crt-nlexp1Reused criterionAuthored once in library-candidates/Criteria.md and referenced by 5 files. Fix its wording there and every rubric changes.draft · MSDraft markerCriterion wording is drafted in Michael’s voice for him to rewrite.
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
08VARIANTS

Same Burst, led or taken differently

A Variant states only what changes.

Challenge level 2: returning students build the model from scratch

axis: challenge

The same month, taken again: you help teach week 1, build a small GPT yourself instead of only fine-tuning one, and every expected level moves up one.

A Variant states only what changes. Everything not named here is the base Burst.

AlsoWeek 1: DiscoverStagestg-nlpwk1Week 1: Discover
burst/Week-1-Words-Become-Numbers.md · linked from 4 files
slot: orientation

You pair with one new student for the Python week and run the dictionary-flashcards catch-up with anyone who is behind.

InsteadOur Trained ModelDeliverabledlv-model5Our Trained Model
deliverables/Our-Trained-Model.md · linked from 3 files
slot: task

Build a character-level GPT in code, following Karpathy's walk-through, train it on your team's text, and compare it with the fine-tuned model from level 1.

▶Let's build GPT: from scratch, in code, spelled outvideo · Andrej Karpathy · 116 min · youtube.com
RequiredCompare Two ModelsDeliverabledlv-cmpr12Compare Two Models
deliverables/Compare-Two-Models.md · linked from 2 files

Optional at level 1. Required at level 2: your scratch model against the fine-tuned one.

School-year evenings: the same month at two sessions a week

axis: schedule

For a cohort in school: two 90-minute evenings a week plus a Saturday lab, with the Python week stretched and the extensions dropped from the plan.

The base Burst assumes a summer schedule, as the 2022 camp did: a block every weekday afternoon. A school-year cohort has about half that time (inferred).

InsteadWeek 1: DiscoverStagestg-nlpwk1Week 1: Discover
burst/Week-1-Words-Become-Numbers.md · linked from 4 files
slot: lesson

Two evenings and a Saturday lab instead of three afternoons. The Python primer becomes required pre-work, and the 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 moves to Saturday.

WithoutAn Extension of My OwnDeliverabledlv-extn11An Extension of My Own
deliverables/An-Extension-of-My-Own.md · linked from 2 files

Not planned for. A student can still do one, and it counts toward the portfolio as usual.

Today's tools: fine-tune a current small open model and ship on a hosted app

axis: tools

The 2022 sequence with a 2026 toolchain: Hugging Face transformers for training, a hosted notebook in place of CoCalc, and Gradio on a hosted Space next to Flask.

A Variant states only what changes. The sequence, the Deliverables and the rubrics are the base Burst's. None of these swaps has been tried in a classroom yet.

InsteadFine-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
slot: session

Fine-tune with the Hugging Face transformers Trainer instead of aitextgen, which has not been maintained since 2022. Start from DistilGPT-2 or another small open model that fits a free hosted GPU.

InsteadDeploy It and Demo ItLodelod-ship10Deploy It and Demo It
lodes/Deploy-It-and-Demo-It.md · linked from 3 files
slot: session

Deploy as a Gradio app on a hosted Space. Keep 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 lesson in week 3 so students still see a front end and a back end, then wrap the same model in Gradio for the public link. AI Camp's own 2023 scope had already made this change.

WithoutExtensions: 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

No Heroku deploy for the Discord bot: its free tier is gone. Run the bot from a laptop during the demo, or skip it.

Team notefor TeamAudience markerInternal note for the program team. Never rendered to students or parents; the build fails if it leaks.

Paid or retired since 2022: Heroku's free tier and the Twitter API. CoCalc's sign-up token in the original setup notes is private and left out (SOURCES.md).

← curricula-v