Code Monkey home page Code Monkey logo

drow-nn's Introduction

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.

drow-nn's People

Contributors

redshiftzero avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.