Getting a baby is probably one of the biggest life changing event in anyones life. It turns out there are many things to start thinking of. But arguably the most important thing is the name of your unborn child. When I got the news that I would be a dad by the end of the year, I knew what to do. Instead of thinking about the baby room or start researching strollers, I started looking into Recurrent Neural Networks to pick a name, because who wouldn't, right? Right?
In this repository, we generate babynames (for girls) with a Recurrent Neural Network. The model is inspired by this Github repository from Yan Gobeil, who used it to generate Pokemon names.
There are two different notebooks in this repository.
generate_babynames_complete.ipynb
: This notebook shows the process from data sources to trained RNN including generated baby names.generate_babynames_quick.ipynb
: The other notebook removes all the data processing and allows to quickly generate baby names from a pretrained model.
Both notebooks can be run entirely. The required files are in the folders.
A list of 100+ names can be found in the folder model_output
.
Although the notebooks focus on generating girl names it would be easy to generate names for a boy. In generate_babynames_complete.ipynb you can where I found the datasets. All input datasets have two columns: Naam
(key column) and Aantal
(mostly for additional analyses purposes).
I recommend to run the complete notebook with a GPU. The GPU will significantly speed up the model fitting. You can find the complete notebook here and the minimal notebook to just generate names here.
To use the notebooks, copy them to your personal Drive. From there you can edit and run the cells.