看影片(在新分頁開啟原站)連到 YouTube・Trelis Research
摘要
示範如何以約 100 美元成本,在四小時內從零訓練一個 5 億參數的大型語言模型。內容涵蓋使用 RunPod 部署環境、訓練自定義 Tokenizer、執行預訓練、中訓練及後訓練,並展示如何將模型推送到 HuggingFace 及執行聊天介面。
This tutorial demonstrates training a 500M parameter LLM from scratch for about $100 in four hours, covering tokenizer training, pre-training, mid-training, and post-training using RunPod and HuggingFace.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 使用 RunPod 模板快速部署並設定環境變數。
- 執行包含 Tokenizer 訓練與多階段模型訓練的指令碼。
- 將訓練好的模型、最佳化器及報告推送到 HuggingFace Hub。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Train an LLM from scratch with $100 (Nanochat by Karpathy)
- 01:44One-click Runpod Template
- 04:46Running speedrun.sh script with wandb
- 07:55Tokenizer Training (Byte Pair Encoding, BPE)
- 10:52Pretraining on 10B tokens of fine-web edu
- 15:15Pre-training evaluation and Mid-training on Smoltalk
- 17:33Instructions on pushing and pulling checkpoints to / from HuggingFace Hub
- 18:49Instructions for running the chat interface / UI
- 21:15Post-training on benchmark training/aux splits
- 23:11Demo of running the chat interface
- 25:29Pushing the model, optimizer, report and tokenizer to hub
- 28:20Resources: Model and Repo
提到的工具與公司
- RunPod
- HuggingFace
- GSM-8K
- ARC-Easy
- Smoltalk
- CUDA
適合誰看
適合希望實作大型語言模型訓練流程的開發者或 AI 學習者。
摘要依據
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.22
- 新鮮
- 0.25
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- I trained a 115M model from scratch to use tools影片 ・ Chris Hay ・ 28 分鐘 ・
- Building LLMs from the Ground Up: A 3-hour Coding Workshop影片 ・ Sebastian Raschka ・ 2 小時 45 分 ・
- Build an LLM from Scratch 5: Pretraining on Unlabeled Data影片 ・ Sebastian Raschka ・ 2 小時 37 分 ・
- The model that didn't exist, so you made it yourself文章 ・ Hugging Face Blog ・
- 一个人、两周、数百美元,如何训出登顶 Hugging Face 的模型 | 对谈研究员逯雨鑫Podcast ・ 42章经 ・ 47 分鐘 ・
- 肝了6个月的AudioLLM,开源了【100亿模型计划】影片 ・ 跟李沐学AI ・ 24 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
