看影片(在新分頁開啟原站)連到 YouTube・Trelis Research
摘要
介紹將 Karpathy 的 NanoChat 模型改造為遞迴模型,在相同計算量下將參數減少約一半。作者探討了遞迴架構如何允許在較小裝置上執行,並透過動態調整遞迴次數來實現適應性計算。影片包含理論架構、訓練策略(如 Poisson log-normal 取樣)及程式碼實作細節。
This video demonstrates transforming the NanoChat model into a recursive architecture to reduce parameters by half while maintaining performance, exploring adaptive compute and providing implementation details.
摘要、重點與章節標題由語言模型整理,細節(誰說的、數字、先後)可能有誤;要引用請以原始內容為準。
重點
- 將 20 層 Transformer 改為 4 層遞迴層,在相同計算量下參數減少約一半。
- 透過遞迴次數動態調整,可在推理時根據難易度分配更多計算資源。
- 分享訓練技巧與程式碼修改,包含處理 Torch Compile 與 KV Cache 的策略。
章節
依話題轉折切分,標題由 AI 產生
- 00:00Recursive Nanochat - a comparison with Karpathy’s 500M parameter model
- 03:07Benchmark Results on Recursive Nanochat
- 05:54What are the benefits of recursive models?
- 06:52Recursive Models allow inference on smaller devices and fewer GPUs
- 08:07Recursive Models open a pathway to adaptive compute
- 09:39Recursive vs Non-recursive Architecture
- 13:48How to handle the recursive stream via an adapter
- 16:49Training for adaptive compute / recursions - Poisson log-normal recursion sampling
- 18:14Handling torch.compile with recursive models
- 20:07Implementing adaptive compute (stopping recursions early)
- 22:14kv cache strategies for recursive models
- 24:16Inference engine (vLLM) implications for recursive models
- 26:20Training dynamics of recursive models (Wandb overview), incl. flops utilisation
- 31:21Code Review of Trelis/nanochat
- 32:05Truncated backpropagation through time
- 33:56Recursive loop adapter initialisation
- 35:25Dynamic torch compile
- 37:06Wrap up
提到的工具與公司
- NanoChat
- vLLM
- Hugging Face
- RunPod
- Wandb
- Karpathy
適合誰看
適合希望了解遞迴模型架構、適應性計算原理或想實作相關訓練的開發者與研究者。
摘要依據
- 依據
- 人工字幕
為什麼排在這裡
- 人氣
- 0.20
- 新鮮
- 0.26
在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算
相關內容
- Recurrence and Attention for Long-Context Transformers with Jacob Buckman - #750Podcast ・ The TWIML AI Podcast ・ 57 分鐘 ・
- OpenAI Astra and Recurrent Depth / Looped Transformers影片 ・ Sebastian Raschka ・ 28 分鐘 ・
- Looped LLM? Recurrent Depth Transformer Explained影片 ・ bycloud ・ 19 分鐘 ・
- This New AI Architecture Makes Local Models Smarter影片 ・ Prompt Engineering ・ 15 分鐘 ・
- OpenAI Astra循环深度架构:大模型第三条Scaling法则 | OpenAI Astra | 循环深度 | 循环Transformer | Recurrent Depth影片 ・ Best Partners TV ・ 17 分鐘 ・
- LLM Building Blocks & Transformer Alternatives影片 ・ Sebastian Raschka ・ 27 分鐘 ・
這個來源最近的內容
摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。看影片(在新分頁開啟原站)
