Sequence to Sequence English
to German
language translation with PyTorch
- Install Pytorch from here
- Install other dependencies from the
requirements.txt
- Run the following commands in your terminal:
python -m spacy download en_core_web_sm
python -m spacy download de_core_news_sm - Run the
SRC
notebook and enjoy to noise of your system fans.
NOTE: The code provided is tested on a Windows 11
machine with NVIDIA RTX 3070
GPU and CUDA 12.1
.
[1] Attention is all you need paper.
[2] The annotated transformer.