whatisgithub

What is recurrentjs?

karpathy/recurrentjs — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2016-11-04

984HTMLAudience · developerComplexity · 4/5DormantSetup · moderate

In one sentence

RecurrentJS is a JavaScript library for building and training RNN and LSTM neural networks directly in the browser, letting you generate text like character-by-character sentence prediction.

Mindmap

mindmap
  root((recurrentjs))
    What it does
      Builds neural networks
      Runs in the browser
      Automatic differentiation
    Tech stack
      JavaScript
      Graph computation
      RNN and LSTM
    Use cases
      Predict next character
      Generate text
      Prototype sequence models
    Audience
      Researchers
      Students
      Web developers
    Tradeoffs
      Beta quality
      Needs ML knowledge

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Train a character-level text generator that runs entirely in the browser, no backend needed.

USE CASE 2

Prototype a sequence model quickly to demo how RNNs and LSTMs learn from data.

USE CASE 3

Study automatic differentiation and backpropagation by reading and running the library's Graph code live.

USE CASE 4

Add text generation or sequence prediction features to an interactive web project.

What is it built with?

JavaScriptHTML

How does it compare?

karpathy/recurrentjscodingdocs/typora-markdown-resumegustavoguanabara/projeto-site
Stars984907902
LanguageHTMLHTMLHTML
Last pushed2016-11-042024-07-20
MaintenanceDormantStale
Setup difficultymoderateeasyeasy
Complexity4/51/51/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Beta-quality code, requires understanding neural networks and backpropagation to use effectively.

Copy-paste prompts

Prompt 1
Show me how to build a character-level RNN with recurrentjs and train it on a sample text file.
Prompt 2
Explain how recurrentjs's Graph system performs automatic differentiation through matrix operations.
Prompt 3
Help me set up a loss function and training loop for an LSTM model using recurrentjs.
Prompt 4
Walk me through the demo where recurrentjs predicts the next letter in a sentence.
Prompt 5
Compare using recurrentjs's RNN versus LSTM architecture for a sequence-prediction task.

Frequently asked questions

What is recurrentjs?

RecurrentJS is a JavaScript library for building and training RNN and LSTM neural networks directly in the browser, letting you generate text like character-by-character sentence prediction.

What language is recurrentjs written in?

Mainly HTML. The stack also includes JavaScript, HTML.

Is recurrentjs actively maintained?

Dormant — no commits in 2+ years (last push 2016-11-04).

How hard is recurrentjs to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is recurrentjs for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.