一龍馬/AI 情報站讀懂消息背後的脈絡
星期日
搜尋
返回 X AI 快報列表

Sebastian Raschka 公布「Reasoning from scratch」第五回內容,涵蓋對數機率評分、序列似然、PyTorch token 機率計算,以及產生批判與修正版答案的自我精煉迴圈

本期第 7/29 則

中文摘要

章節表列出 MATH-500 評估,但貼文沒有提供分數或改善幅度,因此無法從這份證據判斷方法成效。

一龍馬判讀

這套內容把推論階段評分與自我精煉拆成可實作步驟,適合想理解底層機制的開發者;是否優於其他推論策略,仍需查看完整實驗設定與結果。

原文節錄

Sebastian Raschka · @rasbt

talking about log-probability scoring…

取得全文 · 不代表內容已獨立查證

查看原文
完整收錄文字與來源

Reasoning from scratch, round number 5! This time, talking about log-probability scoring (also a great fundamental concept for loss functions like cross-entropy in pre-training and distillation) and self-refinement. 00:00 Introduction and inference-time scaling recap 05:02 Loading the pretrained LLM 08:00 Comparing and scoring model answers 10:18 Building a rule-based scorer 17:53 Token probabilities and sequence likelihood 26:47 Computing token probabilities in PyTorch 30:12 Token indexing and shifted targets 37:27 Log probabilities and numerical stability 45:57 Scoring answers with average log probabilities 56:24 How self-refinement works 59:07 Generating critiques and revised answers 1:01:00 Implementing the self-refinement loop 1:05:57 MATH-500 evaluation results 1:07:35 Takeaways and next steps

收錄日期
2026-09-27
來源
Nitter RSS(公開貼文)
抓取時間
2026/09/27 11:41(台北)