Codepiko · Grade 6 · BTY.6.5.3 (b, c, ç) · 40 min
Build the model, try it, judge it
Develop models with AI tools and technologies
In the guide: Building Models with AI Tools (lesson 2), p. 142
Goal
Students train a model for a problem with their own examples, try it on inputs it has never seen and judge the results by looking at where it went wrong.
Before the lesson
- Open the “Teach with sentences” and “Draw, teach, predict” experiments. Examples stay in the browser and are not sent anywhere.
- Hand the problem cards from last lesson back to the groups.
- Draw three columns on the board: What did we teach? How did we test it? Where was it wrong?
Lesson flow
Attention5 min
Learning from mistakes
Ask about a time students learned something by trying again and again and then still made a mistake. Then ask: Can a model learn from its mistakes too?
Lesson process10 min
Smart room
Open the smart room example in “Teach with sentences” on the board. Add a few example sentences for the lamp and the fan, then type a command the model has never seen. Show that when the model isn’t sure, it doesn’t touch anything in the room.
- AI experiment · Teach with sentences codepiko.com/en/ai-lab/cumle-ogret
Lesson process17 min
Our own model
Groups pick the experiment that fits their problem card: “Teach with sentences” for problems that work with sentences, “Draw, teach, predict” for ones that work with drawings. They give each label at least three examples, then try the model on examples it has never seen; “Test the model” in “Teach with sentences” measures this. They write the examples it got wrong in the column on the board.
- AI experiment · Teach with sentences codepiko.com/en/ai-lab/cumle-ogret
- AI experiment · Draw, teach, predict codepiko.com/en/ai-lab/ciz-ogret
Assessment8 min
Results report
Each group writes three lines: What did the model get right? Where was it wrong? What would we add to make it better? Listen to one or two groups and talk about how more varied examples change the model.
Exit questions
- Why is it important to test the model on an example it has never seen?
- Name an input the model got wrong. Why might it have been wrong?
- What did you do to improve the model?
Without computers
In the Paper model activity, groups work out a rule from example cards for their own problem, then test the rule on new cards brought by another group.
- Unplugged activity · Paper model codepiko.com/en/unplugged/5
Codepiko · lesson plan · codepiko.com/en/teacher/plans/model-gelistir