- Course
LLM Basics and Transformers with PyTorch
Go beyond calling an LLM API and understand what happens under the hood. This course will teach you how transformers process text and how to run, optimize, and fine-tune them efficiently with PyTorch.
- Course
LLM Basics and Transformers with PyTorch
Go beyond calling an LLM API and understand what happens under the hood. This course will teach you how transformers process text and how to run, optimize, and fine-tune them efficiently with PyTorch.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- AI
What you'll learn
Building effective LLM applications requires more than knowing how to call an API. In this course, LLM Basics and Transformers with PyTorch, you'll gain the ability to understand, run, optimize, and adapt transformer models. First, you'll explore how transformers turn text into representations using tokenization, embeddings, positional encoding, self-attention, and different transformer architectures. Next, you'll discover how to run pretrained transformers efficiently using KV caching, grouped-query attention, and quantization. Finally, you'll learn how to configure and fine-tune pretrained transformers using parameter-efficient techniques such as LoRA and QLoRA, while applying strategies to reduce overfitting. When you're finished with this course, you'll have the skills and knowledge of transformers and PyTorch needed to optimize their inference and customize pretrained models for downstream tasks.