karpathy/char-rnn
Multi-layer Recurrent Neural Networks (LSTM, GRU, RNN) for character-level language models in Torch observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4122
- days_rel: n/a
- days_push: 1044
- n_releases_24m: 0
Adoption not part of the score
12095 stars · 2630 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
char-rnn is a Torch/Lua implementation of multi-layer recurrent neural networks (RNN, LSTM, GRU) for character-level language modeling. It trains on a plain text file to predict the next character and can then sample new text character by character.
Use cases
- train a character-level language model on a text corpus
- generate text in the style of a training file
- learn how LSTMs and GRUs are implemented
- experiment with recurrent neural networks on GPU
- reproduce the 'unreasonable effectiveness of RNNs' blog post results
When to choose
- you want the classic reference implementation of char-level RNNs for study or teaching
- you need a simple, well-known baseline for text generation experiments
- you are working in Torch/Lua with CUDA or OpenCL GPUs
When to avoid
- you need a maintained or production-ready framework - the repo points to torch-rnn as the preferred successor
- you work in Python with PyTorch/TensorFlow rather than Torch/Lua
- you need modern architectures like transformers or subword tokenization
Facets
library · maturity maintenance
machine-learning deep-learning llm-training deep-learning machine-learning lua char-rnn lstm gru torch language-modeling text-generation natural-language-processing linux macos gpu
1 source
- readme: https://github.com/karpathy/char-rnn · fetched 2026-08-28 · 171251c93ce5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| karpathy/char-rnn | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="karpathy/char-rnn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem