This is a Neural Machine Translation (NMT) tutorial with OpenNMT-py and relevant tools. It covers data preprocessing, model training, evaluation, and deployment. The tutorial was put together as part of a mentorship activity I organised in 2022.
Fundamentals
- Data Processing (notebook, repository)
- NMT Model Training with OpenNMT-py (notebook)
- Translation/Inference with CTranslate2 (code)
- MT Evaluation with BLEU (tutorial, repository)
- Simple Web UI (tutorial, repository)
Advanced Topics
- Running TensorBoard with OpenNMT (tutorial)
- Low-Resource Neural Machine Translation (tutorial)
- Domain Adaptation with Mixed Fine-tuning (tutorial)
- Overview of Domain Adaptation Techniques (tutorial)
- Multilingual Machine Translation (tutorial)
- Preparing Data for PyTorch Models with SentencePiece (tutorial)
- Using Pre-trained NMT models with CTranslate2 (tutorial)