AI MOOC
✦ Grow togetherInvite 3 friends, earn 1 month of membership · Up to 12 monthsInvite friends →

Free learning library / Datawhale

Happy-LLM: Learn and Build Language Models

Learn NLP foundations, Transformers, pretraining and fine-tuning with hands-on exercises.

Online book · Large language models · Chinese

Who it is for

For Python learners who want to understand and build language models.

What you can learn

Study text representations, Transformers, pretraining and model training, then explore RAG and agents.

Try it first

Map the inputs, attention and outputs of a Transformer, then run a small example and record its resource needs.

Free access and conditions

The book is free to read online. Training may require a GPU or other compute resources.

Source and rights

Links to the author's online edition; check separate licenses for code and third-party material.

Source: Datawhale

Related learning resources

Continue learning: Free courses on AI MOOC

Read now