Transformer is a TensorFlow implementation of the architecture introduced in the Attention Is All You Need paper. It was created as a readable and relatively modular reference for understanding and experimenting with Transformer-based machine translation. The updated implementation corrects issues involving masking, positional encoding, and other parts of the original code. It adds components such as byte-pair encoding and shared weight matrices. Training and evaluation are demonstrated with the IWSLT 2016 German-to-English translation dataset. The repository includes preprocessing, training, inference, evaluation, configurable hyperparameters, pretrained checkpoints, and BLEU-based translation results.
Features
- Transformer attention architecture
- TensorFlow-based implementation
- Byte-pair encoding support
- Shared embedding weight matrices
- Training and inference scripts
- BLEU translation evaluation
Categories
LibrariesLicense
Apache License V2.0Follow transformer
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of transformer!