Topic Modeling with Llama 2
In this video, you'll learn how to use Llama 2 for Topic Modeling in Python.
Llama 2 is an incredible open-source Large Language Model that can perform on par with GPT-3.5. We will use BERTopic to create base topics and leverage Llama 2 to create natural labels.
Timeline
0:00 Introduction
0:36 How does BERTopic work?
2:44 Installing Dependencies
3:14 Data
4:38 Llama 2
6:19 Optimization & Quantization
10:23 Prompt Engineering
16:17 BERTopic - Preparing the sub-models
20:08 BERTopic - Training + Output
25:27 Visualization
💬 BERTopic: https://github.com/MaartenGr/bertopic
📒 Google Colab note…
Watch on YouTube ↗
(saves to browser)
Chapters (10)
Introduction
0:36
How does BERTopic work?
2:44
Installing Dependencies
3:14
Data
4:38
Llama 2
6:19
Optimization & Quantization
10:23
Prompt Engineering
16:17
BERTopic - Preparing the sub-models
20:08
BERTopic - Training + Output
25:27
Visualization
DeepCamp AI