/kor-to-eng-translation

Translator by transforemer and seq2seq (with attention mechanism) - Pytorch

Primary LanguagePython

Korean to English Translation

Translation task implementation with transformer and seq2seq attention mechanism with low level pytorch code

Tokennizer

  • Korean : pip install konlpy
  • English : pip install nltk

Architecture

BiLSTM Seq2Seq with Attention

  • Word Embedding
  • BiLSTM Encoder or Stacked LSTM Encoder
  • LSTM Decoder with Attention mechanism

Transformer

  • Positional Encoding + WordEmbedding
  • Multi-head Attention, Position-wise Fead Forward Network
  • ResNet + NormLayer

Refer

Start

pip3 install -r requirements.txt