Tag: #llama
All published articles with this tag "llama". 6 items published.
- Cookbook · Advanced
Training Llama 3.2 1B with FP8 Quantization and GRPO Reinforcement Learning
Train Llama 3.2 1B using hardware FP8 quantization and GRPO: 4-layer reward shaping, vLLM weight sharing, and 60% VRAM reduction.
- 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.
- Research · Reinforcement Learning
LLaVA: Visual Instruction Tuning, Cross-Modal Projection, and PyTorch Architecture
Master LLaVA: visual instruction tuning, 2-stage cross-modal projection, CLIP/SigLIP feature alignment, AnyRes scaling, and PyTorch VLM pipelines.