← All posts

Free ML Courses: Open University Courses on One Page

Universities publish a surprising amount of machine-learning teaching for free: lecture slides, notes, problem sets and, for many courses, full video recordings. Finding it is the hard part. A course lives on a department page, its lectures sit in a YouTube playlist somewhere else, and each year it moves to a new address. Search for a well-known course and you often land on an old edition, with no sign that a newer one exists.

I started collecting these courses in January 2021, as a plain list of links in a GitHub README, grouped by university from February. A hand-written HTML page with search followed in September 2025. That page still had no way to tell a recorded course from an unrecorded one, and I found dead links only by chance. In October 2026 I rebuilt it as a small website, Free ML Courses.

In short

  • Free ML Courses lists 58 courses from 7 universities, with 372 yearly editions from 2005 to 2026, and tells you which editions have lecture recordings (counts as of 28 November 2026).
  • The site is generated from YAML files that are validated on every build, and a weekly job checks every link and looks for new editions.
  • It is curated, not complete: 20 of the 58 courses have no recorded year, and levels and topics are my reading of each syllabus.
  • Start from one of the four learning paths, a filtered view, or courses.json if you want the data.

What it contains

At the time of writing the site lists 58 courses from 7 universities, with 372 yearly editions from 2005 to 2026. 90 of those editions are lecture-video playlists, and 38 of the 58 courses have at least one recorded year.

UniversityCourses
Massachusetts Institute of Technology15
Stanford University15
University of California, Berkeley10
Carnegie Mellon University9
New York University3
University of Chicago3
California Institute of Technology3

The most common topics are deep learning (22 courses), machine learning (17), large language models (11) and NLP (11). Examples include MIT 6.S191 Introduction to Deep Learning and Stanford CS336 Language Modeling from Scratch.

Each course is a card. It shows a level, up to three topics, the course code and title, a short description of at most 150 characters, and one button per edition:

ButtonMeaning
2025The course page for that year: syllabus, slides, notes, assignments.
YT25 (red)The lecture recordings for that year, usually an official playlist.
❄ ✿ ☀ 🍁 after the yearThe term: Winter, Spring, Summer, Fall.
+NN more editions. Cards with more than eight editions show seven buttons and this one.

The site hosts nothing itself. Every link goes to the university's own page or the official playlist.

What it is not

Limits to know before relying on it:

  • It is curated, not complete. A course is included when it is taught at a university, free to access without an account or payment, and about machine learning, AI or the mathematics behind them.
  • Recordings are uneven. 20 of the 58 courses have no recorded year at all, and 14 of the 38 that do have only one.
  • Levels and topics are my reading of each syllabus. They are a guide, not a statement from the university.
  • Links decay. Universities restructure sites and delete playlists. The weekly check below catches most of this, but a link can stay broken for up to a week.

How it is built

The whole site is generated from three YAML files. Adding a course or a new year never touches HTML, and every entry can be checked mechanically.

From YAML data to the published site, with a weekly check courses.yaml universities.yaml paths.yaml Validate dataZod schemas Astro buildHTML, feed, JSON GitHub Pageshosting organokov.comRender rewrite Weekly jobMondays 06:00 UTC Broken-link issue Freshness issue
Figure 1. The data is validated and built into a static site on every change; a weekly job reads the same data and reports problems as GitHub issues.

The data

One course is one YAML entry, shown here in simplified form. A new year of an existing course is one line under editions:

- id: stanford-cs336
  university: stanford
  code: CS336
  title: Language Modeling from Scratch
  description: >-
    Build a language model end to end, from tokenizer
    and transformer to training and scaling.
  topics: [llms, nlp]
  level: advanced
  editions:
    - { year: 2025, term: S, url: "https://cs336.stanford.edu/spring2025/" }
    - { year: 2025, term: S, video: true,
        url: "https://www.youtube.com/playlist?list=..." }

Editions can be written in any order. The page sorts them: lecture videos first, then course pages, each newest first, with terms ordered Fall, Summer, Spring, Winter within a year.

Validation

Before every build, a set of Zod schemas checks the data, and the build stops, naming the entry and the problem. It rejects unknown fields (often a typo such as vidoe: true), URLs that do not start with https://, topics or levels outside the fixed lists, descriptions over 150 characters, unknown universities and learning paths that name a missing course. With 372 links typed by hand, mistakes are certain, so a contributor's pull request fails at build time with a message that says what to fix.

Build and hosting

