attention is a small educational repository containing TensorFlow and Keras implementations of the attention mechanism described in Attention Is All You Need. It provides separate source files for framework-specific implementations rather than a larger training application. The project was created as a compact reference for understanding and experimenting with attention layers. Its documented test environment uses Python 2.7, TensorFlow 1.8 or later, and Keras 2.2.4. The repository is no longer maintained for newer TensorFlow or Keras releases. Users needing updated implementations are directed toward related layers in the author's bert4keras project. Its main value today is as a concise historical example of early Transformer-style attention code.

Features

  • TensorFlow attention implementation
  • Keras attention implementation
  • Transformer-style attention mechanics
  • Compact standalone source files
  • Legacy TensorFlow and Keras compatibility
  • Educational reference for attention architectures

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow attention

attention Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of attention!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

12 hours ago