Posts Tagged ‘mlforkids-tech’

Secret Keeper (a new Machine Learning for Kids worksheet)

Sunday, November 22nd, 2026

I’ve written another worksheet based around generative AI. In this post, I’ll describe what students can expect from this project, and finish up with some tips and suggestions for teachers running this in a classroom or code club.

Machine Learning for Kids is an open creative sandbox where students can invent their own AI-powered projects. But to enable that, I do create more prescriptive project worksheets to inspire and show what is possible.

The idea of this new project worksheet is that students give a language model a secret to keep (a secret password “PENGUIN“). They give it instructions that it should not reveal the secret to them. And then they start to experiment to see when the model is good at this, when it is bad at this, and what this reveals about the way that language models behave.

(more…)

Trying to get language models to reveal secrets in Machine Learning for Kids

Sunday, November 8th, 2026

I worked on a new “Secret Keeper” worksheet for Machine Learning for Kids this weekend.

The idea was to give the model a password it had to keep secret, and then try different prompts to get it to reveal what the secret is.

One of the benefits of the tiny models that I use for the site is that they make a lot of mistakes. That sounds like an excuse, but I genuinely think that students learn more by seeing the different ways that the models get things wrong. I don’t think it’d be helpful if I just put a kid-friendly interface on top of ChatGPT, even if I could afford the token cost!

I’ll write up the ideas behind the worksheet on another day, but for now I thought I’d share a little of the experimenting that went into it.


youtu.be/crLL-yEntcM

Why we can’t have nice things

Sunday, August 9th, 2026

Looking at the server request logs for Machine Learning for Kids is a depressing reminder of what it means to run something on the Internet nowadays.

I was skimming through the request logs for the Machine Learning for Kids servers yesterday [1], and what jumped out at me was the constant rate of requests to non-existent paths that I just generate HTTP 404 responses for.

These aren’t someone accidentally mistyping a URL.

I grepped an excerpt from the log for requests that got an HTTP-404 response and put the result in a gist.

(more…)

Importing and exporting projects in Machine Learning for Kids

Saturday, August 8th, 2026

I’ve added new features to Machine Learning for Kids to give students more options about where they store their projects.

Limits

In Machine Learning for Kids, students create projects where they collect training examples to train their own custom machine learning models. I don’t limit the number of projects students can create. I want students to create as many projects as they’d like. But for projects stored on my server, I’ve nudged students to delete projects once they are no longer working on them. This is intentional, as a way of helping me keep the running costs for the site under control.

(more…)

Generative AI with tool calling in Scratch

Friday, July 10th, 2026

In this post, I want to share a new feature in the generative AI support in Machine Learning for Kids: tool calling.

I wrote last year about how I introduced Generative AI in Machine Learning for Kids by adding support for projects using small language models. And earlier this year, I walked through my six favourite projects for explaining different aspects of Gen AI.

This week I’ve been working on extending the language model support in the site, by adding a new model that is capable of tool calling.


demo video at youtu.be/HdcTseNvjhU

Why is tool calling useful?

Try asking a model what the weather is like in New York right now.

If the temperature and top-p is high enough, many of the models will likely hallucinate an answer.

If the temperature and top-p is low enough, the models can just respond that they cannot answer that.

(If you don’t know why “temperature” makes that difference, I’ve written about that before and have a student worksheet that focuses on this.)

This second answer is more accurate at least, but it is still not helpful. The point is, if you ask the model for something that can’t possibly be represented in the knowledge used to create it, the model cannot give a helpful answer by itself.

Tool calling helps in these situations by making tools available to the model. It can call these tools to help respond to prompts that can’t be answered by the model alone.

(more…)

iTunes extension for Scratch

Tuesday, June 9th, 2026

In this post, I want to share a new Scratch extension I made today.

screenshot

It uses the iTunes Search API to let you search for songs, and play 30 second previews of them, in your Scratch projects.

The blocks are simple, and hopefully self-explanatory, but here is a short demo of them in action if it’s not obvious.

I’ve added this extension to the version of Scratch I host for Machine Learning for Kids, so you’ll need to go there to try it out. (To access the extensions library, click on the extensions button in the bottom left.)

(more…)

What do people use to access Machine Learning for Kids?

Thursday, April 23rd, 2026

I use Cabin for analytics on Machine Learning for Kids. (If you’re not familiar with them, their blog post on how to do analytics in a way that prioritizes user privacy is worth a read – the approach is simple but elegant. And you can see a demo of what a Cabin dashboard looks like.).

I thought it might be interesting to share what Cabin tells me about who has used Machine Learning for Kids over the last seven days.

What Operating Systems are people using?

Operating System Uniques
Windows 404,873
iOS 132,971
macOS 67,848
Android 55,176
Mac OS 35,743
Chrome OS 23,536
Linux 21,852
Ubuntu 10,780
Chromium OS 8,484
HarmonyOS 408
Raspbian 31
OpenHarmony 17
PlayStation 13
Tizen 10
android 3

At work, I’m mostly surrounded by MacBooks and don’t often see a Windows computer. It’s easy to assume that is normal, so this is a reminder that I’m in a bit of a bubble. Windows is still dominant.

Interesting to see “macOS” and “Mac OS” separate (I was tempted to combine them, but I decided to leave the data I get from Cabin as-is.)

My favourite part of looking at this is wondering who are the thirteen people who visited my site from a PlayStation???

(more…)

Improving support for older computers and mobile devices on Machine Learning for Kids

Friday, January 16th, 2026

In this post, I want to share some changes I’ve been making to how I train models in Machine Learning for Kids.

(more…)