Tag: #Transformer
All published articles with this tag "Transformer". 12 items published.
- 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 · Multimodal Learning
LLaVA (Large Language and Vision Assistant) Implementation in PyTorch
A PyTorch implementation of LLaVA: a ResNet-50 vision encoder, a Transformer-based language model, a custom cross-attention fusion layer, and an enhanced tokenizer for image-grounded text generation.
- Research · Reinforcement Learning
Diffusion Transformers (DiT): Architecture, adaLN-Zero Modulation, and Latent Scaling Laws
Master Diffusion Transformers (DiT): latent patchification, adaLN-Zero conditioning, multi-modal MMDiT joint attention, scaling laws, and PyTorch pipelines.