Skip to content

My own implementation of the transformer (for educational purposes)

Notifications You must be signed in to change notification settings

erika-n/transformers_from_scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transformers_from_scratch

My own implementation of the transformer (for educational purposes). Includes visualizations of the attention heads in action.

Usage

Run encode_data.py to encode a folder of text data

Run minature.py to train

Run vizualize.py to create visualizations

About

My own implementation of the transformer (for educational purposes)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages