This is a repository that contains Natural Language Processing algorithms in PyTorch. Algorithms are divided into three main topics: metrics, basic models, and applications, as shown below.
Each topic has its own Jupyter Notebook.
The author is responsible for the content and quality of the code. Please refer to The Learning Machine (thelearningmachine.ai) for any remarks.
Also check out gcunhase's NLPMetrics repository.
- RNN (vanilla, LSTM, GRU)
- Seq2Seq
- Transformer
- BERT
- Machine Translation with (1) Seq2Seq, (2)Transformer
- Summarization with (1) Seq2Seq, (2)Transformer
- Text Classification with (1) BERT, (2) RNN
- Image Caption with CNN-RNN