Tag: #Rotary Position Embedding
All published articles with this tag "Rotary Position Embedding". 3 items published.
#
← All Tags
Rotary Position Embedding
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
LLaMA Transformer Implementation in PyTorch
A from-scratch PyTorch implementation of the LLaMA-style Transformer: RMSNorm, Rotary Position Embeddings (RoPE), GQA-style multi-head attention with causal mask, SwiGLU MLP, and a stack of pre-norm decoder layers.
- Research · Reinforcement Learning
RoPE (Rotary Position Embedding): Mathematical Foundations, Complex Rotations, and PyTorch Architecture
Master RoPE (Rotary Position Embedding): complex rotation algebra, relative distance invariance proof, long-context scaling (YaRN), and PyTorch kernels.
Explore Other Tags