LLM Architecture

TL;DR: This write-up introduces fundamental concepts of LLMs, with Llama implemented from scratch for demonstration.