karpathy/char-rnn
Multi-layer recurrent neural network for character-level language modeling and text generation in Torch.

Velocity · 7d
+3.0
★ / day
Trend
→steady
star history
This repository implements multi-layer RNNs including LSTM and GRU variants for character-level language modeling in Lua/Torch. The model trains on a text file to predict the next character in a sequence, then generates new text by sampling character-by-character that resembles the training corpus. It supports GPU acceleration, mini-batches, and model checkpointing.