Topic Modeling with Llama 2

Maarten Grootendorst · Beginner ·🧠 Large Language Models ·2y ago
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
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Next Up
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)