Skip to content

This is the pytorch version of implementation of the Transformer

Notifications You must be signed in to change notification settings

ZheyuHarry/Transformer-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transformer from scratch

This is the pytorch version of implmenting transformer from scratch

Transformer is a powerful sequence transduction model , and we here implement every detail of it. And we trained my model to be capable of translating from English to Chinese.

TODO:

  • Preprocess the EN-ZH Dataset
  • Construct the training part of the transformer
  • Optimize the hyperparameters to obtain the best model
  • Add interface that we can use to do the translation
  • Architecture of Transformer

    Overall architecture of the model:

     Transformer is an encoder-decoder structure like this

    About

    This is the pytorch version of implementation of the Transformer

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages