/langmodel

Simple one-file implementation of a word-based language model that learns to predict the next word based on the previous one by training on a provided text dataset (Karpathy's Tiny Shakespeare in this case).

Primary LanguagePython

Stargazers