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

Distillation: Can A Small Model Beat A Bigger Model?

來源 Prompt Engineering

看影片(在新分頁開啟原站)連到 YouTube・Prompt Engineering

摘要

探討如何用 Qwen 27B 大模型透過知識蒸餾教導 Qwen 4B 小模型,並測試三種方法:訓練於教師答案、機率分佈及在策略蒸餾。結果顯示雖能最佳化模型效率,但最終準確率仍受限於小模型本身的知識上限。

This video explores using Qwen 27B to teach Qwen 4B via knowledge distillation, testing three methods to see if they can break previous performance ceilings and optimize efficiency.

摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。

重點

  • 三種蒸餾方法均無法突破 58% 的準確率天花板。
  • 在策略蒸餾能精確指出程式碼錯誤,但需避免過度檢查。
  • 建議先做「四次嘗試測試」評估模型潛力再投入訓練。

章節

依話題轉折切分,標題由 AI 產生

  1. 00:00Can Qwen 27B teach Qwen 4B?
  2. 00:25What RL did last time, and the wall
  3. 01:47The short answer
  4. 02:23The setup: SmolDataEnvs and a strict checker
  5. 04:03Why RL stopped helping
  6. 04:48How distillation works
  7. 05:24Why the teacher's probabilities matter
  8. 06:17Three ways to distill
  9. 08:10Two DGX Sparks: teacher and student
  10. 08:53Method 1: train on the teacher's answers
  11. 09:55Sponsor: Dex
  12. 11:00Method 2: train on the teacher's probabilities
  13. 12:14Why the probabilities added nothing
  14. 13:32The limit of learning from transcripts
  15. 13:55Method 3: on-policy distillation
  16. 14:38A real run, graded token by token
  17. 15:43Did it break the 58% wall?
  18. 17:13All six methods on one chart
  19. 18:12What the 4B model already knows
  20. 19:41The 4-tries test
  21. 20:47Caveats
  22. 21:04Two gotchas: tokenizers and vLLM memory
  23. 22:06What should you use?

提到的工具與公司

適合誰看

適合希望了解大模型知識蒸餾技術、評估小模型潛力或最佳化本地部署效率的開發者與研究者。

摘要依據

依據
自動字幕

為什麼排在這裡

人氣
0.77
新鮮
0.89

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

這個來源最近的內容

Prompt Engineering 的所有內容

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