影片高階EN4.4 萬 次觀看
Build an LLM from Scratch 4: Implementing a GPT model from Scratch To Generate Text
看影片(在新分頁開啟原站)連到 YouTube・Sebastian Raschka
摘要
由 Sebastian Raschka 講解如何從零開始編碼 GPT 模型架構,作為其書籍《Build a Large Language Model from Scratch》的補充教學。內容涵蓋了層歸一化(LayerNorm)、GELU 激活函數、前饋神經網路(FFN)、殘差連接(Shortcut Connections)以及 Transformer Block 的完整實作細節。最後演示了如何利用訓練好的模型邏輯將輸出轉換為文字,並解釋了生成過程的迭代機制。
This video demonstrates how to code a GPT model architecture from scratch, covering LayerNorm, GELU activations, residual connections, and the Transformer block implementation.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 詳細實作 LayerNorm、GELU 與殘差連接等核心元件。
- 整合各模組編寫完整的 Transformer Block 與 GPT 模型。
- 演示文字生成流程並解釋模型輸出與 Token 的轉換。
章節
依話題轉折切分,標題由 AI 產生
提到的工具與公司
- PyTorch
- GELU
- LayerNorm
- GPT model
適合誰看
適合希望深入理解並手動實作大型語言模型架構的開發者。
摘要依據
- 講者
- Sebastian Raschka
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.38
- 新鮮
- 0.09
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Implementing GPT-2 From Scratch (Transformer Walkthrough Part 2/2)影片 ・ Neel Nanda ・ 1 小時 19 分 ・
- What I Learned From Implementing LLM Architectures From Scratch (And How to Get Started)影片 ・ Sebastian Raschka ・ 53 分鐘 ・
- Building LLMs from the Ground Up: A 3-hour Coding Workshop影片 ・ Sebastian Raschka ・ 2 小時 45 分 ・
- Coding a ChatGPT Like Transformer From Scratch in PyTorch影片 ・ StatQuest with Josh Starmer ・ 31 分鐘 ・
- Building GPT-2 in a Spreadsheet — Everything You Wanted to Know About LLMs (But Were Afraid to Ask)影片 ・ AI Tinkerers ・ 1 小時 16 分 ・
- Transformers, the tech behind LLMs | Deep Learning Chapter 5影片 ・ 3Blue1Brown ・ 27 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
