LLM Foundations