Save this video — free

UUtah CS 6340 NLP | Fall 2026 | Pretraining & finetuning

UofU Data Science · 1:16:29 · Watch on YouTube

UUtah CS 6340 NLP | Fall 2026 | Pretraining & finetuning Watch on YouTube →

Overview

Pretraining gives transformer models useful, transferable language patterns before task-specific fine-tuning; the lecture contrasts decoder-only models trained with next-token prediction against encoder-only models trained with masked language modeling. It also explains how attention masks, language-model and classification heads, and data choices shape model capabilities, then connects scaling laws to practical risks in corpus quality, bias, privacy, multilingual coverage, copyright, and benchmark contamination.

Key takeaways

Chapters

0:00 Transformer Attention, RoPE, and Modern LLM Building Blocks
5:32 Why Pretraining Improves Transformer Starting Weights
12:16 Three Choices Define a Pretraining and Fine-Tuning Setup
14:11 Decoder-Only Transformers Process Sources and Targets Together
22:12 Next-Token Prediction Trains Decoder-Only Models
24:37 Fine-Tuning a Decoder-Only Model with Its Language-Model Head
28:09 BERT-Style Encoder-Only Pretraining Uses Masked Language Modeling
34:06 The CLS Token and Classification Head Turn BERT into a Task Model
40:01 BERT's Benchmark Gains and Continuing Value for Retrieval
47:03 Comparing GPT, BERT, T5, and Teacher-Forcing Examples
52:45 Pretraining Corpora Mix Web, Code, and Higher-Quality Text
56:18 Scaling Laws Link Compute, Model Size, and Training Tokens
59:08 Bad Training Examples Can Destabilize Expensive Runs
1:03:25 Corpus Filtering Must Balance Harm, Representation, and Worker Safety
1:10:34 Multilingual Pretraining Requires Careful Sampling
1:13:30 Privacy, Copyright, and Benchmark Contamination in Web-Scale Training

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, UofU Data Science.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.