Skip to content

eyedealism/Simple-LibTorch-Realization-of-Transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-LibTorch-Realization-of-Transformer

Transformer in C++

There are probably one million python realizations of transformer, but definitely fewer ones in C++. So I implemented a very simple transformer model using LibTorch in C++, just as a learning exercise in deep learning and programming. It includes the model and data parts, as well as training and testing scripts. As I said, very simple.

Reference: Pytorch Transformer by Harvard NLP team

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages