跳到主要內容
AI 武林
影片進階EN4.8 萬 次觀看

LLMs for Agent Builders: Context Engineering | Stanford CS329Z Lecture 2 with Michael Ryan

來源 Stanford Online

看影片(在新分頁開啟原站)連到 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 產生

  1. 00:00Introduction: the LLM stack
  2. 03:57What is a language model?
  3. 07:46Sampling: greedy, top-p, top-k & temperature
  4. 16:03Transformer architecture & self-attention
  5. 28:27Attention vs. recurrence & linear attention
  6. 36:01Pretraining & mid-training
  7. 44:21Post-training: SFT, RLHF & RLVR
  8. 47:33Training LLMs for coding agents
  9. 49:11Q&A: long-horizon data
  10. 52:30Inference: prefill, decode & KV cache
  11. 59:56Reasoning models & test-time scaling
  12. 1:04:58Structured outputs & constrained decoding
  13. 1:10:12Context engineering & context rot
  14. 1:16:03Recursive language models

提到的工具與公司

適合誰看

希望深入理解 LLM 內部機制並學習如何建構高效能 AI 代理的開發者或研究者。

摘要依據

依據
自動字幕

為什麼排在這裡

人氣
0.89
新鮮
0.93

在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算

這個來源最近的內容

Stanford Online 的所有內容

摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)