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

Live coding Jev from Scratch | Understanding Qwen architecture

來源 Neural Breakdown with AVB人物 AVB

看影片(在新分頁開啟原站)連到 YouTube・Neural Breakdown with AVB

摘要

AVB 透過直播實作,演示如何將 Qwen 3.6B 模型改造成 JEV 決策架構。內容涵蓋從 PyTorch 與 Hugging Face Transformers 的模型設定,到透過調整 attention mask 與 positional ids 來解決選項順序不變性問題。最後展示如何提取選擇嵌入並建立分類頭以輸出決策機率。

A live coding session demonstrating how to adapt a Qwen 3.6B model into a JEV architecture by manipulating attention masks and positional IDs to ensure choice-order invariance.

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

重點

  • 使用 Qwen 3.6B 模型並移除 LM head 以適應分類任務。
  • 透過重置 positional ids 與修改 attention mask 實現選項順序不變。
  • 實作自注意力層與分類頭來計算各選項的決策機率。

章節

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

  1. 00:00Introduction/Advice for new devs
  2. 10:05Jev project
  3. 13:21Decision data set creation
  4. 17:16Understanding model inputs
  5. 23:54Language model architecture
  6. 35:29Data structure and training
  7. 51:57Live coding: Model setup
  8. 59:43Input ids and attention masks
  9. 1:13:56Positional indexing strategy
  10. 1:30:31Handling choice order invariance
  11. 2:04:11Attention mask implementation
  12. 2:52:46Final architecture and testing

提到的工具與公司

適合誰看

適合希望深入理解 Transformer 內部機制、想從頭實作決策模型或對 JEV 架構感興趣的開發者。

摘要依據

講者
AVB
依據
自動字幕

為什麼排在這裡

人氣
0.51
新鮮
0.78

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

這個來源最近的內容

Neural Breakdown with AVB 的所有內容

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