Skip to content

NLP-paper-with-code/transformer

Repository files navigation

Transformer

It's implementation of Transformer in Attention is all you need. after 10 epoch receive BLUE score of 35.08

transformer

Requirement

  • python 3.5+
  • pytorch 1.5

How to understand Transformer

Before dive into transformer, I recommend you to watch Illustrated Guide to Transformers Neural Network: A step by step explanation, the best explanation that I found in the Internet.

  1. attention
  2. mask (source and target)
  3. encoder
  4. decoder
  5. inference

Reference

  1. Transformers from scratch
  2. 作って理解する Transformer / Attention
  3. Transformerのデータの流れを追ってみる

About

It's implementation of Transformer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published