Skip to content

b0bleet/teenypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

teenypt is a minimal GPT-2 implementation built with tinygrad.

Features

  • Pure Tinygrad implementation (no PyTorch or TensorFlow runtime)
  • Supports temperature-based and greedy sampling
  • Compact and easy to read (~200 lines)

Run from the command line:

$ python teenypt/teenypt.py --prompt "Once upon a time" --temperature 0.7
, I had been a member of a group that had been working on a project called "The Cool Girl." I had been reading about the various meanings of the word "cool" in the past.

Contributing

Talk is cheap, improve teenypt.

About

teenypt is a minimal GPT-2 implementation built with tinygrad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages