Skip to content

xenova/microgpt.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microgpt.js

The most atomic way to train and inference a GPT in pure, dependency-free JavaScript. This repository covers the complete algorithm. Everything else is just efficiency.

Adapted from Karpathy's microgpt.py. This implementation matches the original exactly, but now can run in JavaScript environments, including browsers and Node.js.

py-vs-js

About

The most atomic way to train and inference a GPT in pure, dependency-free JavaScript. This repository covers the complete algorithm. Everything else is just efficiency. Inspired by Karpathy's microgpt.py.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors