影片進階EN4.8 萬 次觀看
LLMs for Agent Builders: Context Engineering | Stanford CS329Z Lecture 2 with Michael Ryan
看影片(在新分頁開啟原站)連到 YouTube・Stanford Online
摘要
史丹福 CS329Z 課程講師 Michael Ryan 深入解析大型語言模型(LLM)的堆疊架構,涵蓋從工程層到應用層的核心概念。內容詳述了取樣策略、Transformer 注意力機制、訓練流程(預訓練至後訓練)以及推論最佳化技術。最後探討了如何透過結構化輸入輸出與情境工程,有效設計能處理長上下文與複雜任務的 AI 代理系統。
This Stanford lecture covers the LLM stack, decoding strategies, transformer architectures, training pipelines, and inference optimizations, concluding with practical context engineering for building effective AI agents.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 解析 LLM 堆疊架構:工程、適配與應用三層核心概念。
- 詳述取樣策略、注意力機制及推論最佳化(KV Cache、猜測式解碼)。
- 實戰情境工程:避免上下文腐化與設計高效 AI 代理系統。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction: the LLM stack
- 03:57What is a language model?
- 07:46Sampling: greedy, top-p, top-k & temperature
- 16:03Transformer architecture & self-attention
- 28:27Attention vs. recurrence & linear attention
- 36:01Pretraining & mid-training
- 44:21Post-training: SFT, RLHF & RLVR
- 47:33Training LLMs for coding agents
- 49:11Q&A: long-horizon data
- 52:30Inference: prefill, decode & KV cache
- 59:56Reasoning models & test-time scaling
- 1:04:58Structured outputs & constrained decoding
- 1:10:12Context engineering & context rot
- 1:16:03Recursive language models
提到的工具與公司
適合誰看
希望深入理解 LLM 內部機制並學習如何建構高效能 AI 代理的開發者或研究者。
摘要依據
- 依據
- 自動字幕
為什麼排在這裡
- 人氣
- 0.89
- 新鮮
- 0.93
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Stanford CME295 Transformers & LLMs | Autumn 2026 | Lecture 6 - AI Agents影片 ・ Stanford Online ・ 1 小時 41 分 ・
- CMU AI Agents 2026: 3. Long Context Modeling for Agents影片 ・ Graham Neubig ・ 1 小時 16 分 ・
- Context Engineering:概念与技术实现深度解析影片 ・ 马克的技术工作坊 ・ 15 分鐘 ・
- AI Agent (1/3):核心技術 Context Engineering 基本概念解說影片 ・ Hung-yi Lee ・ 53 分鐘 ・
- Stanford CME295 Transformers & LLMs | Autumn 2026 | Lecture 3 - LLM training影片 ・ Stanford Online ・ 1 小時 45 分 ・
- Anthropic, OpenAI & Thoughtworks on Context Engineering影片 ・ AI Native Dev ・ 10 分鐘 ・
這個來源最近的內容
- LLM-as-a-Judge: How to Grade AI Agents | Stanford CS329Z Lecture 13 with John Yang ・ 影片 ・ 1 小時 20 分
- Andrew Ng on Building AI Agents | Stanford CS329Z Fireside Chat with Andrew Ng & Diyi Yang ・ 影片 ・ 1 小時 11 分
- How to Evaluate AI Agents: Benchmark Design | Stanford CS329Z Lecture 12 with John Yang ・ 影片 ・ 1 小時 21 分
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
