What is natural language processing, and how did one simple idea — predicting the next word — take us from hand-built pipelines to large language models and agents? The first lecture also explains how this course works and why the final project is its heart. Watch it in short chapters with English and Chinese subtitles, follow the lecture map below, then try the ideas in Colab.
Five acts, nine chapters. First who teaches the course and how it runs, then your project, the part that carries most of the grade. Then the content: what NLP is and how it evolved, the one idea behind LLMs, and finally what a university team builds with it and where the research is heading. Click a chapter to watch it.
Benyou Wang's path through linguistics, industry and a PhD in Padua, the group's research on LLM-based agents, and its open-source philosophy: release models, data and code on Hugging Face and GitHub.
Staff, time and place, the website and WeChat group, the prerequisites of an advanced graduate course, the arc from word vectors to agents, and a grade that is 40% assignments, 55% final project and 5% participation.
Word vectors, SFT and RLHF, then prompting and agents through APIs. The final project: teams of 1–3, a poster and a paper of at most six pages, released on arXiv, GitHub and Hugging Face, and perhaps submitted to a conference.
Ideas come from the literature and from you: your major, hobbies, data and users, as in the student startups 薯塔AI (FriesAI) and TennSync. Then the course design, what it does and does not cover, and how not to fail.
NLP sits between computational linguistics and machine learning; natural language is ambiguous where code is not; NLP = NLU + NLG. The classic tasks, from translation to question answering, show why keyword matching is not enough.
Stacks of separate components whose errors add up, then bag-of-words to GPT-4, and rules → statistics → deep learning → Transformers. And how close are today's assistants to Samantha in the film Her?
A language model scores sequences or predicts the next word; neural networks compute that probability, and scalable architecture, objective and data made it large. LLMs then become agents that act on phones, in games and in robots.
HuatuoGPT and Apollo bring medical LLMs to hospitals and to 50 languages, AceGPT aligns an LLM with Arabic culture, and small models fine-tuned for math compete with GPT-4 on GSM8K. Agents simulate a stock market in TwinMarket.
Recursive self-improvement in messy real-world environments, and the challenge it raises: oversight that scales with capability. Four class surveys on AI and jobs, and a summary of the whole lecture.
Three short notebooks turn the lecture into experiments. Click Open in Colab, then Runtime → Run all. Each ends with exercises. All three run on a free CPU runtime; a T4 GPU only makes Notebook 3 faster.
Key terms of the lecture. Each link opens the video at the slide where the idea is explained.
Even an introduction moves with the field. Six trends to watch, each tied to a slide of this year's lecture:
The course now has a lecture on LLM agents and harness engineering: building the system of tools, checks and feedback loops around a model (slide 16).
Slide 118 asks how long a task AI can finish. METR measured it: the length of tasks frontier models complete with 50% success has doubled about every seven months since 2019 (slide 118).
A 13-year-old has heard fewer than 100 million words; Qwen3 was pre-trained on 36 trillion tokens in 119 languages and dialects (slide 87).
AI that helps build better AI is the group's research direction (slide 111), and in 2026 it got a dedicated workshop at ICLR.
As capability grows, human supervision stays flat. The open problem is oversight where AI helps generate feedback and monitor, so supervision grows with the model (slide 114).
"You shall know a word by the company it keeps!"
The distributional hypothesis behind word2vec and GPT (slide 76), and Assignment 1.
"The fundamental problem of communication is that of reproducing at one point either exactly or approximately a message selected at another point."
The 1948 paper where n-gram models of English begin, the first entry on the timeline of Chapter 7.
"I propose to consider the question, 'Can machines think?'"
Turing's test is a conversation in natural language; the surveys in Chapter 9 ask what machines can do today.
"The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin."
Why scalable objectives and compute (Chapter 7) replaced hand-built pipelines (Chapter 6).