Llama 2 in LangChain — FIRST Open Source Conversational Agent!

From the creator

Llama 2 is the best-performing open-source Large Language Model (LLM) to date. In this video, we discover how to use the 70B parameter model fine-tuned for chat (Llama 2 70B Chat) using Hugging Face transformers and LangChain. We will see how to apply Llama 2 as a conversational agent within LangChain. 📌 Code Notebook https://github.com/pinecone-io/examples/blob/master/learn/generation/llm-field-guide/llama-2/llama-2-70b-chat-agent.ipynb 🌲 Subscribe for Latest Articles and Videos: https://www.pinecone.io/newsletter-signup/ 👋🏼 AI Consulting: https://aurelio.ai 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ 00:00 Llama 2 Model 02:55 Getting Access to Llama 2 06:12 Initializing Llama 2 70B with Hugging Face 08:17 Quantization and GPU Memory Requirements 11:14 Loading Llama 2 13:05 Stopping Criteria 15:17 Initializing Text Generation Pipeline 16:25 Loading Llama 2 in LangChain 17:08 Creating Llama 2 Conversational Agent 19:46 Prompt Engineering with Llama 2 Chat 22:16 Llama 2 Conversational Agent 24:14 Future of Open Source LLMs #artificialintelligence #nlp #opensource #huggingface #langchain

Choose to Build with AI
Matched to Hugging Face

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.