📦rohitg00 / ai-engineering-from-scratch
← 返回首页
Learn AI Engineering! Learn it. Build it. Ship it for others.
⚖️ MIT#agents#ai#ai-agents#ai-engineering#computer-vision🌐 aiengineeringfromscratch.com📅 创建于 2026-03-18🔄 更新于 2026-10-29
🔗 GitHub Python

📄 仓库 README

在 GitHub 查看 ↗
来自 GitHub 仓库自述文件 · 版权归原作者所有

AI Engineering from Scratch

Star History Rank GitHub Trending Repository of the Day

Implement model internals, retrieval pipelines, and agent runtimes. Test them, inspect failures, and keep the code and evaluation results.

Start learning · Choose a path · Try a lab · Build a project · Browse the curriculum

Free, open source, MIT. Learn on the website, with a coding agent, or by running local code.

542 lessons. 20 phases. Python, TypeScript, Rust, Julia.

MIT License 542 lessons 20 phases GitHub stars Website

Read in your language

🇬🇧 English · 🇨🇳 简体中文 · 🇹🇼 繁體中文(台灣) · 🇯🇵 日本語 · 🇰🇷 한국어 · 🇵🇹 Português · 🇧🇷 Português (Brasil) · 🇪🇸 Español · 🇩🇪 Deutsch · 🇫🇷 Français · 🇮🇹 Italiano · 🇳🇱 Nederlands · 🇵🇱 Polski · 🇨🇿 Čeština · 🇷🇴 Română · 🇭🇺 Magyar · 🇬🇷 Ελληνικά · 🇸🇪 Svenska · 🇩🇰 Dansk · 🇳🇴 Norsk · 🇫🇮 Suomi · 🇷🇺 Русский · 🇺🇦 Українська · 🇹🇷 Türkçe · 🇮🇱 עברית · 🇸🇦 العربية · 🇮🇷 فارسی · 🇮🇳 हिन्दी · 🇧🇩 বাংলা · 🇵🇰 اردو · 🇹🇭 ไทย · 🇻🇳 Tiếng Việt · 🇮🇩 Bahasa Indonesia · 🇵🇭 Tagalog

Sponsors

SerpApi. Web Search API for your AI apps. Available in Markdown and JSON for any integration.

Your support keeps every lesson free and open source. See all supporters · Become a sponsor

Learning paths

Route Starting lesson
Model foundations Setup and tooling
LLM systems Prompt engineering
Agents and delivery The agent loop

Compare career paths · Prerequisites and study time

Gradient descent

Twenty starting points follow gradient descent on a quadratic loss. The graph shows their positions and mean loss after each update.

Gradient descent moves scattered starting points toward the loss minimum. The mean loss decreases with each update.

Adjust the learning rate in the lesson · Compare GD, momentum, and Adam in code

Projects

Three projects with staged starters, reference implementations, and local graders. Run commands from the repository root after setup. Starters fail until you implement the stages.

01 · Retrieval Evaluation Lab · Python · Ranking metrics and regression checks A candidate improves mean NDCG while one query ranks its most relevant evidence lower. Build a query-by-query comparison that reports the regression and can fail a release check. Use Python 3.10+. Review [RAG](https://github.com/rohitg00/ai-engineering-from-scratch/blob/HEAD/phases/11-llm-engineering/06-rag/docs/en.md) and [model evaluation](https://github.com/rohitg00/ai-engineering-from-scratch/blob/HEAD/phases/02-ml-fundamentals/09-model-evaluation/docs/en.md). Implement ranki

📈 近 7 天 Star 趋势

每日新增 Star(柱)与累计 Star(线)· 数据来自 GitHub

🏆 排名变化趋势

在各榜单中的排名历史(数字越小越靠前)

📋 历史上榜记录

每次快照的详细数据
日期 榜单 排名 周期新增 总 STAR