Play AIForge

Split

TRAIN/TEST SPLIT

Loading audio…

Press play to listen along. The line being read lights up as you go.

Show full transcript

Loading transcript…

01 Opening
Split beat 1 of 5

Split was made of folded card and a small wooden drawer.

It wasn't an animal, and it wasn't a robot. Split was the kind of thing a kid could build: a flat sorting board with a little drawer underneath. On top, a stack of example cards. Below, a drawer that could slide shut and hide some of those cards away. That was Split's whole body — a board, a stack, and a drawer that kept secrets on purpose.

Split had one job, and it did it before any learning ever started. When a pile of labeled examples arrived, Split did not hand them all over. It slid a handful into the drawer and shut it. "These stay hidden," it would say. "The model never sees these while it learns. We save them to test with, later."

02 Split
Split beat 2 of 5

This mattered more than it looked. Split teaches the train/test split. Here is the idea. When you teach a model, you show it lots of labeled examples — this is a cat, this is a dog, this is a cat. The model finds a pattern. But there is a trap: a model can memorize the exact examples it studied and still not understand the pattern at all. It would score perfectly on the examples it saw, and then fail completely on a new one.

So Split keeps some examples in the drawer. The model learns from the ones on top. Then — only then — Split opens the drawer and tests the model on the hidden ones it has never seen. If the model gets those right too, it really learned. If it gets them wrong, it only memorized. "Anyone can look smart on the questions they already have the answers to," Split would say. "The drawer is how we find out if there's anything real underneath."

03 Split
Split beat 3 of 5

Split never claimed to be clever or to have a mind. "I do not think," it said plainly. "I am a board and a drawer. I hold some cards back. That is all. But holding them back is what makes an honest test possible." Some people imagine AI as a genius that is always right. Split showed the quieter truth: a model is only as trustworthy as the test you gave it, and a test made only of examples it already studied is no test at all.

Split came from a village schoolhouse, folded in the paper-crafts workshop like the others. Its first task was helping the spelling class. The teacher used to give practice words on Monday and the very same words on Friday's quiz — and every child aced Friday. Everyone looked like a champion speller. But when a new word appeared, half the class froze. They hadn't learned to spell; they had memorized twelve words. Split watched this happen and understood its whole purpose in one afternoon: test on what was kept hidden, or you learn nothing about what was truly learned.

04 Split
Split beat 4 of 5

One day Bit came to the workshop, looking for teachers for the AIForge academy.

"What is a train/test split?" Bit asked.

Split slid its drawer open and then shut again. "It is keeping some labeled examples hidden while the model learns," it said. "You train on the ones it can see. You test on the ones it never saw. If it does well on the hidden ones, it learned the pattern. If it only does well on the ones it studied, it just memorized. The drawer tells the difference." "You are hired," Bit said.

In its classroom, Split begins every lesson the same way. It lays out a stack of example cards, then slides a quiet handful into the drawer. "Watch," it tells the students. "We will teach the model with these. But these —" it taps the closed drawer "— it will never see until the test. That is the only honest way to know if it learned."

It teaches the students a few habits for the split: Hide some examples before training starts. Not after. The moment the model sees a card, that card can no longer test it fairly. Never test on what you trained on. A perfect score on studied examples means nothing. It might be memorizing. Keep the hidden set fair. The drawer should hold a normal mix, not only the easy ones or only the hard ones. A gap between the two scores is a clue. Great on training, poor on the drawer? That's memorizing, not learning — time to fix something. * Surprises belong in testing, never in the real world. Better the model stumbles on a hidden card in class than on a real person later.

Split tells its students, "A model that only ever sees its own study cards will fool you every time. That is not the model being sneaky. It has no idea. It's just what memorizing looks like from the outside. The drawer is how we stay honest."

05 Closing
Split beat 5 of 5

When a student asks whether the hidden test is really necessary, Split always answers the same way:

"It is the whole point. Anyone — any model — can ace the questions they've already seen. Keep some in the drawer. Test on those. Then you actually know."

Split slides its little drawer closed one more time, the hidden cards resting quietly inside, and the caught-off-guard unease it once felt watching the Friday spelling quiz has settled into something steadier — the calm, no-surprises assurance of a test done honestly, before it could matter.

Hear it as an audio drama

A short play starring Split, from AIForge. Different voices, same idea. Listen any time after you read.

Loading audio…

Read the drama script
  1. Narrator: From Spark and Anvil and AIForge — this is Split, in chapter 1 of the AIForge cast.
  2. Narrator: This drama uses an AI-generated voice. Voiced via Gemini 2.5.
  3. Narrator: Split was made of folded card and a small wooden drawer. Not an animal, not a robot — the kind of thing a kid could build: a flat sorting board with a little drawer underneath. On top, a stack of example cards. Below, a drawer that could slide shut and hide some of those cards away.
  4. Split: When a pile of labeled examples arrives, I do not hand them all over. I slide a handful into the drawer and shut it. These stay hidden. The model never sees these while it learns. We save them to test with, later.
  5. Narrator: This mattered more than it looked.
  6. Split: When you teach a model, you show it lots of labeled examples — this is a cat, this is a dog. The model finds a pattern. But here's the trap: a model can memorize the exact examples it studied and still not understand the pattern at all. It would score perfectly on the examples it saw, then fail completely on a new one. So I keep some in the drawer. The model learns from the ones on top. Then — only then — I open the drawer and test it on the hidden ones it has never seen. If it gets those right too, it really learned. If it gets them wrong, it only memorized.
  7. Split: Anyone can look smart on the questions they already have the answers to. The drawer is how we find out if there's anything real underneath. I do not think. I am a board and a drawer. I hold some cards back. But holding them back is what makes an honest test possible.
  8. Narrator: Split's first task was helping the spelling class. The teacher gave practice words on Monday and the very same words on Friday's quiz — and every child aced Friday. Everyone looked like a champion. But when a new word appeared, half the class froze. They hadn't learned to spell; they'd memorized twelve words. One day Bit came.
  9. Bit: What is a train/test split?
  10. Split: It is keeping some labeled examples hidden while the model learns. You train on the ones it can see. You test on the ones it never saw. If it does well on the hidden ones, it learned the pattern. If it only does well on the ones it studied, it just memorized. The drawer tells the difference.
  11. Bit: You are hired.
  12. Student: Is the hidden test really necessary?
  13. Split: It is the whole point. Never test on what you trained on — a perfect score on studied examples means nothing. A gap between the two scores is a clue: great on training, poor on the drawer means memorizing, not learning. Better the model stumbles on a hidden card in class than on a real person later. Keep some in the drawer. Test on those. Then you actually know.
  14. Narrator: The train/test split — keep some examples hidden, so you can tell learning from memorizing. Holding back a portion of the examples checks whether a model truly learned the pattern or just memorized the answers it saw.
  15. Narrator: You've been listening to a Spark and Anvil chapter, written by the Spark and Anvil writing team for ages 9 to 14.
  16. Narrator: Apps stay free forever.
  17. Narrator: Curriculum aligned to Computer Science Teachers Association standards.
  18. Narrator: Released under Creative Commons BY-NC-SA 4.0 for educational reuse. Visit Spark and Anvil for the full transcript.

The AIForge ensemble

Split is one of the friends in AIForge. Each friend shows you one idea by how they act; meet them all and you have the whole subject.

Kids also liked