← Open Source

bbruceyuan/AI-Interview-Code on GitHub: Jupyter Notebook, Tutorials, Interview guide.

TutorialsInterview guideJupyter Notebook
Momentum
+0stars in 24 hours0.0%
623
Stars
30
Forks
+1
This week
2
Contributors
Created 2024-10-13 · Updated 2026-12-01 · #20378 today
Top developers
bbruceyuanApeCodeLab
README

AI-Interview-Code

AI 大模型相关算法中手写的面试题,(非 LeetCode),一般比 LeetCode 更考察一个人的综合能力,又更贴近业务和基础知识一点

目录

题目 难度 知识点 文字解读 视频解读
手写 Self-Attention ⭐⭐⭐ 注意力机制 手写 Self-Attention 的四重境界
手写 Multi-Head Self-Attention ⭐⭐⭐ 注意力机制 手写 Multi-Head Self-Attention
手写 Group-Query Attention ⭐⭐⭐ 注意力机制 手写大模型组件之Group Query Attention,从 MHA -> MQA -> GQA
手写 Transformer Decoder(Causal Language Model, LM) ⭐⭐⭐⭐ Transformer 架构 手写 Transformer Decoder
计算 LLM (Decoder) 模型的参数量 ⭐⭐⭐ 模型参数量 TODO
LLM 模型训练推理显存占用预估 ⭐⭐⭐⭐ 显存占用 LLM 大模型训练-推理显存占用分析
手写 AUC ⭐⭐ 模型评估 TODO
手写 KMeans ⭐⭐⭐⭐⭐ 聚类 TODO
手写 线性回归 ⭐⭐⭐⭐⭐ 线性回归 TODO
手写 BPE 分词器 ⭐⭐⭐⭐⭐ 分词 TODO
手写 LayerNorm ⭐⭐ 归一化 TODO
手写 BatchNorm ⭐⭐ 归一化 TODO
手写 Softmax ⭐⭐ 激活函数 TODO

一般不会考的

题目 难度 知识点 文字解读 视频解读
手写 LoRA ⭐⭐⭐⭐⭐ 目的是为了深入了解 LoRA LoRA 原理和 PyTorch 代码实现


🦧 More from the Author

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store