Tag: #Attention
All published articles with this tag "Attention". 3 items published.
#
← All Tags
Attention
3 published items
- Research · Deep Learning
Rotary Position Embedding (RoPE) Implementation in PyTorch
A PyTorch implementation of Rotary Position Embedding (RoPE): inverse frequency buffer, precomputed cos/sin cache, query/key rotation, and shape verification.
- Research · Deep Learning
Transformer Encoder Implementation in PyTorch
A compact PyTorch implementation of a Transformer encoder with multi-head self-attention, sinusoidal positional encoding, feed-forward layers, residual connections, and padding masks.
- Research · Reinforcement Learning
The Transformer Architecture: Scaled Dot-Product Attention, Multi-Head Projections, and PyTorch Engine
Master the Transformer: scaled dot-product attention, multi-head projections, sinusoidal & RoPE encodings, Pre-LN vs Post-LN stability, and PyTorch engines.
Explore Other Tags