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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow transformer

transformer Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of transformer!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2 days ago