Dive into LLMs has 11 free chapters and no open license

Contents

The Dive into LLMs course gives you 11 free chapters from Shanghai Jiao Tong University. Each one ships a slide deck, a written walkthrough, and a runnable notebook. The topics include fine-tuning, jailbreaks, watermarking, GUI agents, and RLHF. Two catches: it’s all written in Chinese, and the repo carries no license file.

Key Takeaways

  • Eleven chapters, each with slides, a written guide, and a notebook you can run.
  • It teaches things most English courses skip, like watermarking and jailbreaks.
  • The writing is all in Chinese, though the notebooks read fine without it.
  • No license file means you can’t legally reuse it in your own teaching.
  • Nothing new has landed since late 2025, so check versions before you run it.

What the Dive into LLMs course covers

Lordog/dive-into-llms started as lecture notes for two Shanghai Jiao Tong University classes. One covers natural language processing (NIS8021), the other AI security (NIS3353). Zhang Zhuosheng teaches both. The team then put the notes online as a free public-interest project.

The chapter list is the whole product. Here it is in English, with what you build in each one.

ChapterTopicWhat you build
1Fine-tuning and deploymentFine-tune a pretrained model, then wrap it in a demo
2Prompting and chain of thoughtCall model APIs and coax better reasoning out of them
3Knowledge editingRewrite one fact inside a model, then check the edit stuck
4Mathematical reasoningTrain your own mini reasoning model
5WatermarkingHide a detectable signal in generated text
6Jailbreak attacksRun published attack methods against a target model
7SteganographySmuggle a message inside fluent model output
8Multimodal modelsCombine vision and language in one model
9GUI agentsTrain an agent to order food and reply to messages
10Agent safetyTest whether an agent spots risk in an open environment
11RLHF alignmentWalk through a PPO-based alignment run

Every chapter ships three pieces: a PDF deck, a README walkthrough, and a Jupyter notebook. That level of completeness is rare in something given away for free.

What Dive into LLMs teaches that English courses skip

Five of the 11 chapters cover security: knowledge editing, watermarking, jailbreaks, steganography, and agent safety. That’s the reason to bother with a course in a language you can’t read.

Compare it with the most popular English equivalent. The README of mlabonne/llm-course runs to about 6,200 words and never once uses the words watermarking, steganography, or knowledge editing. Jailbreaking appears exactly once, inside a bullet about prompt hacking. That’s a good course, and it stops roughly where this one starts.

The gap is widest on watermarking. Chapter five hands you the X-SIR codebase. It ships three watermarking algorithms and two removal attacks, so you embed a watermark and then try to scrub it back out. Text watermarking has become a policy question, and hands-on teaching material for it is thin everywhere.

The jailbreak chapter takes a clear position: you learn defence by running the attack. It walks you through the EasyJailbreak toolkit and its 11 bundled attacks. Similarly, chapter three uses EasyEdit to run ROME, MEMIT, and MEND against a live model. Chapter ten reaches for R-Judge , a benchmark from the same lab, and asks whether an agent spots a dangerous task.

EasyJailbreak pipeline diagram: queries, models, config and seed feed a mutation loop of selector, mutator and constraint, then an inference loop where a target model’s response is scored, ending in a report
The attack loop chapter six walks you through
Image: EasyJailbreak, GPL-3.0

The chapters are starter exercises, though, built to get a student going on a course project. They won’t make anyone a security researcher.

The language barrier and how to get past it

Chinese covers the README, the chapter summaries, the slide decks, and the prose inside each walkthrough. The notebooks are the exception, because code, library names, function calls, model identifiers, and stack traces read the same in any language.

So work backwards. Open the notebook first, read the code, then translate the surrounding prose only where the code alone is ambiguous. Machine translation handles technical Chinese well, so a browser translate button carries you through most walkthroughs.

The slide decks are the hard part. A PDF full of dense Chinese text and diagrams doesn’t translate cleanly, and those decks carry most of the theory. You get the practice and very little of the framing around it.

There’s a GitBook mirror at sjtullm.gitbook.io , but it stalled early. It holds four finished chapters plus two marked TBD, against 11 in the repo. Read the GitHub version instead. The team also built a companion course on building a model end to end with the Huawei Ascend community . That one is in Chinese too, and it targets Chinese hardware.

Someone who already knows the basics and wants the security chapters will do fine here. A complete beginner should learn the fundamentals in their own language first, then come back for chapters five through ten.

The missing license and what it stops you doing

GitHub detects no license for this repo. There’s no LICENSE file at the root, and no LICENSE.md or LICENSE.txt either. Without one, standard copyright applies by default, and GitHub’s own licensing documentation spells out the consequence.

If you don’t include a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work.

GitHub Docs (Licensing a repository)

So you can read the material and run it locally, but redistributing it is off the table. That blocks the people most likely to want it, such as a lecturer who wants to translate chapter five, or a bootcamp that wants to fork the notebooks and reuse a slide deck.

Diagram showing a missing LICENSE file leading to default copyright, then splitting into what you may do, read the chapters, run the notebooks and link to them, and what you may not do, translate, fork or reuse a slide deck

The explanation is probably mundane. Class notes get published as a public good, and nobody stops to pick a license. The project calls itself free and public-interest, and the missing file undercuts that in practice.

Nobody has asked, either. Search the repo’s issues for the word license and you get zero hits across all 25 threads, open and closed. Opening one is the most useful thing anyone could contribute here. Until that happens, link to the chapters rather than copying them.

How current the material is

The last commit landed in October 2025. The last real content drop came four months earlier, when the maths, GUI agent, alignment, and steganography chapters arrived. There are eight open issues against 17 closed, and six open pull requests against 15 closed, from 11 contributors. The repo gets light maintenance and not much new work.

Pinned versions age fastest. Chapter one’s requirements file asks for transformers==4.30.2 and torch==2.0.0, both from 2023. Chapter four builds on Qwen2.5-Math-1.5B, chapter nine on Qwen2-VL-7B. Expect to bump packages and swap in a newer model before anything runs.

The ideas hold up longest, and they carry most of the value. Watermarking, knowledge editing, and steganography haven’t changed shape since that last commit. The attack list in the jailbreak chapter is still current.

EasyEdit framework diagram listing its core, editor, model and evaluate modules beside knowledge editing methods including ROME, MEMIT, MEND and SERAC applied to models such as GPT, LLaMA and BERT
Chapter three runs on this toolkit, and its method list has barely moved
Image: EasyEdit, MIT

Treat the Dive into LLMs course as a syllabus plus a set of worked examples, and read each chapter alongside current docs for whatever library it names. Budget an afternoon per chapter for untangling dependencies. In return you get security material that nothing in English covers as well.