Binder 无需账号,但 Colab、Kaggle 和 Codespaces 需要登录,且在 Codespaces 中要自己打开课程的 lesson.ipynb;2017-2025 的旧教程已退役,不要按旧路径找内容;部分课程项目(如信用承销、蛋白质组学)仍有模块只标注 specified 尚未建成。
Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
TarrySingh活跃维护一套可直接在 Colab、Kaggle、Binder 上跑的免费 AI 实战课程,覆盖 RAG、AI Agent、文档抽取、模型验证和 EU AI Act 合规,每节课都带自动评分。
Synapsa Commons: free, hands-on AI courses that run anywhere (Colab, Kaggle, Binder, Codespaces, Jupyter). EU AI Act conformity evidence, model validation, predictive maintenance, document extraction, retrieval and RAG, AI agents and MCP, a simulated humanoid. Every lesson autograded. From the team building Synapsa.
打开 https://colab.research.google.com/github/TarrySingh/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials/blob/master/lessons/T00-L01-the-8gb-track/lesson.ipynb 后点击 Run all入门课「The 8 GB track」明确说明只需笔记本 CPU、8 GiB 内存、无 GPU、无下载;其余课程的显存和 GPU 型号要求 README 未说明。
一套免费可动手的 AI 课程仓库,每节课都能在 Colab、Kaggle、Binder 或本地 Jupyter 里跑通并自动判分
一套可直接在 Colab、Kaggle、Binder 上跑的免费 AI 实战课程,覆盖 RAG、AI Agent、文档抽取、模型验证和 EU AI Act 合规,每节课都带自动评分。
核心能力
- 103 节课全部以 notebook 形式提供,可在 Colab、Kaggle、Binder、Codespaces 或本地 Jupyter 打开
- 每节课自带自动判分,练习会告诉你对错和可能的错误原因
- 覆盖 RAG、AI 智能体与 MCP、推理系统、后训练、评估与治理等工程主题
- 按 EU AI Act 合规、模型风险、预测性维护、文档抽取等领域组织成课程项目
- 入门课只需笔记本 CPU 和 8 GiB 内存,无需 GPU、无需下载
容易踩的坑
- 2026-w45dUpdate · A runaway answer now stops at 768 MiB in every lesson最新正式版2026-11-08 · 2026-11-08 12:01 UTC
An update to Synapsa Commons: free, hands-on AI courses that run anywhere. No new lessons this time. This release makes every one of the 103 lessons safer to run on small machines.
What changed
- A runaway answer now stops at 768 MiB, down from 2 GiB, in every lesson. If an answer keeps allocating memory, the check it belongs to stops it, marks that row as failed and the notebook carries on. On a 2 GB machine of the kind Binder gives you, an answer that grows without end now stops at about 885 MiB, where it used to reach 2.1 GB and could take the kernel down with it.
- The memory watch checks more often. It now catches fast-growing answers sooner, and if an answer's own error handling swallows the stop, the watch stops it again. In our measurements this made the lessons no slower.
- Three fixes in the grader. Memory is now freed after a row that does not pass, so one bad answer can no longer use up the memory of the rows after it. A score now rounds down, never up. The whole-tree check now reads each lesson's real point totals.
- One source is corrected. In the lesson on living on free tiers, the OpenRouter quote no longer copies a placeholder that had not been filled in on the page. The passage was re-read on 4 November 2026.
- The lessons themselves are unchanged. Explanations, exercises, data and difficulty are exactly as before. Only the safety net around the checks changed.
Checked before release
- Today all 103 lessons passed every quality gate on macOS. Every worked solution scores 100%. Every blank notebook scores 0%, except five C and C++ lessons, which score 5 to 9% because their "it compiles" rows pass.
- On 7 and 8 November the same lesson code was checked in more depth:
- All 103 lessons, run unanswered, print the same results on Python 3.11 and 3.12.
- About 1,900 deliberately wrong answers were graded. None scored full marks, and no correct answer lost a point.
- The largest amount of memory any correct check needed was 990 MiB, in a row that is allowed 1536 MiB.
- Five lessons were checked on Linux, on an emulated x86 machine, and three heavy ones inside a 2 GB container.
- Limits still apply. On native Windows there is no time or memory limit, so use WSL, Colab or Codespaces there. One long native call, such as a very large numpy operation, is stopped only when it returns.
- Worked solutions and full grading come with enrolment on Synapsa, opening in the coming weeks.
- 2026-w45cDrop 14 · An environment for a tool-using agent, designing tools an agent can use, five workflow patterns with evals, and threat-model an agent2026-11-06 · 2026-11-06 11:15 UTC
查看更新说明
The fourteenth drop of Synapsa Commons: free, hands-on AI courses that run anywhere.
New this week: an environment for a tool-using agent, designing tools an agent can use, five workflow patterns with evals, and threat-model an agent
Four new lessons in four areas. Each one is a notebook you do: exercises that check themselves, hidden hints, and a progress board.
Lesson What you build Open An environment for a tool-using agent (Post-training) A small tool environment with reset, step and state, its reward modes and the terminated and truncated split, following the conventions of the environment hubs; episode collection with a softmax policy, the group-relative advantage with its zero-variance case and a policy-gradient update for a tabular agent that learns which tool to call; and a measurement of how often the agent games a reward that pays for tool calls instead of outcomes Colab Designing tools an agent can use (Agents and protocols) A validator whose error messages name the parameter, the value received and what is accepted; a linter for vague tool names, thin descriptions, bare parameter names and unchecked ids, with a finder for confusable names; an episode loop with exact counts of success, wasted calls, silent failures and recovery; and a measurement of which design lever changes a scripted agent's results most Colab Five workflow patterns in plain Python, each with an eval (AI engineering) Prompt chaining with a gate and retries, a router with a fallback, parallel voting with a stated tie rule, an orchestrator that plans its own sub-tasks, and evaluate-and-refine with a revision cap, all over a scripted model; and, for each pattern, its accuracy, calls per task, paired gains and losses against a single call and the failure modes it adds, swept over slip rates Colab Threat-model an agent (Evaluation and governance) A finder for the data flows that cross a trust boundary, a taint propagation that handles cycles, a risk register that maps components and flows to the OWASP Top 10 for Agentic Applications, a mitigation checklist generated from the register, and a check runner that fails closed until each mitigation is present Colab All four are in
lessons/. None needs an API key, a GPU, PyTorch or a download, and each generates its own data from a fixed seed. The tool-design and workflow lessons run a scripted agent and a scripted model and say what such a result does and does not tell you about a language model; the environment lesson says the same of its toy agent. The environment lesson takes about two hours, the tool-design and workflow lessons about 75 minutes each and the threat-model lesson about 45 minutes.Also in this drop
- Three earlier lessons are updated after a confirmation review on 6 November 2026: DPO from the RLHF objective, Vet before you connect, and Judges that agree with humans. In the DPO lesson the notebook check of exercise 4 no longer works out the finished formula for you, the failure messages of exercises 3 and 4 no longer spell out the line you
- 2026-w45bDrop 13 · DPO from the RLHF objective, vet before you connect, and judges that agree with humans2026-11-05 · 2026-11-05 11:47 UTC
查看更新说明
The thirteenth drop of Synapsa Commons: free, hands-on AI courses that run anywhere.
New this week: DPO from the RLHF objective, vet before you connect, and judges that agree with humans
Three new lessons, one in each of three areas. Each one is a notebook you do: exercises that check themselves, hidden hints, and a progress board.
Lesson What you build Open DPO from the RLHF objective (Post-training) The derivation of the DPO loss from the KL-regularised reward objective, checked numerically; the loss, its gradient coefficients and its backward pass on a numpy nanolm, verified against finite differences; held-out measurements of the implicit reward margin, pair accuracy and the pairs where the margin rose while the chosen answer became less likely; a length-bias audit of a preference set; and a KL estimate with its standard error and the IPO loss, to see how beta and the choice of loss change how far the policy travels Colab Vet before you connect (Agents and protocols) A finder for invisible Unicode characters and a decoder for the message hidden in Tag-block characters, a rule-based scanner for MCP tool definitions, a canonical content hash with a diff that reports changed, new and removed tools against a set of pins (a rug-pull detector), and a precision and recall measurement on planted, benign and paraphrased descriptions Colab Judges that agree with humans (Evaluation and governance) A swap-order probe and a swap-resolved verdict, a length probe, a win rate corrected for the judge's sensitivity and specificity against human labels, and a paired bootstrap interval for it, with a measurement of how often the interval covers the target Colab All three are in
lessons/. None needs an API key, a GPU, PyTorch or a download, and each generates its own data from a fixed seed. The DPO lesson takes about two and a half hours, the MCP lesson about 75 minutes and the judges lesson about an hour.Also in this drop
- Two earlier lessons are updated after a confirmation review on 3 November 2026: Adverse action and reason codes, and Cross-modality QC and leakage traps. In the credit lesson the notebook checks of exercises 4 and 6 now also catch a set compared by its sum and a miscomputed spread, and one reason note no longer says "one book"; its source notes now cover the five-factor case of Regulation B's list of key factors. In the leakage lesson the notebook check of exercise 3 now catches a (batch, donor) key folded into one number, and the wrong answer choices of the self-check are lengthened so the right one is no longer the longest in three of four questions. What you build and the results the lessons print are unchanged, and both are now counted as independently reviewed.
- Two course pages are updated: module 4 of Credit underwriting and module 5 of Proteomics and multiomics are now marked as built, and the front page, the lessons index and the course pages are regenerated (99 lessons).
- Sources re-checked on 5 November 2026. All 47 quoted passages in the three new lessons were compared with the live pages and still say what the lessons quote, including that the current Model Context Protocol revision is 2026-07-28.
- The time limit still has two limits. Every graded check has a time limit and a runaway answer
- 2026-w45Drop 12 · Adverse action and reason codes, and cross-modality QC and leakage traps2026-11-02 · 2026-11-02 21:11 UTC
查看更新说明
The twelfth drop of Synapsa Commons: free, hands-on AI courses that run anywhere.
New this week: adverse action and reason codes, and cross-modality QC and leakage traps
Two new lessons, one in each of two courses. Each one is a notebook you do: exercises that check themselves, hidden hints, and a progress board.
Lesson What you build Open Adverse action and reason codes (Credit underwriting, module 4) Whole-point scorecard reasons and the reference populations of Regulation B's commentary, the choice of principal reasons with a stated tie rule, reason codes that add up inputs sharing a cause, a perturbation test, citation counts by group and a screen for reasons that behave like a proxy, and a measurement of how stable the reasons are for a scorecard and a boosted challenger and what dropping a flagged input costs Colab Cross-modality QC and leakage traps (Proteomics and multiomics, module 5) A duplicate-sample finder across two modalities, a donor merge, a case count per batch that counts donors, a label permutation that shuffles whole donors, and a release gate that refuses to report a biomarker AUC while a check fails, and a measurement of what each planted trap adds to a cross-validated AUC Colab Both are in
programmes/. Neither needs an API key, a GPU or PyTorch, and each generates its own data from a fixed seed. The credit lesson takes about three hours; the leakage lesson about an hour.Also in this drop
- Four earlier lessons are updated after a confirmation review on 30 October 2026: Build a sandbox you would trust, Rubrics as rewards, Living on free tiers, and GPTQ and AWQ from the maths. The review found minor points in the first and third and none in the other two. In Build a sandbox you would trust the notebook check for the jail now also catches a path given as a
pathlib.Pathand left unjudged, and the lesson says that native Windows is not supported (use WSL, Colab or Codespaces). Build a sandbox you would trust and Living on free tiers now say about 90 minutes instead of 60. What you build and the results the lessons print are unchanged, and all four are now counted as independently reviewed. - Two course pages are updated: module 4 of Credit underwriting and module 5 of Proteomics and multiomics now describe the two new lessons, and the front page, the course pages and the roadmap are regenerated.
- Sources re-checked on 2 November 2026. Every quoted source in the two new lessons was compared with its live page and still says what the lesson quotes. The Regulation B text in the credit lesson is the text in force after the CFPB's final rule of 22 April 2026, which took effect on 21 July 2026; a court challenge to that rule is pending, and the lesson is dated "as of 19 October 2026".
- The time limit still has two limits. Every graded check has a time limit and a runaway answer fails its own row, on Linux and macOS (Colab, Kaggle, Binder, Codespaces and local Jupyter). On native Windows there is no time or memory limit, so use WSL, Colab or Codespaces there; and one long native call, such as a very large numpy operation, is stopped only when it returns.
- Worked solutions and full grading come with enrolment on Synapsa, opening in the coming weeks.
The two new lessons passed all 14 quality gates today, with the time limit in place, and print the same results on P
- Four earlier lessons are updated after a confirmation review on 30 October 2026: Build a sandbox you would trust, Rubrics as rewards, Living on free tiers, and GPTQ and AWQ from the maths. The review found minor points in the first and third and none in the other two. In Build a sandbox you would trust the notebook check for the jail now also catches a path given as a
- 2026-w44cDrop 11 · A sandbox you would trust, rubrics as rewards, living on free tiers, and GPTQ and AWQ from the maths2026-10-29 · 2026-10-29 17:45 UTC
查看更新说明
The eleventh drop of Synapsa Commons: free, hands-on AI courses that run anywhere.
New this week: a sandbox you would trust, rubrics as rewards, living on free tiers, and GPTQ and AWQ from the maths
Four new lessons. Each one is a notebook you do: exercises that check themselves, hidden hints, and a progress board.
Lesson What you build Open Build a sandbox you would trust A process-group supervisor, a symlink-resolving jail check and a deny-by-default audit policy, measured by twenty-one seeded escape attempts against every combination of the three layers Colab Rubrics as rewards A rubric reward for open-ended answers (a weighted checklist score, a false-credit audit and an agreement test against a hidden truth), a tiny policy trained against it, and a measurement of how it learns to game the grader and what a penalty and a held-out monitor each repair Colab Living on free tiers A token-bucket limiter, jittered retries, a pacer and a capacity planner for a class on free API tiers, and a measurement of how many learners finish, how many requests are wasted and what a quota cut does Colab GPTQ and AWQ from the maths Round-to-nearest, GPTQ and AWQ quantisation in numpy, applied to the weight matrices of a small language model trained inside the lesson at 4 and 3 bits, and a measurement of the calibration-set size at which each method stops improving Colab All four are in
lessons/. None needs an API key, a GPU or PyTorch, and every lesson generates its own data from a fixed seed. Build a sandbox you would trust uses process groups and sessions, so it runs on macOS and Linux (Colab, Kaggle, Binder, Codespaces, local Jupyter) and stops with a message on native Windows; use WSL, Colab or Codespaces there.Also in this drop
- Three earlier lessons are updated after a confirmation review on 29 October 2026: LoRA from scratch, How many items does an eval need, and PyTorch core idioms. The review found one minor point in each of the first and last and none in the second. The notebook checks are stricter (LoRA from scratch now catches a rank-knee measured from the largest rank's loss instead of the best loss; PyTorch core idioms now catches a state-dict comparison that subtracts in float32 instead of float64). What you build is unchanged, and all three are now counted as independently reviewed.
- Factor models for two omics layers is regenerated and retitled in the proteomics course: the lesson's introduction now states the time limits it uses (2 s for an exercise check and 45 s for any other cell), where it still said 0.4 s, and its module in the proteomics and multiomics course is titled for what was built, "Integration: factor models for two omics layers". The results it prints are unchanged.
- One lesson's sources changed format: OpenRouter's rate-limit pages now print the free-model figures directly instead of through constants. Living on free tiers quotes them again from the new pages; the figures (20 requests a minute; 50 a day, or 1000 a day with at least 10 credits purchased) are the same.
- **Source
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Looking for the 2017-2025 tutorials? They are retired; what changed, and why.
Start here
The 8 GB track · ~40 minutes · a laptop CPU, 8 GiB RAM, no GPU, no download · Python · no lesson to do first
Build a profiler that measures what any piece of Python really costs in time and memory, rank four implementations of one task on the numbers, and reproduce the compute-tier check every lesson here has to pass.
- Pick a service. Binder needs no account; Colab, Kaggle and Codespaces ask you to sign in, and in Codespaces you open the lesson's
lesson.ipynbyourself. - Press Run all. Every cell runs, each unfinished exercise says so, and a progress board ends the notebook.
- Fill in the first exercise and re-run its cell. Its check tells you whether you are right and, if not, what the likely mistake is.
- write a Python function with a loop and a try/finally block, define a NamedTuple, and read a traceback to find the failing line
- create and slice a numpy array, and call methods such as .sum() on it
- say what RAM is, as opposed to disk, and what happens to a program that asks for more of it than the machine has
New to some of that? Free places to learn it:
- The Python Tutorial, section 8: Errors and Exceptions · Python Software Foundation
- NumPy user guide: Data types · NumPy project
- tracemalloc: Trace memory allocations · Python Software Foundation
- Operating Systems: Three Easy Pieces · Arpaci-Dusseau and Arpaci-Dusseau
Choose your path
- New to AI. Begin with some Python and take these in order, each needing only the lessons before it: The 8 GB track → Byte-level BPE from scratch → The CPU slice of nanolm → Retrieval from scratch → The agent loop from scratch. The same path with launch links is in the track lessons.
- ML engineer. Agents and protocols · Retrieval and RAG · Inference systems · Post-training · Evaluation and governance · AI engineering · Language models
- Domain specialist. EU AI Act conformity · Model risk · Predictive maintenance · Document intelligence · Credit underwriting · Proteomics and multiomics · AI for science · Humanoid Lab
The map
The courses aim at the work people are paid for: evidence an inspector can re-run, a model a risk committee can sign off, an alarm a plant manager will trust. Every number a lesson prints is computed by code you run, and every claim it makes about the world cites a primary source.
103 lessons, 99 of them passed and independently reviewed. 7 are compiled C or C++ exercises. Every notebook opens in Colab, Kaggle, Binder, Codespaces or local Jupyter. Every MODULES.md marks a module built only when its lesson exists and has passed; everything else says specified, and means it.
Programmes
- EU AI Act conformity · 9 of 9 modules built. Show that an AI system meets the EU AI Act, with evidence an inspector can re-run. Start with The conformity evidence pack.
- Document intelligence · 11 of 11 modules built. Pull fields out of invoices and contracts, and prove how often you are wrong. Start with Field extraction you can measure.
- Predictive maintenance · 9 of 9 modules built. Take predictive maintenance from sensor physics to an alarm threshold priced in money. Start with Alarm economics.
- Model risk · 10 of 10 modules built. Validate a model well enough to sign it off: calibration, challengers, explainability, the committee pack. Start with A validation suite that would survive an audit.
- Credit underwriting · 4 of 8 modules built, 4 specified and not built yet. Build credit models that survive an audit: vintage curves, a hazard model, macro scenarios and an out-of-time back-test. Start with PD modelling with vintages and macro overlays.
- Proteomics and multiomics · 5 of 7 modules built, 2 specified and not built yet. Get from mass spectra to proteins you can defend: a search engine, target-decoy FDR, protein inference, missing values and batch effects. Start with DIA and DDA fundamentals with open search engines.
- Humanoid Lab · 8 lessons + capstone. Make a simulated humanoid stand and walk, then measure how far that is from a robot. Start with First contact with a humanoid.
Tracks
- Orientation · 4 lessons. Start from nothing, on a laptop. Measure what code costs on an 8 GB machine, keep a model registry honest through a model swap, and write one client for three backends. Start with The 8 GB track.
- Data and statistics · 2 lessons. Statistics by simulation: sampling distributions, bootstrap intervals, permutation tests and power, the habits every later lesson leans on. Start with Statistics by simulation.
- Deep learning foundations · 2 lessons. Build automatic differentiation from scratch, a scalar engine and a tensor engine, and the gradient check that keeps both honest. Start with Autodiff from scratch.
- Language models · 3 lessons. Tokenisers from scratch, the BPE merge loop in C++, and a language model trained on a CPU with numpy alone. Start with Byte-level BPE from scratch.
- Post-training · 6 lessons. Post-training from scratch: GRPO in numpy on a tiny model, and the traps that make a reward mislead you, measured. Start with GRPO from scratch on a tiny model.
- Inference systems · 3 lessons. Serve a language model on modest hardware: a KV cache, paging and continuous batching on a CPU, and what each one buys. Start with Serving a small model on a CPU.
- Retrieval and RAG · 4 lessons. Build search and RAG you can measure: retrieval, chunking, the context budget, reranking and agent memory. Start with Retrieval from scratch.
- Agents and protocols · 8 lessons. Build AI agents that hold up: the agent loop from scratch, MCP and A2A from the wire up, evaluation with intervals, and constrained decoding. Start with The agent loop from scratch.
- AI engineering · 2 lessons. Run agents like production software, with OpenTelemetry traces and a cost-per-task report rebuilt from the traces alone. Start with Observability for agents.
- Evaluation and governance · 7 lessons. Measure models honestly: an EU AI Act evidence pack, evaluation across languages, and a mini arena whose ratings carry intervals. Start with The conformity evidence pack.
- AI for science · 2 lessons. Do AI for science on real data: find the first gravitational wave in the raw LIGO data, and model rainfall to runoff honestly. Start with Find GW150914 in the raw LIGO data.
What's coming
New lessons three times a week, every Monday, Wednesday and Friday. Watch or star this repository to hear about each one as it lands.
- September 2026. Document intelligence for regulated operations, retrieval and RAG, and the agents track begins.
- October 2026. AI agents and the protocols they speak, two new industry programmes on proteomics and multiomics and on evidence-based credit decisions, AI for science, serving models on modest hardware, post-training from scratch, and evaluating across languages.
- November 2026. The credit decisions and the proteomics and multiomics programmes continue, module by module.
- December 2026. Deeper courses in the industries we already cover.
How a lesson works
Every lesson here is a notebook you do, not one you read. You fill in the exercises, and each one checks itself the moment you run it.
- Open it in Colab, Kaggle, Binder, Codespaces or your own Jupyter. The first cell installs what the lesson needs at the versions it was measured with, and does nothing where it is already there.
- Run all before you write a line. Every cell runs: each unfinished exercise says it is not implemented yet, and a progress board ends the notebook, one line per exercise, marked ✅ passed, ❌ failed or ⏳ not started.
- Fill in an exercise and re-run its cell. Its check says whether you are right and, if not, what the likely mistake is. Each exercise has two hints, the first on what to think about and the second on the approach; neither gives you the answer.
- Read the board. Your score against the full rubric, and the worked solution, come with enrolment on Synapsa.
Anything a lesson measures on your machine, like a time or a memory peak, prints with its unit and will differ from ours. Every other number a finished lesson prints is identical on Python 3.11 and 3.12; every lesson is checked for that before it is released.
Run it anywhere
On Kaggle, a lesson that installs a package or fetches a file needs Internet switched on in the notebook's settings, and Kaggle allows that only for phone-verified accounts. Colab, Binder and Codespaces need nothing.
Codespaces opens the whole repository, so open the lesson's lesson.ipynb yourself once it has started:
To work on your own machine, with Python 3.11 or 3.12:
git clone --depth 1 \
https://github.com/TarrySingh/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials \
synapsa-commons
cd synapsa-commons
python -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/jupyter lab
On Windows the last two commands use .venv\Scripts\pip and .venv\Scripts\jupyter.
7 lessons are C or C++ exercises, and they also need make and a C or C++ compiler (clang or gcc). Binder and Codespaces install both from this repository's own setup (binder/apt.txt and .devcontainer/devcontainer.json); on your own machine, install them first.
PyTorch is an optional, separate install, because only a few lessons use it. Colab and Kaggle
already have it, and a lesson that needs it installs it from its first cell anywhere else. To
install it yourself, run .venv/bin/pip install -r requirements-torch.txt; on Linux, add
--index-url https://download.pytorch.org/whl/cpu to get the CPU build the lessons are checked
with instead of gigabytes of CUDA libraries. On a Mac the pinned version needs Apple silicon and
macOS 14 or later.
The lessons workflow checks on Linux, which is what Colab, Kaggle, Binder and Codespaces run, that every notebook opens and runs.
The bar every lesson clears
QUALITY.md sets out 14 gates that a lesson must pass before it is marked built.
A lesson is marked built only after an independent reviewer has tried to break it, including by grading plausible wrong answers against its rubric.
In short, every lesson has:
- measurable objectives, and prerequisites that are real lessons;
- scaffolded exercises with instant feedback, an autograded rubric, a worked solution and a self-check;
- a clean run from top to bottom in a fresh interpreter, inside a declared compute tier and time budget;
- free data that needs no registration, named with its licence;
- a primary source for every claim about the world, and no measured or computed number typed into the prose by hand;
- a notebook that opens and runs alone on Python 3.11 and 3.12, where Run all is a good experience.
Synapsa
Worked solutions, the full rubric with partial credit, and an official score come with free enrolment on Synapsa. Enrolment has not opened yet.
The 2017-2025 tutorials
From 2017 to 2025 this repository carried a curated collection of machine-learning and deep-learning tutorials, much of it gathered from other people's work. It helped a great many learners, and we are grateful to everyone who starred it, forked it and contributed to it. That collection has now been retired from public view, so that everything published here is original work we can stand behind and license. Synapsa Commons replaces it.
Licence
Synapsa Commons is © 2026 RealAI, free to learn from and share, and licensed under
CC BY-NC-SA 4.0; the legal code is in
LICENSE and a plain-words summary in NOTICE.
- You may use the lessons to learn and to teach, and copy, fork, share and adapt them.
- You must credit "Synapsa Commons by RealAI" with a link here, say what you changed, and share adaptations under the same licence.
- You may not use them, or anything adapted from them, for commercial advantage or payment: selling them, charging for a course or training built on them, or packaging them into a paid product or service.
Commercial licences are available from RealAI. Third-party
material inside a lesson keeps its own licence, named in that lesson's assets/SOURCE.md or
claims.yaml. The Synapsa name and logo belong to RealAI and are not licensed.
lessons/,flagships/,programmes/: track lessons, flagship subtrees, industry programmes.- Lessons are written and gated in a separate source that holds the worked solutions and the rubrics; this repository receives the student version of each lesson once it passes. The status lines, indexes and launch links on these pages are generated there from the lessons themselves.
tools/notebooks.pygenerates eachlesson.ipynband its launcher cell (--checkfor drift), andtools/verify_portable.pyruns each notebook alone in a minimal kernel on Python 3.11 and 3.12..github/workflows/lessons.ymlruns both on Linux on every change, and fails if a solution or rubric file is ever committed here.brand/holds the Synapsa Commons lockups used here and at the top of every notebook;brand/readme/andbrand/areas/hold the artwork on these pages, andtools/brand_svgs.py --lintchecks it.