影片高階EN2.1 萬 次觀看
Build A Reasoning Model From Scratch 3: The Verifier for Evaluation and RL with Verifiable Rewards
看影片(在新分頁開啟原站)連到 YouTube・Sebastian Raschka
摘要
詳細介紹如何從零開始構建數學驗證器,用於評估大型語言模型並支援可驗證獎勵的強化學習。內容涵蓋四種評估方法、載入預訓練模型、提取並正規化答案、利用 SymPy 進行數學等價性檢查,以及使用 MATH-500 資料集進行實戰評估。
This video demonstrates how to build a verifier from scratch to evaluate LLMs on math benchmarks and enable reinforcement learning with verifiable rewards, covering answer extraction, normalization, and evaluation on the MATH-500 dataset.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 介紹四種大型語言模型評估方法,並聚焦於基於驗證器的客觀評估。
- 實作從模型輸出中提取答案、正規化格式及數學等價性檢查的驗證器。
- 在 MATH-500 資料集上測試基礎模型與推理模型的效能差異。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Introduction
- 01:21Four approaches to LLM evaluation
- 07:20Verifiers and reinforcement learning with verifiable rewards
- 10:52Notebook setup and dependencies
- 13:43Section 3.1 Building a math verifier
- 18:57Section 3.2 Loading a pre-trained model to generate text
- 24:34Generating and displaying model answers
- 29:23Section 3.3 Implementing a wrapper for easier text generation
- 34:00Section 3.4 Extracting the final answer box
- 37:29Handling answers without boxes
- 43:17Section 3.5 Normalizing the extracted answer
- 46:56Section 3.6 Verifying mathematical equivalence
- 53:32Implementing the equality check
- 57:48Section 3.7 Grading answers
- 59:20Building and testing the answer grader
- 1:03:18Section 3.8 Loading the evaluation dataset (MATH-500)
- 1:07:51Section 3.9 Evaluating the model
- 1:08:34Prompt templates for evaluation
- 1:10:47Prompt sensitivity and memorization
- 1:13:55A minimal evaluation example
- 1:15:32Building the evaluation loop
- 1:20:27Comparing CPU, MPS, and CUDA results
- 1:21:54Reproducibility and floating-point math
- 1:23:37Base model vs. reasoning model
- 1:25:30Summary and next steps
提到的工具與公司
- Qwen3
- SymPy
- MATH-500
適合誰看
希望學習如何實作大型語言模型評估驗證器與強化學習基礎流程的開發者。
摘要依據
- 講者
- Sebastian Raschka
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.54
- 新鮮
- 0.75
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- 超越 Google/OpenAI?DeepSeek-Math V2 论文详解:一图揭秘最强模型炼成记影片 ・ EZ.Encoder Academy ・ 17 分鐘 ・
- Stanford CS329A Self-Improving AI Agents | Part 3 | Robust Verification影片 ・ Stanford Online ・ 1 小時 13 分 ・
- Reinforcement Learning with Verifiable Rewards - Teaching LLMs to Solve Problems影片 ・ Adam Lucek ・ 40 分鐘 ・
- Rubric-Based Rewards for RL文章 ・ Deep (Learning) Focus(Cameron R. Wolfe) ・
- Building an RL theorem-proving workflow on Modal文章 ・ Modal Blog ・
- Build A Reasoning Model From Scratch 6: Reinforcement Learning 1 (Implementing GRPO for RLVR)影片 ・ Sebastian Raschka ・ 1 小時 27 分 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
