Sebastian Raschka
L14.6.2 Transfer Learning in PyTorch Code Example
updated
- Step-by-step guide converting GPT to Llama: github.com/rasbt/LLMs-from-scratch/blob/main/ch05/07_gpt_to_llama/converting-gpt-to-llama2.ipynb
- Build a Large Language Model (From Scratch): http://mng.bz/M96o
- LitGPT: github.com/Lightning-AI/litgpt
- The Llama 3 Herd of Models (31 July 2024), arxiv.org/abs/2407.21783
- Qwen2 Technical Report (15 July 2024), arxiv.org/abs/2407.10671
- Apple Intelligence Foundation Language Models (29 July 2024), arxiv.org/abs/2407.21075
- Gemma 2: Improving Open Language Models at a Practical Size (31 July 2024), arxiv.org/abs/2408.0011
DESCRIPTION:
In this video, you'll learn about the architectural difference between the original GPT model and the various Llama models. Moreover, you'll also learn about new pre-training recipes used for Qwen 2, Gemma 2, Apple's Foundation Models, and Llama 3, as well as some of the efficiency tweaks introduced by Mixtral, Llama 3, and Gemma 2.
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
---
OUTLINE:
0:00 Introduction
2:05 Pre-training in 2024
6:11 GPT-architecture vs Llama
11:27 GPT and other architectures
16:47 Takeaways
1. Build an LLM from Scratch book: amzn.to/4fqvn0D
2. Build an LLM from Scratch repo: github.com/rasbt/LLMs-from-scratch
3. GitHub repository with workshop code: github.com/rasbt/LLM-workshop-2024
4. Lightning Studio for this workshop: lightning.ai/lightning-ai/studios/llms-from-the-ground-up-workshop?view=public
5. LitGPT: github.com/Lightning-AI/litgpt
DESCRIPTION:
This tutorial is aimed at coders interested in understanding the building blocks of large language models (LLMs), how LLMs work, and how to code them from the ground up in PyTorch. We will kick off this tutorial with an introduction to LLMs, recent milestones, and their use cases. Then, we will code a small GPT-like LLM, including its data input pipeline, core architecture components, and pretraining code ourselves. After understanding how everything fits together and how to pretrain an LLM, we will learn how to load pretrained weights and finetune LLMs using open-source libraries.
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
---
OUTLINE:
0:00 – Workshop overview
2:17 – Part 1: Intro to LLMs
9:14 – Workshop materials
10:48 – Part 2: Understanding LLM input data
23:25 – A simple tokenizer class
41:03 – Part 3: Coding an LLM architecture
45:01 – GPT-2 and Llama 2
1:07:11 – Part 4: Pretraining
1:29:37 – Part 5.1: Loading pretrained weights
1:45:12 – Part 5.2: Pretrained weights via LitGPT
1:53:09 – Part 6.1: Instruction finetuning
2:08:21 – Part 6.2: Instruction finetuning via LitGPT
02:26:45 – Part 6.3: Benchmark evaluation
02:36:55 – Part 6.4: Evaluating conversational performance
02:42:40 – Conclusion
This video explains what PyTorch buffers are, a concept that is particularly useful when dealing with GPU computations and implement large models like LLMs.
Code notebook: github.com/rasbt/LLMs-from-scratch/blob/main/ch03/03_understanding-buffers/understanding-buffers.ipynb
GitHub discussion about "triu" in the forward pass: github.com/rasbt/LLMs-from-scratch/discussions/282
Link to the Studio GPU environment to follow along: lightning.ai/seraschka/studios/understanding-pytorch-buffers?section=recent
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
1. Build an LLM from Scratch book: amzn.to/4fqvn0D
2. Build an LLM from Scratch repo: github.com/rasbt/LLMs-from-scratch
3. Slides: sebastianraschka.com/pdf/slides/2024-build-llms.pdf
4. LitGPT: github.com/Lightning-AI/litgpt
5. TinyLlama pretraining: lightning.ai/lightning-ai/studios/pretrain-llms-tinyllama-1-1b
DESCRIPTION:
This video provides an overview of the three stages of developing an LLM: Building, Training, and Finetuning. The focus is on explaining how LLMs work by describing how each step works.
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
---
OUTLINE:
00:00 – Using LLMs
02:50 – The stages of developing an LLM
05:26 – The dataset
10:15 – Generating multi-word outputs
12:30 – Tokenization
15:35 – Pretraining datasets
21:53 – LLM architecture
27:20 – Pretraining
35:21 – Classification finetuning
39:48 – Instruction finetuning
43:06 – Preference finetuning
46:04 – Evaluating LLMs
53:59 – Pretraining & finetuning rules of thumb
REFERENCES:
1. Link to the code on GitHub: github.com/rasbt/MachineLearning-QandAI-book/tree/main/supplementary/q10-random-sources
2. Link to the book mentioned at the end of the video: nostarch.com/machine-learning-q-and-ai
DESCRIPTION:
In this video, we managing common sources of randomness when training deep neural networks. We cover sources of randomness, including model weight initialization, dataset sampling and shuffling, nondeterministic algorithms, runtime algorithm differences, hardware and driver variations, and generative AI sampling.
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
---
OUTLINE:
00:00 – Introduction
01:14 – 1. Model Weight Initialization
04:28 – 2. Dataset Sampling and Shuffling
07:45 – 3. Nondeterministic Algorithms
11:13 – 4. Different Runtime Algorithms
14:30 – 5. Hardware and Drivers
15:39 – 6. Randomness and Generative AI
20:56 – Recap
22:34 – Surprise
Links:
- LoRA: Low-Rank Adaptation of Large Language Models, arxiv.org/abs/2106.09685
- LitGPT: github.com/Lightning-AI/lit-gpt
- LitGPT LoRA Tutorial: github.com/Lightning-AI/lit-gpt/blob/main/tutorials/finetune_lora.md
Low-rank adaptation (LoRA) stands as one of the most popular and effective methods for efficiently training custom Large Language Models (LLMs). As practitioners of open-source LLMs, we regard LoRA as a crucial technique in our toolkit.
In this talk, I will delve into some practical insights gained from running hundreds of experiments with LoRA, addressing questions such as: How much can I save with quantized LoRA? Are Adam optimizers memory-intensive? Should we train for multiple epochs? How do we choose the LoRA rank?
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
This video offers a quick dive into the world of finetuning Large Language Models (LLMs). This video covers
- common usage scenarios for pretrained LLMs
- parameter-efficient finetuning
- a hands-on guide to using the 'lit-GPT' open-source repository for LLM finetuning
#FineTuning #LargeLanguageModels #LLMs #OpenAI #DeepLearning
Useful links to resources discussed in this video:
Code for the LLM classifier: github.com/rasbt/LLM-finetuning-scripts/tree/main/conventional/distilbert-movie-review
Lit-GPT repository: github.com/Lightning-AI/lit-gpt
NeurIPS LLM efficiency challenge: llm-efficiency-challenge.github.io
My latest articles on LLM research: magazine.sebastianraschka.com
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
twitter.com/rasbt
linkedin.com/in/sebastianraschka
Code examples: github.com/rasbt/cvpr2023
In this short tutorial, I will show you how to accelerate the training of LLMs and Vision Transformers with minimal code changes using open-source libraries.
---
To support this channel, please consider purchasing a copy of my books: sebastianraschka.com/books
---
https://x.com/rasbt
linkedin.com/in/sebastianraschka
magazine.sebastianraschka.com
This replaces a previous video where the video & audio were out of sync.
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L13_intro-cnn__slides.pdf
Code: github.com/rasbt/stat453-deep-learning-ss21/blob/main/L13/code/notes/cross-correlation.ipynb
Using deep neural networks for prediction problems where the labels have a natural order.
Link to the code and slides: github.com/rasbt/scipy2022-talk
Code: github.com/rasbt/machine-learning-notes/blob/main/demos/basic-pytorch-cnn-for-3-ele-pytorch-video.ipynb
Slides: sebastianraschka.com/pdf/slides/2022-05_three-elements-pytorch.pdf
00:00 Three elements of PyTorch
02:10 (1) Tensor library
05:56 (2) Automatic differentiation engine
13:32 (3) Deep learning library
14:27 PyTorch in 3 Steps
15:17 Step 1: defining the model
23:32 Step 2: defining the training loop
30:20 Step 3: defining the dataset
39:34 Why do I like PyTorch?
42:25 Hands-on code demo
This talk is an hour long introduction to PyTorch focusing on its three core elements: tensor (array) computing, automatic differentiation, and deep learning utilities.
Deep learning offers state-of-the-art results for classifying images and text. Common deep learning architectures and training procedures focus on predicting unordered categories, such as recognizing a positive and negative sentiment from written text or indicating whether images contain cats, dogs, or airplanes. However, in many real-world problems, we deal with prediction problems where the target variable has an intrinsic ordering. For example, think of customer ratings (e.g., 1 to 5 stars) or medical diagnoses (e.g., disease severity labels such as none, mild, moderate, and severe). This talk will describe the core concepts behind working with ordered class labels, so-called ordinal data. We will cover hands-on PyTorch examples showing how to take existing deep learning architectures for classification and outfit them with loss functions better suited for ordinal data while only making minimal changes to the core architecture.
Slides: sebastianraschka.com/pdf/slides/2022-02_rework-coral-lightning.pdf
Code: raschka-research-group.github.io/coral-pytorch
0:00 Introduction
0:32 Many Real-World Predictions Problems Have Ordered Labels
0:57 Ordered Labels? Tell Me More!
3:59 Can't we just use regular classifiers for ordered labels?
5:47 How? Let's (Re)Use What We Already know: An Extended Binary Classification Framework
8:07 Problem: rank inconsistency
10:53 Converting a Classifier into a CORN Model in 3 Lines of Code
13:09 Acknowledgements
This final video in the "Feature Selection" series shows you how to use Sequential Feature Selection in Python using both mlxtend and scikit-learn.
Jupyter notebook: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/08_sequential-feature-selection.ipynb
Timestamps:
00:00 Dataset setup and KNN baseline
04:08 Selecting the best 5 features
10:18 Inspecting the results
13:40 Selecting the best subset of any size
17:29 Exhaustive search
21:12 Sequential feature selection in scikit-learn
-------
This video is part of my Introduction of Machine Learning course.
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
This video explains how sequential feature selection works. Sequential feature selection is a wrapper method for feature selection that uses the performance (e.g., accuracy) of a classifier to select good feature subsets in an iterative fashion. You can think of sequential feature selection method as an efficient approximation to an exhaustive feature subset search.
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf
Sequential feature selection paper: Ferri, F. J., Pudil P., Hatef, M., Kittler, J. (1994). "Comparative study of techniques for large-scale feature selection." Pattern Recognition in Practice IV : 403-413. sciencedirect.com/science/article/pii/B9780444818928500407
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtube.com/watch?v=KYypVSwqqHI&list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3&index=95
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
This video shows code examples for computing permutation importance in mlxtend and scikit-learn.
Permutation importance is a model-agnostic, versatile way for computing the importance of features based on a machine learning classifier or regression model.
Code notebooks:
Wine data example: github.com/rasbt/stat451-machine-
learning-fs21/blob/main/13-feature-selection/05_permutation-importance.ipynb
Using a random feature as a control: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/06_random_feature_as_control.ipynb
Checking correlated features: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/07_perm-imp-with-correlated-feats.ipynb
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf
Random forest importance video: youtu.be/ycyCtxZ0a9w
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/0vCXcGJg5Bo
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
This video introduces permutation importance, which is a model-agnostic, versatile way for computing the importance of features based on a machine learning classifier or regression model.
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf
Random forest importance video: youtu.be/ycyCtxZ0a9w
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/meTXOuFV-s8
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
In this video, we start our discussion of wrapper methods for feature selection. In particular, we cover Recursive Feature Elimination (RFE) and see how we can use it in scikit-learn to select features based on linear model coefficients.
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf
Code: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/04_recursive-feature-elimination.ipynb
Logistic regression lectures:
L8.0 Logistic Regression – Lecture Overview (06:28)
youtube.com/watch?v=10PTpRRpRk0
L8.1 Logistic Regression as a Single-Layer Neural Network (09:15)
youtube.com/watch?v=ncZ5iSZekVQ
L8.2 Logistic Regression Loss Function (12:57)
youtube.com/watch?v=GxJe0DZvydM
L8.3 Logistic Regression Loss Derivative and Training (19:57)
youtube.com/watch?v=7rR1L7t2EnA
L8.4 Logits and Cross Entropy (06:47)
youtube.com/watch?v=icQaFxKa_J0
L8.5 Logistic Regression in PyTorch – Code Example (19:02)
youtube.com/watch?v=6igMArA6k3A
L8.6 Multinomial Logistic Regression / Softmax Regression (17:31)
youtube.com/watch?v=L0FU8NFpx4E
L8.7.1 OneHot Encoding and Multi-category Cross Entropy (15:34)
youtube.com/watch?v=4n71-tZ94yk
L8.7.2 OneHot Encoding and Multi-category Cross Entropy Code Example (15:04)
youtube.com/watch?v=5bW0vn4ISqs
L8.8 Softmax Regression Derivatives for Gradient Descent (19:38)
youtube.com/watch?v=aeM-fmcdkXU
L8.9 Softmax Regression Code Example Using PyTorch (25:39)
youtube.com/watch?v=mM6apVBXGEA
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/VUvShOEFdQo
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
This video explains how decision trees training can be regarded as an embedded method for feature selection. Then, we will also look at random forest feature importance and go over two different ways it's computed: (a) impurity-based and (b) permutation-based.
Slide link: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf
Code link: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/03_random-forest.ipynb
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/SljoN0cO95Q
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Without going into the nitty-gritty details behind logistic regression, this lecture explains how/why we can consider an L1 penalty --- a modification of the loss function -- as an embedded feature selection method.
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf
Code: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/02_lasso-path.ipynb
Links to the logistic regression videos I referenced:
sebastianraschka.com/blog/2021/dl-course.html#l08-multinomial-logistic-regression--softmax-regression
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/ycyCtxZ0a9w
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Sorry, I had some issues with the microphone (a too aggressive filter to remove background noise). Should be better in the next vids!
Description: This video dives into "filter methods" for feature selection. In particular, we focus on using a variance threshold to select informative features.
Code: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/01_variance-threshold.ipynb
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs20/13_feat-sele__slides.pdf
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/_aGWjt7GKBE
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
In this video, I am introducing the three main categories of feature selection: filter methods, embedded methods, and wrapper methods.
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs20/13_feat-sele__slides.pdf
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/l40H2-XdrEc
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
This video gives a brief intro of how we care about dimensionality reduction and introduces feature selection as a subcategory that we will cover in more detail in the upcoming videos.
Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs20/13_feat-sele__slides.pdf
-------
This video is part of my Introduction of Machine Learning course.
Next video: youtu.be/hV_I4Xb9fRg
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
July 2021. Invited tutorial lecture at the International Summer School on Deep Learning, Gdansk.
Slides: sebastianraschka.com/pdf/slides/2021-07_issdl-gdansk-intro-to-gans.pdf
Code: github.com/rasbt/2021-issdl-gdansk
===================
This lecture introduces the main concepts behind Generative Adversarial Networks (GANs) and explains the main ideas behind the objective function for optimizing the generator and discriminator subnetworks. Hands-on examples include GANs for handwrittten digit and face generation, implemented in PyTorch. Lastly, this talks summarizes some of the main milestone GAN architectures that emerged in recent years.
July 2021. Invited keynote talk at the 14th International Conference on Human System Interaction (HSI 2021).
Slides: sebastianraschka.com/pdf/slides/2021-07_HSI_talk.pdf
After introducing the main concepts behind face recognition and soft-biometric attribute mining (i.e., the extraction of information such as age, gender, race, health information, and others), this talk discusses different methods for hiding soft-biometric information from facial recognition systems. After introducing the main methodologies, the talk focuses on the PrivacyNet architecture, which is a GAN-based approach to collective and selective facial privacy.
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/_BFp4kjSB-I
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/wYdKn-X4MhY
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/emDmznRlsWw
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
0:00 Introduction
0:33 BART. Combining Bidirectional and Auto-Regressive Transformers
2:14 BART. BERT Encoder + GPT Decoder - Noise Transformations
4:39 Noise Transformations in BART for Pre-Training on Unlabeled Data
6:19 BART Performance Under Different Noise Transformations
7:04 Fine-Tuning on Labeled Data
8:21 BART Performance for Discriminative Tasks
9:26 BART Performance for Generative Tasks
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/OyqIuxMmLRg
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/1JBMCG8rW18
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
Code: github.com/rasbt/stat453-deep-learning-ss21/tree/main/L19/distilbert-classifier
-------
This video is part of my Introduction of Deep Learning course.
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
0:00 Introduction
0:29 BERT (Bidirectional Encoder Representations from Transformers)
1:44 BERT Inputs
4:18 BERT Pre-Training Task #1
9:47 BERT Pre-Training & Downstream Tasks
11:51 Transformer Training Approach
12:16 BERT Pre-Training & Fine-Tuning Approach
13:49 BERT vs GPT-v1 Performance
14:59 BERT Pre-Training & Feature-based Training
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/BXv1m9Asl7I
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/LOCzBgSV4tQ
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/iFhYwEi03Ew
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/tstbZXNCfLY
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/A1eUVxscNq8
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/0PjHri8tc1c
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/i_pfHD4P_wg
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/tL5puCeDr-o
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
Code: github.com/rasbt/stat453-deep-learning-ss21/tree/main/L19/character-rnn
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/mDZil99CtSU
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/PFcWQkGP4lU
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L19_seq2seq_rnn-transformers__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/fSBw6TrePPg
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
Code: github.com/rasbt/stat453-deep-learning-ss21/tree/main/L18
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/DlWTTrHa8bI
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
Code: github.com/rasbt/stat453-deep-learning-ss21/tree/main/L18
GAN Tips repo: github.com/soumith/ganhacks
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/5fs9PMzrVig
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
Code: github.com/rasbt/stat453-deep-learning-ss21/blob/main/L18
This video discusses 04_01_gan-mnist.ipynb
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/_cUdjPdbldQ
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/cTlxZ1FO1mY
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/ILpC3b-819Q
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/m_H6viKCTEE
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L18_gan__slides.pdf
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/-Zi5SReze6U
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L17_vae__slides.pdf
L17 code: github.com/rasbt/stat453-deep-learning-ss21/tree/main/L17
Discussing 5_VAE_celeba_latent-arithmetic.ipynb
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/OnoPaZaKoS8
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L17_vae__slides.pdf
L17 code: github.com/rasbt/stat453-deep-learning-ss21/tree/main/L17
Discussing 2_VAE_celeba-sigmoid_mse.ipynb,
3_VAE_nearest-neighbor-upsampling.ipynb
& 4_VAE_celeba-inspect-latent.ipynb
-------
This video is part of my Introduction of Deep Learning course.
Next video: youtu.be/EfFr87ARDF0
The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51
A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html
-------
If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka


