Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.37 KB

README.md

File metadata and controls

34 lines (22 loc) · 2.37 KB

PyTorch Transformers

This repo contains tutorials covering transformer models using PyTorch 1.4 and TorchText 0.5 using Python 3.6.

If you find any mistakes with the code, 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

References

Here are some things I looked at while making these tutorials. Some of it may be out of date.