← all repositories

philipperemy/keras-attention

A Keras/TensorFlow library providing attention layer implementations with Luong and Bahdanau score functions for deep learning models.

2.8k stars Python ML Frameworks
keras-attention
Velocity · 7d
+0.9
★ / day
Trend
steady
star history

This repository implements attention mechanisms as reusable Keras layers, supporting both multiplicative (Luong) and additive (Bahdanau) scoring methods. It integrates with TensorFlow 2.x and provides utilities for visualizing attention weights in neural network predictions. The library serves as a building block for sequence-to-sequence models and transformer architectures.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.