Minimalist NMT toolkit for educational purposes
Top 49.8% on sourcepulse
Joey NMT is a minimalist, educational framework for implementing and understanding Neural Machine Translation (NMT) architectures like RNNs and Transformers in PyTorch. It targets novices and researchers seeking to grasp NMT building blocks and modification possibilities without the complexity of state-of-the-art systems.
How It Works
Joey NMT provides clean implementations of core NMT components, including RNN and Transformer encoders/decoders, various attention mechanisms (MLP, Dot, Multi-Head, Bilinear), and tokenization strategies (word, BPE, character). Its design prioritizes readability and educational value, allowing users to easily modify architectures and training procedures.
Quick Start & Requirements
python -m pip install joeynmt
git clone https://github.com/joeynmt/joeynmt.git && cd joeynmt && python -m pip install -e .
python -m pip install --upgrade torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
1 day