← all repositories

karpathy/char-rnn

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

12.1k stars Lua Language ModelsML Frameworks
char-rnn
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.