TwiScan
Hot
Communities
Account collections
Login
Register
English
日本語
한국의
简体中文
繁体中文
Register and share your invite link to earn from video plays and referrals.
Register now
GitHubDaily
@GitHub_Daily
💡 挖掘开源的价值 🧑🏻💻 坚持分享 GitHub 上高质量、有趣、实用的教程、AI工具、前沿 AI 技术 🧐 A list cool, interesting projects of GitHub. ✏️ 公众号:GitHubDaily
Joined May 2023
209
Following
90.8K
Followers
GitHubDaily
@GitHub_Daily
2026.09.08 10:00
学深度学习一上来就 import torch,模型能跑起来,面试官问一句反向传播里梯度怎么传的,支支吾吾答不上来。 TrenTorch 的路子是不用 PyTorch,只靠 NumPy 从零写一个自己的深度学习框架,它照着哈佛 CS249r 课程的 TinyTorch 重做了一遍,还往前推了一段。 一共 20 个模块分四部分,先是张量、激活函数、层、损失、自动求导、优化器、训练循环这 8 块基础,接着卷积做图像分类。 GitHub: 第三部分是分词、词嵌入、多头注意力和 Transformer,最后写出 GPT 式的语言模型。第四部分讲推理,性能分析、量化、KV 缓存加速,优化器一路做到 AdamW、Lion、Muon。 每过一段会解锁一个历史里程碑复现,拿自己写的框架跑经典模型。装好自带一个 tren 命令行,进度和测试都在里面管。 20 个模块作者说小到能一口气读完,我觉得比刷文档踏实,想真正搞明白框架底下在干什么的可以照着敲一遍。
Show more
0
0
45
58
20
Forward to community
Most Popular Users
Tibo
@thsottiaux
1M Followers
FinancialJuice
@financialjuice
958.3K Followers
First Squawk
@FirstSquawk
579.2K Followers
Serenity
@aleabitoreddit
1.1M Followers
LiveSquawk
@LiveSquawk
504.3K Followers
Binance Wallet
@BinanceWallet
2.8M Followers
CNBC
@CNBC
6.3M Followers
Seeking Alpha
@SeekingAlpha
347.5K Followers
New York Post
@nypost
4.3M Followers
The Wall Street Journal
@WSJ
22.3M Followers
TheStreet
@TheStreet
1.2M Followers
amit
@amitisinvesting
672.2K Followers
ClaudeDevs
@ClaudeDevs
818.9K Followers
Binance
@binance
16.1M Followers
Reuters
@Reuters
26.5M Followers