Skip to content

neural network (LSTM) based drow name generator 🧝🏿🧝🏾

License

Notifications You must be signed in to change notification settings

redshiftzero/drow-nn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

drow-nn

This code generates new drow elf names by using the Keras high-level deep learning API to train a LSTM-based language model on a corpus of existing drow names found online.

Preprocessing data

make data

Drow names for training were taken from this list.

Training

make train

This can take a while, and if you want to use early stopping note that you should wait for all weights to be generated prior to sampling from the model.

Sampling

make sample

This will generate drow names, e.g.:

salaghar daereghel
uldor mulyl
stra yauntyrr
na t'erddrinnshar
zanle abaeir
charsintra yauthlo
yana milyek
im tanor'thal
ldyrrith faertala
beloil yauttir
ondril dlpragh
lin t'xorlarrin
brorn menarn
ch'net melarn
rin menafin
afein ahaurvhel'raugaust
aunirra daeneghel
jyrdyn meerimyder
irra hun'ett
iel dhaulssin
hardsira dhliriy
na mhalazza
barris melarn
ra doyrdlyn
daer yauthlo
uordrin fllifar
uornrae mhalazza
oilrn hllistyn
h tuin'tarl
arbreena t'lodra
ayas melarn
alannora mhlzek

Read More

Sutskever, Martens, and Hinton 2011 - Generating Text with Recurrent Neural Networks

Project Organization

β”œβ”€β”€ LICENSE
β”œβ”€β”€ Makefile           <- Makefile with commands like `make data` or `make train`
β”œβ”€β”€ README.md          <- The top-level README for developers using this project.
β”œβ”€β”€ data
β”‚Β Β  β”œβ”€β”€ external       <- Data from third party sources.
β”‚Β Β  β”œβ”€β”€ interim        <- Intermediate data that has been transformed.
β”‚Β Β  β”œβ”€β”€ processed      <- The final, canonical data sets for modeling.
β”‚Β Β  └── raw            <- The original, immutable data dump.
β”‚    β”‚
β”œβ”€β”€ models             <- Trained and serialized models, model predictions, or model summaries
β”‚
β”œβ”€β”€ requirements.txt   <- The requirements file for reproducing the analysis environment, e.g.
β”‚                         generated with `pip freeze > requirements.txt`
β”‚
β”œβ”€β”€ setup.py           <- makes project pip installable (pip install -e .) so src can be imported
β”œβ”€β”€ src                <- Source code for use in this project.
β”‚Β Β  β”œβ”€β”€ __init__.py    <- Makes src a Python module
β”‚   β”‚
β”‚Β Β  β”œβ”€β”€ data           <- Scripts to download or generate data
β”‚Β Β  β”‚Β Β  └── make_dataset.py
β”‚   β”‚
β”‚Β Β  β”œβ”€β”€ models         <- Scripts to train models and then use trained models to make
β”‚   β”‚   β”‚                 predictions
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ predict_model.py
β”‚Β Β  β”‚Β Β  └── train_model.py

Project based on the cookiecutter data science project template.

About

neural network (LSTM) based drow name generator 🧝🏿🧝🏾

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published