进度
0/7
Linear Algebra Intuition
Every AI model is just matrix math wearing a fancy hat.
6 个交互模块 + 6 道练习题 · 约 60 分钟
1️⃣ Vectors Are Points (and Directions)
拖动向量端点 · 看坐标、模长、方向实时变化
2️⃣ Matrices Are Transformations
拖动滑块改变旋转角 θ 和缩放 s · 看基向量与示例点如何被矩阵变换
3️⃣ The Dot Product Measures Similarity
拖动向量 · 看 a·b 是正、零、还是负 → 决定相似度
4️⃣ Projection — The Shadow of a onto b
拖动紫色向量 a · 绿色 = 在 b 方向的投影,红色虚线 = 残差(垂直于 b)
5️⃣ Gram-Schmidt — Making Vectors Orthogonal
步进按钮 · 每步从当前向量剥掉已正交方向,再归一化
📍 步骤 1 / 3
6️⃣ LoRA — Low-Rank Adaptation
拖动滑块看 LoRA 怎么用 A·B 两个瘦长矩阵替代大权重矩阵
W (frozen)
4096×4096
16.8M params
+
A (trainable)
4096×16
66K params
·
B (trainable)
16×4096
66K params
full fine-tune100%
LoRA (A + B)0.78%
📝 6 道练习题
用自然语言/代码写你的思路 · 前端硬规则判对错 + longcat 写反馈
已答 0 / 6 题