podqast
Machine Learning GuideOCDevelAll episodes

MLG 035 Large Language Models 2

45 min
Next episodeMLG 036 Autoencoders1h 06m
Get its new episodes on Latest. No account

At inference, large language models use in-context learning with zero-, one-, or few-shot examples to perform new tasks without weight updates, and can be grounded with Retrieval Augmented Generation (RAG) by embedding documents into vector databases for real-time factual lookup using cosine similarity. LLM agents autonomously plan, act, and use external tools via orchestrated loops with persistent memory, while recent benchmarks like GPQA (STEM reasoning), SWE Bench (agentic coding), and MMMU (multimodal college-level tasks) test performance alongside prompt engineering techniques such as chain-of-thought reasoning, structured few-shot prompts, positive instruction framing, and iterative self-correction.
Links • Notes and resources at ocdevel.com/mlg/mlg35

In-Context Learning (ICL) • Definition: LLMs can perform tasks by learning from examples provided directly in the prompt without updating their parameters. • Types: • Zero-shot: Direct query, no examples provided.

Retrieval Augmented Generation (RAG) and Grounding • Grounding: Connecting LLMs with external knowledge bases to supplement or update static training data. • Motivation: LLMs' training data becomes outdated or lacks proprietary/specialized knowledge.

LLM Agents • Overview: Agents extend LLMs by providing goal-oriented, iterative problem-solving through interaction, memory, planning, and tool usage.

More from Machine Learning Guide