Name generator, trained on a baby names book.

Name generator, trained on a baby names book.

Originally shared by Andrej Karpathy

#RandomExperimentSundays : I was curious if char-rnn (https://github.com/karpathy/char-rnn) can generate new, fun and plausible baby names. So I got a dataset of 8,000 baby names from an NLP repo (http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/nlp/corpora/names/), trained a 2-layer LSTM and generated some.

To my amusement many fun unique names come out and 90% of them are not found in the training data. Here are 100 example samples that do not occur in training data:

Rudi

Levette

Berice

Lussa

Hany

Mareanne

Chrestina

Carissy

Marylen

Hammine

Janye

Marlise

Jacacrie

Hendred

Romand

Charienna

Nenotto

Ette

Dorane

Wallen

Marly

Darine

Salina

Elvyn

Ersia

Maralena

Minoria

Ellia

Charmin

Antley

Nerille

Chelon

Walmor

Evena

Jeryly

Stachon

Charisa

Allisa

Anatha

Cathanie

Geetra

Alexie

Jerin

Cassen

Herbett

Cossie

Velen

Daurenge

Robester

Shermond

Terisa

Licia

Roselen

Ferine

Jayn

Lusine

Charyanne

Sales

Sanny

Resa

Wallon

Martine

Merus

Jelen

Candica

Wallin

Tel

Rachene

Tarine

Ozila

Ketia

Shanne

Arnande

Karella

Roselina

Alessia

Chasty

Deland

Berther

Geamar

Jackein

Mellisand

Sagdy

Nenc

Lessie

Rasemy

Guen

Gavi

Milea

Anneda

Margoris

Janin

Rodelin

Zeanna

Elyne

Janah

Ferzina

Susta

Pey

Castina

Here is a much bigger sample: http://cs.stanford.edu/people/karpathy/namesGenUnique.txt

Some of my favorites include “Baby” (haha), “Killie”, “Char”, “R”, “More”, “Mars”, “Hi”, “Saddie”, “With” and “Ahbort”. Well that was fun.

One thought on “Name generator, trained on a baby names book.

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe without commenting