Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Llama 2 in LangChain - First Open Source Conversational Agent

James Briggs via YouTube

Overview

Explore the implementation of Llama 2, the leading open-source Large Language Model, in LangChain for creating a conversational agent. Learn how to access and initialize the 70B parameter model fine-tuned for chat using Hugging Face transformers. Discover techniques for quantization, managing GPU memory requirements, and setting stopping criteria. Follow along as the video demonstrates loading Llama 2 into LangChain, creating a conversational agent, and applying prompt engineering. Gain insights into the future of open-source LLMs and their potential applications in artificial intelligence and natural language processing.

Syllabus

Llama 2 Model
Getting Access to Llama 2
Initializing Llama 2 70B with Hugging Face
Quantization and GPU Memory Requirements
Loading Llama 2
Stopping Criteria
Initializing Text Generation Pipeline
Loading Llama 2 in LangChain
Creating Llama 2 Conversational Agent
Prompt Engineering with Llama 2 Chat
Llama 2 Conversational Agent
Future of Open Source LLMs

Taught by

James Briggs

Reviews

Start your review of Llama 2 in LangChain - First Open Source Conversational Agent

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.