Multi-layer Recurrent Neural Networks (LSTM, RNN) for word-level language models in Python using TensorFlow. Mostly reused code from hunkim/word-rnn-tensorflow which was inspired from sherjilozair/char-rnn-tensorflow and Andrej Karpathy's char-rnn.
Jauni sēju Trīs dēli,
Jāņa ir pate ozolos.
Jau Bitītēm Abi tavā tīrumā:
Kam tev vakarā.
Ne asu Solīj'
Trūka, mirdz rillināja .
Vienam māti meita, čīkstēdama,
Tur Jānīša āboliņu.
- [Python 3] (https://www.python.org/)
- [Tensorflow] (https://www.tensorflow.org/)
- [NodeJS] (https://nodejs.org/en/)
- Run
npm install
incrawler
directory - Run
node crawler.js
incrawler
directory to crawl for dainas - Run
node agregator.js
incrawler
directory to agregate dainas into one file - Copy
out.txt
to main directory asinput.txt
Run python train.py --num_epochs=150 --data_dir=""
Run python sample.py