Skip to content

A character LSTM based on Andrej Karpathy's "The Unreasonable Effectiveness of Recurrent Neural Networks"

Notifications You must be signed in to change notification settings

KieranMcCool/CharLSTM-PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repo is a PyTorch implementation of Andrej Karpathy's Char-LSTM.

How to use

I haven't included the training data in the repo as the Tiny-Shakespeare dataset doesn't belong to me and I don't want to get in trouble for distributing the entire works of Shakespeare on Github, but the version Karpathy used can be downloaded from here

You don't have to use the Shakespeare data, it will work with any text file, just make sure to update the path to the file in main.py.

Once you've got this you can train a model by simply running ./main.py

About

A character LSTM based on Andrej Karpathy's "The Unreasonable Effectiveness of Recurrent Neural Networks"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages