Train your own AI model from scratch. It learns from names you pick, then invents new ones. Nothing you type leaves your device.
How does an AI name generator learn?
You finish with an AI that invents names for a baby, a pet or a startup, and you can explain how it learned them.
1
What data does an AI learn from?
Short answer: An AI learns only from the examples it is given: here, a list of names you choose. It knows nothing outside that list.
Why this step: An AI knows only what it is shown. Before anything else, you choose its examples.
Tap the places whose names it should learn. Add your own if you like.
Pick at least one place, or type 10 names.
names in the machine
What you just did: You gave it a list of names. That list is everything it will ever know.
Recipe card +1Collect examples: a list of names it should sound like.
2
What does an AI model actually learn from data?
Short answer: An AI model learns one thing: which symbol usually comes next. Counting the letter after two letters shows the idea; the real model looks back up to 16 letters.
Why this step: See the one thing it is trying to learn first, and every later step makes sense.
Press Count to see which letter comes right after these two in your names. Tap another pair to count again.
0
That is all it ever learns: which letter usually comes next. Here we look at the last two letters; the real model looks back further, up to 16.
What you just did: You counted which letter follows a pair in your names. That count is the pattern the model must discover by itself: nobody ever hands it the count.
Recipe card +1Its one job: predict which letter comes next.
3
How does an AI turn text into numbers?
Short answer: Text becomes numbers before an AI can use it: here a = 1 … z = 26, and 0 marks the end of a name.
Why this step: A computer can only do maths, so letters must become numbers before it can learn anything.
Inside a computer, everything is a number, and this AI learns by doing maths. So letters must become numbers first. Type your name, or tap one of its names, to see how.
letters in
Its whole alphabet: a = 1 … z = 26, and ␣ = 0 ends a name.
What you just did: You turned a name into numbers: a = 1 … z = 26, and 0 marks the end of a name.
Recipe card +1Turn letters into numbers: a = 1 … z = 26, 0 = end.
4
How is an AI model trained, step by step?
Short answer: An AI model is trained by guess, check, adjust: it guesses the next letter, compares it with the real one and nudges its numbers so the right letter gets a little likelier, thousands of times.
Why this step: In step 2 you counted the pattern yourself. A model is never given a count: it has to find the pattern by guessing and being corrected. First you do the correcting, then the real model does it alone.
You be the teacher. Show it your names one at a time and watch its guess move toward the count you made in step 2.
How close to your count—
its guess your count from step 2
Now the real model learns the same way
27 numbersyour tiny model · sees 2 letters
15,035 numbersthe real model · sees up to 16 letters
What it writes now
What you just did: You corrected a tiny model of 27 numbers, one per letter, until it matched your count. The real model did the same with 15,035 numbers and 16 letters of memory, so it can spot more than any two-letter count.
Recipe card +1Train: guess the next letter, check, adjust, thousands of times.
5
When should you stop training an AI model?
Short answer: Stop training an AI model when it stops getting better on examples it never studied. Too early and it writes gibberish; too long and it starts repeating its training list.
Why this step: More training is not always better. Past a point it stops learning patterns and starts memorising your list.
You want new names, not your list back. Keep training and watch the COPIED share climb. Press Stop when you think it has gone too far: it then shows its best moment, judged on names it never studied.
Training round 0copied from your list 0%
What you just did: A tenth of your names were kept back as a test it never studies. You watched it improve on them, then start copying your list, and went back to its best moment.
Recipe card +1Stop when unseen names stop improving, before it copies.
6
How does an AI generate text, one letter at a time?
Short answer: An AI generates text one piece at a time: its odds become a weighted spin, the spin picks a letter, and it repeats until it picks the end mark.
Why this step: Watching it write one letter at a time shows there is no lookup, only chance shaped by what it learned.
Press Next letter until the name ends. Each press draws a new wheel and spins it.
What you just did: You built a name letter by letter: each wheel's slices were its odds, and a spin picked the next letter until the end mark.
Recipe card +1Write: pick each next letter by its odds until the end mark.
7
Does an AI model store its training data?
Short answer: Not as a list. A trained AI model holds only numbers (15,035 here). But numbers trained too long can soak up the data and rebuild parts of it: that is memorising.
Why this step: It wrote new names, and copied yours when trained too long. So is your list hidden inside it? Search it.
Search the model for a name from your list.
Each dot is one of its numbers. Berry = above zero, teal = below, brighter = bigger.
What you just did: You searched for a name and found only numbers that hold odds. The list is not stored, yet numbers trained too long can still reproduce names from it.
Recipe card +1What it keeps: numbers holding odds, not a copy of your list.
8
What is an AI model file actually made of?
Short answer: An AI model file is the numbers it learned plus a small program that runs them. How many numbers is chosen by its builders before training; training only changes their values.
Why this step: Seeing the finished thing lets you say what an AI model actually is.
Your AI is just the numbers it learned plus a small program that runs them. Download it as one file, or open one a friend sent you.
15,035numbers
+
programruns them
=
your AIone file
How is the number of parameters in an AI model decided?
Short answer: Its builders decide, before training. They pick a few sizes, and the count is the area of the tables those sizes make. Training changes the values of these numbers (called parameters), never how many there are.
0 numbers
Each block is a table of numbers, drawn to scale: rows × columns = how many.
Now you choose. How many numbers should each letter's card hold?
Got a model file? It is read as numbers only, never run.
Same idea, bigger models:
What you just did: You saw where its 15,035 numbers come from (tables whose sides are sizes its builders chose) and saved it as one file: those numbers plus a small program that runs them.
Recipe card +1Ship it: the learned numbers plus a small program, in one file.
Explain how an AI name generator works
Put your eight recipe lines in the order you built them. If you can do this, you can explain it to anyone.
Tap the lines below one by one, first step first.
Collect examples: a list of names it should sound like.
Its one job: predict which letter comes next.
Turn letters into numbers: a = 1 … z = 26, 0 = end.
Train: guess the next letter, check, adjust, thousands of times.
Stop when unseen names stop improving, before it copies.
Write: pick each next letter by its odds until the end mark.
What it keeps: numbers holding odds, not a copy of your list.
Ship it: the learned numbers plus a small program, in one file.
In one minute
A name generator learns from a list of names. Its one job is to predict the next letter. Letters become numbers, then it trains: it guesses the next letter, checks, and nudges its numbers, thousands of times. You stop training when names it never studied stop improving; after that it starts memorising your list. To write, it spins a weighted wheel for each letter until the end mark. Inside are only numbers that hold the odds, not your names. The finished AI is those numbers plus a small program, in one file. Big chatbots work the same way, with word pieces instead of letters and billions of numbers.
ShiniFrontiers · FrontierBasics
/100
I built a small AI that invents names, in my browser, and I can explain how it works.
Your namesyour namesThe only thing it learns from.
Letters become numbersa → 1 … z → 26, end → 027 symbols. Every name becomes a row of numbers.
A blank modelrandom numbersIts size is chosen before training. At the start every letter is a blind guess, about 1 in 27.
Training loopGuessCheckNudgeRepeathundreds of roundsEach round reads a handful of your names and nudges every number toward the right next letter. About a tenth of your names is kept back, never studied, to test it.
Best moment keptits best stepWhere the kept-back names surprised it least. After that it starts copying your list.
Your model filenumbers + a small programThose numbers and a small program. No names inside, only odds.
It writesa new nameIt rolls dice on its odds, one letter at a time, until the end mark.
Surprise, in bits
names it never sawnames it studies
A nudge by hand
One real training step on a practice copy: the bars and 8 of its real numbers, as dials.
A nudge = every number moves a tiny bit in the direction that makes the right letter likelier.
Guessodds for every letter
Checkagainst the real letter
Nudgeturn every number a little
Repeatnext example
Training = turning thousands of dials a tiny bit, hundreds of times, each time on a fresh handful of your names, so it learns what they share.
Only the numbers moved. Your names and the 27 letters stay exactly the same.
Where its numbers come from
Two rules explain every line below.
A card of numbers. Inside the model, every letter travels as a list of numbers: its card. The builder picks the card's length before training.
A × B is a grid of dials. Turning a card of A numbers into a card of B numbers needs one dial for every pair: A × B dials. “+ B” is one starting value for each new number.
All start random. Training nudges every one of them (step 4). None stores a name.
Worked example: a toy model you can count by hand
Same rules, real sizes
How big should it be?
Drag to resize the brain. The count follows from your choices.