Skip to content

Exr0nProjects/transformer_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

transformers python

A GPT-2 implementation using as vanilla python as possible, for future conversion to C++.

steps

  • implement the decoder stack (masked self-attention, feed forward) using numpy
  • implement transformer things (positional encoding)
  • standardize weight-loading schema, test to ensure that it's actually working
  • tally used numpy methods and implement a naive matrix class that supports thoes operations

carried by

About

GPT-2 inference in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages