影片高階EN1.6 萬 次觀看
Build A Reasoning Model From Scratch 4: Inference Scaling 1 (Temperature, Top-p, Self-Consistency)
看影片(在新分頁開啟原站)連到 YouTube・Sebastian Raschka
摘要
深入探討推論時擴展(Inference-time Scaling)技術,涵蓋溫度調整(Temperature)、Top-p 過濾與多項式取樣,並以此實作自一致性(Self-consistency)投票機制。講者詳細解說如何透過修改生成函式來引入這些隨機性,並展示在數學題庫(MATH-500)上,結合思維鏈提示與自一致性如何顯著提升模型準確率。
This video covers inference-time scaling techniques including temperature scaling, top-p filtering, and self-consistency voting to improve LLM accuracy on math problems.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 詳細解說溫度調整與 Top-p 過濾如何改變 Token 取樣分佈。
- 實作自一致性投票,透過多次生成並選取多數答案來提高準確度。
- 展示在 MATH-500 資料集上,推論擴展技術對模型效能的實際提升效果。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction and recap
- 00:31Training-time and inference-time scaling
- 07:52What we'll implement
- 11:47Notebook setup and model loading
- 17:43Building a flexible text generation function
- 24:40Chain-of-thought prompting
- 28:26Sampling and output diversity
- 33:43Next-token logits and greedy decoding
- 38:20Temperature scaling step by step
- 42:46Softmax and token probabilities
- 47:42Multinomial sampling
- 54:51Adding temperature sampling to text generation
- 59:31Top-p filtering step by step
- 1:10:23Adding top-p filtering to text generation
- 1:13:43Sampling and LLM watermarking
- 1:16:01Self-consistency and majority voting
- 1:20:36Implementing self-consistency
- 1:29:02MATH-500 results
- 1:35:01Accuracy and compute tradeoffs
- 1:36:50Next steps and self-refinement
提到的工具與公司
- PyTorch
- MATH-500
適合誰看
適合希望深入理解大型語言模型推論機制、掌握取樣技術並實作自一致性投票的開發者與研究者。
摘要依據
- 講者
- Sebastian Raschka
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.51
- 新鮮
- 0.76
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Build A Reasoning Model From Scratch 5: Inference Scaling 2 (Logprob Scoring, Self-Refinement)影片 ・ Sebastian Raschka ・ 1 小時 9 分 ・
- Categories of Inference-Time Scaling for Improved LLM Reasoning文章 ・ Sebastian Raschka(部落格) ・
- CMU LLM Inference (7): Chain of Thought and Intermediate Steps影片 ・ Graham Neubig ・ 55 分鐘 ・
- The State Of LLMs 2025: Progress, Problems, and Predictions文章 ・ Sebastian Raschka(部落格) ・
- Why are diffusion LLMs so fast?影片 ・ Julia Turc ・ 22 分鐘 ・
- Temperature & Top-p:掌控大模型的创造力开关影片 ・ 马克的技术工作坊 ・ 17 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
