char-rnn is a classic codebase for training multi-layer recurrent neural networks on raw text to build character-level language models that learn to predict the next character in a sequence. It supports common recurrent architectures including vanilla RNNs as well as LSTM and GRU variants, letting users compare behavior and output quality across model types. It is straightforward: you provide a single text file, train the model to minimize next-character prediction loss, then sample from the trained network to generate new text one character at a time in the style of the dataset. The project is designed for experimentation, offering tunable settings for depth, hidden size, dropout, sequence length, and sampling temperature to control creativity and coherence. It is frequently used as a learning project for understanding sequence modeling, recurrent training dynamics, and the practical details of text generation.

Features

  • Character-level language model training from a single text file
  • Multi-layer RNN, LSTM, and GRU architecture options
  • Text sampling and generation with controllable randomness
  • Configurable model depth, hidden size, and regularization
  • Training workflow designed for quick experimentation
  • Classic reference implementation for sequence modeling

Project Samples

Project Activity

See All Activity >

Follow char-rnn

char-rnn Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of char-rnn!

Additional Project Details

Programming Language

Lua

Related Categories

Lua Neural Network Libraries

Registered

2026-03-02