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

Build & Train a GLM-5.3-Flash Model From Scratch with Python

來源 freeCodeCamp.org

看影片(在新分頁開啟原站)連到 freeCodeCamp.org

摘要

示範如何從零開始用 Python 訓練一個 2500 萬參數的 GLM-5.3 Flash 多模態語言模型,涵蓋分詞、預訓練與強化學習流程。觀眾可學習現代 AI 研究者的思維方式,透過設計實驗環境與設定目標來訓練模型,並理解混合專家、稀疏注意力等架構原理。

A tutorial on building and training a small multimodal language model from scratch using Python, covering pre-training and reinforcement learning techniques.

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

重點

  • 教導如何從零訓練一個小型多模態語言模型。
  • 深入解析混合專家、稀疏注意力與強化學習技術。
  • 學習如何設計實驗環境與設定研究目標。

章節

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

  1. 00:00Introduction & What We're Building
  2. 01:02The Modern AI Researcher Role & Asking Research Questions
  3. 04:50Tokenization & Byte-Level Vocabulary (Why Small Vocab Matters)
  4. 07:01Embeddings & Transformer Forward Pass Overview
  5. 08:53GLM-5.3 Architecture Overview & Model Specifications
  6. 10:25Code Walkthrough: Embeddings & Token Representation
  7. 11:56Manifold Constrained Hyperconnections (DeepSeek Residuals)
  8. 13:27Output Projection & Weight Tying
  9. 14:27RMSNorm & Normalization Layers
  10. 15:10Positional Encodings (RoPE vs. NoPE) & Sparse Attention Indexer
  11. 18:30Linear Attention (State-Space Memory) vs. Sparse Attention
  12. 20:46Mixture of Experts (MoE) & Shared Experts
  13. 23:06Adding Vision: Patch Embeddings & 2D RoPE
  14. 26:14Pre-Training Pipeline, Loss & Optimization (AdamW)
  15. 28:05Pre-Training Experiments: Data Diversity, Interleaving & Curriculums
  16. 30:27Post-Training & Reinforcement Learning (RL) Setup
  17. 34:44Designing Reward Functions & Group Relative Policy Optimization (GRPO)
  18. 37:37Parameter-Efficient RL Updates & Freezing Layers
  19. 39:35Evaluating RL Results: Task Gains & Regression Risks
  20. 40:47RL Hyperparameter Experiments: Group Size, Temperature & Seeds
  21. 43:03Summary & Advice for Aspiring AI Researchers

提到的工具與公司

  • Python
  • GLM-5.3-Flash
  • RoPE
  • RMSNorm
  • AdamW
  • GRPO

適合誰看

希望成為 AI 研究者或想深入理解大模型訓練原理的開發者。

摘要依據

依據
自動字幕

為什麼排在這裡

人氣
1.00
新鮮
1.00

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

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