llm-course is a free, open-source course designed to help learners enter the field of large language models (LLMs). The course is divided into three parts: optional LLM fundamentals (covering mathematics, Python, and neural networks), LLM Scientist, which focuses on building the best LLMs using the latest techniques, and LLM Engineer, which focuses on creating and deploying LLM-based applications. The course provides a roadmap and Colab notebooks, and the book "LLM Engineer's Handbook" was co-authored based on this course.
Purpose
The course aims to provide learners with a systematic learning path into the field of large language models, covering a complete body of knowledge from foundational mathematics to advanced model building and deployment.
Main Capabilities
The course is divided into three parts:
- LLM Fundamentals (Optional): Covers mathematics (linear algebra, calculus, probability and statistics), Python programming (basic syntax, data science libraries, preprocessing, machine learning libraries), and neural networks (structure, training optimization, overfitting, implementing MLPs), as well as natural language processing (text preprocessing, feature extraction, word embeddings, RNNs).
- LLM Scientist: Focuses on building the best LLMs using the latest techniques, including LLM architecture (Transformers, tokenization, attention mechanisms, sampling techniques), pretrained models (data preparation, distributed training, training optimization, monitoring), and post-training datasets (storage and chat templates, synthetic data generation, data augmentation, quality filtering).
- LLM Engineer: Focuses on creating and deploying LLM-based applications.
How to Use
The course provides a roadmap and Colab notebooks. Learners can follow the roadmap to study step by step and practice through the Colab notebooks. The course content is presented in the form of articles and notebooks, and some content requires reference to external resources.
Applicable Scenarios
Suitable for students, researchers, engineers, and enthusiasts who want to systematically learn about large language models, especially those who want to comprehensively master LLM building and deployment skills from fundamentals to advanced levels.
Limitations
Some course content requires prerequisite knowledge (such as mathematics and Python fundamentals), and the pretraining section requires substantial computational resources, so it is not suitable for beginners to attempt directly. The book "LLM Engineer's Handbook" mentioned in the course is paid content, but the course itself is free.