Astro renders the data into one static HTML page, plus an Atom feed and a JSON export. Search and filtering run in a small client-side script, so there is no server and no database. GitHub Actions deploys the main branch to GitHub Pages, and a rewrite rule on Render, my portfolio host, serves /openunivcourses/* from there, so the same build answers at both addresses.

Keeping it current

A static list goes stale quietly, so a job runs every Monday at 06:00 UTC and does two things.

First, it checks every link. Course pages are checked with lychee. YouTube playlists need a different method: a deleted or private playlist still answers its own page with HTTP 200, so a plain status check reports it as healthy. The job asks YouTube's oEmbed endpoint instead, which does return an error for a playlist that no longer exists. Broken links are collected into one GitHub issue that is updated each week and closes itself once everything passes.

Second, it writes a freshness report into another issue. It lists courses whose newest edition is three or more years old, and it looks for new editions by changing the year in each course's newest address: /2025/ becomes /2026/, fa25 becomes fa26, sp26 becomes sp27. If that address answers with a page at its own path, rather than redirecting to a home page, it is probably a new edition. Some sites answer any address with a page, so the job also tries a year fifty years ahead as a control and discards the lead if that answers too. I check each lead by hand before editing the data.

Who it is for

If you are…Start with
New to machine learning"Start here": four short learning paths, each four or five courses in order with a line on why each step comes where it does.
Filling a specific gapA topic filter plus a level, then compare courses from several universities side by side.
Learning mainly from videoThe "Has lecture videos" filter, and the red YT buttons on each card.
Teaching or designing a courseThe full edition list of one course, to see how its syllabus changed, or three universities' versions of the same subject.
Building a tool or doing a studycourses.json, the whole list in machine-readable form.

The four learning paths are machine learning from the ground up (Berkeley CS 61A to Stanford CS229 and CS230), deep learning to language models (MIT 6.S191 to Stanford CS336 and CS25), vision and generative models (Stanford CS231n to Berkeley CS 294-158), and reinforcement learning (Berkeley CS 188 to Stanford CS234, Berkeley CS 285 and MIT 6.7920).

A twelve-week start

One path, "Machine learning from the ground up", could be used like this. The site does not record how long any course takes, so twelve weeks is a budget you set, not a course length. Pick the edition type for each of the five steps from what the data offers:

StepCourseEditions in the dataOne way to choose
1Berkeley CS 61AVideos: Fall 2021. Course page: Fall 2026.Watch the 2021 lectures and use the 2026 page for current assignments.
2Berkeley DATA C8Course pages only: Fall and Spring editions, 2018 to 2026.Use the newest course page. There is no recording to choose.
3MIT 6.036Videos and course page: Fall 2020. Course page: 2019.Take the 2020 videos with the 2020 page.
4Stanford CS229Videos: Summer 2019, Fall 2018. Course pages: 2018 to 2026.Watch a recorded year and read the newest page for current notes.
5Stanford CS230Videos: Fall 2025, Fall 2018. Course page: Fall 2025.Use Fall 2025 for both videos and page.

A sensible first twelve weeks covers steps 1 to 3 (programming, data and a first machine-learning course), with CS229 and CS230 in a second block. The path starts with CS 61A because every later course assumes you can program in Python; if you already can, skip step 1. Three filtered views help:

How to use it

Search and filters

  • Press / to jump to the search box. Search matches course codes with or without spaces (cs285 finds CS 285), titles, descriptions, universities, topics and abbreviations such as rl or llm. Terms of three letters or fewer match whole words only, so rl does not find "real-world".
  • Combine one level, one topic and the video filter with any search. The state is kept in the address, so a view can be bookmarked. Two examples: reinforcement learning courses with videos and advanced courses on language models.

Choosing an edition

The newest edition usually has the most current material, which matters in fast-moving areas such as language models. An older edition may be the only year with recordings.

Following new additions

New courses carry a New badge for 60 days, and the "Recently added" block at the top lists the latest courses and editions. To follow them without visiting, add the Atom feed to any feed reader.

Using the data

The courses.json export contains every university, course, edition and learning path. Its schemaVersion changes only when a field is renamed or removed. To list the reinforcement-learning courses with recordings, and the newest year of each:

import json
from urllib.request import urlopen

URL = "https://www.organokov.com/openunivcourses/courses.json"
data = json.load(urlopen(URL))

for c in data["courses"]:
    has_video = any(e.get("video") for e in c["editions"])
    if "reinforcement-learning" in c["topics"] and has_video:
        newest = max(e["year"] for e in c["editions"])
        print(c["university"], c.get("code", ""), c["title"], newest)

Or, from a shell with jq, the introductory courses:

curl -s https://www.organokov.com/openunivcourses/courses.json \
  | jq -r '.courses[] | select(.level == "intro") | "\(.university)\t\(.title)"'

Suggest a course

If you know a free university course that belongs here, or find a broken link, please tell me. The Suggest a course form takes a minute. A pull request that edits src/data/courses.yaml is welcome too; the validation will say what needs fixing. The code is MIT-licensed on GitHub.

The credit belongs to the universities and lecturers who publish their teaching openly.

Browse the courses →