amallia / pytorch-seq2seq

Tutorials on implementing a few sequence-to-sequence (seq2seq) models with PyTorch and TorchText.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyTorch Seq2Seq

This repo contains tutorials covering understanding and implementing sequence-to-sequence (seq2seq) models using PyTorch 1.0 and TorchText 0.3 using Python 3.6.

If you find any mistakes or disagree with any of the explanations, please do not hesitate to submit an issue. I welcome any feedback, positive or negative!

Getting Started

To install PyTorch, see installation instructions on the PyTorch website.

To install TorchText:

pip install torchtext

We'll also make use of spaCy to tokenize our data. To install spaCy, follow the instructions here making sure to install both the English and German models with:

python -m spacy download en
python -m spacy download de

Tutorials

About

Tutorials on implementing a few sequence-to-sequence (seq2seq) models with PyTorch and TorchText.

License:MIT License


Languages

Language:Jupyter Notebook 100.0%