跳到主要內容
AI 武林
影片高階EN6,438 次觀看

Training Recursive Models - A Frontier in Adaptive Compute

來源 Trelis Research

看影片(在新分頁開啟原站)連到 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 產生

  1. 00:00Recursive Nanochat - a comparison with Karpathy’s 500M parameter model
  2. 03:07Benchmark Results on Recursive Nanochat
  3. 05:54What are the benefits of recursive models?
  4. 06:52Recursive Models allow inference on smaller devices and fewer GPUs
  5. 08:07Recursive Models open a pathway to adaptive compute
  6. 09:39Recursive vs Non-recursive Architecture
  7. 13:48How to handle the recursive stream via an adapter
  8. 16:49Training for adaptive compute / recursions - Poisson log-normal recursion sampling
  9. 18:14Handling torch.compile with recursive models
  10. 20:07Implementing adaptive compute (stopping recursions early)
  11. 22:14kv cache strategies for recursive models
  12. 24:16Inference engine (vLLM) implications for recursive models
  13. 26:20Training dynamics of recursive models (Wandb overview), incl. flops utilisation
  14. 31:21Code Review of Trelis/nanochat
  15. 32:05Truncated backpropagation through time
  16. 33:56Recursive loop adapter initialisation
  17. 35:25Dynamic torch compile
  18. 37:06Wrap up

提到的工具與公司

適合誰看

適合希望了解遞迴模型架構、適應性計算原理或想實作相關訓練的開發者與研究者。

摘要依據

依據
人工字幕

為什麼排在這裡

人氣
0.20
新鮮
0.26

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

這個來源最近的內容

Trelis Research 的所有內容

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