You have to take additional steps to have a chain of conversations with LLMs. 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
https://github.com/uygarkurt/SFT-Tiny...
LangChain Huggingface Pipeline
https://python.langchain.com/docs/int...
LLM I Used
https://huggingface.co/NousResearch/L...
LangChain Memory Docs
https://python.langchain.com/docs/mod...
Decoding Methods Blog Post
https://huggingface.co/blog/how-to-ge...
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
Buy me a coffee! ☕️
https://ko-fi.com/uygarkurt
Watch video Conversational Memory for LLMs Using LangChain and Huggingface - Python online without registration, duration hours minute second in high quality. This video was added by user Uygar Kurt 25 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,293 once and liked it 36 people.