Conversational Memory for LLMs Using LangChain and Huggingface - Python

preview_player
Показать описание
In order to have chain of conversations with LLMs you have to take additional steps. In this video I'll show how to do that with open source libraries. Langchain and Huggingface. GitHub below ↓

Want to support the channel? Hit that like button and subscribe!

GitHub Link of the Code

LangChain Huggingface Pipeline

LLM I Used

LangChain Memory Docs

Decoding Methods Blog Post

00:00 Introduction
01:50 Imports and Installations
04:33 Configuration Definition
06:10 Model and Tokenizer Definitions
06:52 Pipeline Definition
08:41 Stateless Chatbot
10:53 Regular Memory
24:19 Conversation Buffer Window Memory
28:31 Conversation Summary Memory
31:34 Outro
Рекомендации по теме
Комментарии
Автор

Thank you so much, a video that difficult to find on the internet again

Ece-kxqk
welcome to shbcf.ru