Skip to content

ZHANGWENTAI/MyTransformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyTransformer

Pytorch implement of Attention Is All You Need

Configuration

you can rewrite the file config.yaml to configure your training process or translation process.

Data

Using Multi30k dataset from torchtext, about how to use the dataset, this will help you.

Model

all details about implementation are in model.ipynb.

To_Do

  • It takes too long to translate long sentences. Optimize the beam search algorithm in Model/translator, the method translate_batch.
  • Surrport cuda

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published