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

Building LLMs from the Ground Up: A 3-hour Coding Workshop

來源 Sebastian Raschka人物 Sebastian Raschka

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

摘要

本工作坊由 Sebastian Raschka 帶領,從零開始實作大型語言模型(LLM)。內容涵蓋資料準備與分詞、PyTorch 架構編碼、預訓練流程、載入預訓練權重,以及使用 LitGPT 進行指令微調與評估。

A coding workshop demonstrating how to build, pretrain, and fine-tune large language models from scratch using PyTorch and LitGPT.

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

重點

  • 從頭實作 LLM 架構與資料處理流程
  • 演示預訓練迴圈與權過載入技巧
  • 使用 LitGPT 進行指令微調與效能評估

章節

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

  1. 00:00Workshop overview
  2. 02:17Part 1: Intro to LLMs
  3. 09:14Workshop materials
  4. 10:48Part 2: Understanding LLM input data
  5. 23:25A simple tokenizer class
  6. 41:03Part 3: Coding an LLM architecture
  7. 45:01GPT-2 and Llama 2
  8. 1:07:11Part 4: Pretraining
  9. 1:29:37Part 5.1: Loading pretrained weights
  10. 1:45:12Part 5.2: Pretrained weights via LitGPT
  11. 1:53:09Part 6.1: Instruction finetuning
  12. 2:08:21Part 6.2: Instruction finetuning via LitGPT
  13. 2:26:45Part 6.3: Benchmark evaluation
  14. 2:36:55Part 6.4: Evaluating conversational performance
  15. 2:42:40Conclusion

提到的工具與公司

適合誰看

希望深入理解 LLM 內部原理並具備程式實作能力的開發者。

摘要依據

講者
Sebastian Raschka
依據
人工字幕

為什麼排在這裡

人氣
0.51
新鮮
0.04

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

這個來源最近的內容

Sebastian Raschka 的所有內容

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