Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 600 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 600 Bytes

Name generator

A simple command line name generator based on Markov chains with memory and temperature sampling.

Also allows training own model. Examples for international first names are located in models/ directory.

Usage

Generate a name:

python namegen.py sample models/names_1.model --temperature=1.5

Train a new model:

python namegen.py train names.txt models/names_4.model --order=4

Acknowledgements

Trained international names model with data from Dominic Tarr's random-name project on Github.