跳到主要內容
AI 武林
影片高階EN2.1 萬 次觀看

Build A Reasoning Model From Scratch 3: The Verifier for Evaluation and RL with Verifiable Rewards

來源 Sebastian Raschka人物 Sebastian Raschka

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

  1. 00:00Introduction
  2. 01:21Four approaches to LLM evaluation
  3. 07:20Verifiers and reinforcement learning with verifiable rewards
  4. 10:52Notebook setup and dependencies
  5. 13:43Section 3.1 Building a math verifier
  6. 18:57Section 3.2 Loading a pre-trained model to generate text
  7. 24:34Generating and displaying model answers
  8. 29:23Section 3.3 Implementing a wrapper for easier text generation
  9. 34:00Section 3.4 Extracting the final answer box
  10. 37:29Handling answers without boxes
  11. 43:17Section 3.5 Normalizing the extracted answer
  12. 46:56Section 3.6 Verifying mathematical equivalence
  13. 53:32Implementing the equality check
  14. 57:48Section 3.7 Grading answers
  15. 59:20Building and testing the answer grader
  16. 1:03:18Section 3.8 Loading the evaluation dataset (MATH-500)
  17. 1:07:51Section 3.9 Evaluating the model
  18. 1:08:34Prompt templates for evaluation
  19. 1:10:47Prompt sensitivity and memorization
  20. 1:13:55A minimal evaluation example
  21. 1:15:32Building the evaluation loop
  22. 1:20:27Comparing CPU, MPS, and CUDA results
  23. 1:21:54Reproducibility and floating-point math
  24. 1:23:37Base model vs. reasoning model
  25. 1:25:30Summary and next steps

提到的工具與公司

  • Qwen3
  • SymPy
  • MATH-500

適合誰看

希望學習如何實作大型語言模型評估驗證器與強化學習基礎流程的開發者。

摘要依據

講者
Sebastian Raschka
依據
人工字幕

為什麼排在這裡

人氣
0.54
新鮮
0.75

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

這個來源最近的內容

Sebastian Raschka 的所有內容

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