LangChain How to and guides

Watch and track your favorite playlist.

Curated by: Sam Witteveen (52 videos)


Currently Playing: LangChain Chat with Flan20B

Colab: https://rli.to/Q44Lm The Flan20B-UL2 model turns out to be surprisingly better at conversation than expected when you take into account it wasn’t trained as a purely Chatbot system. In this video I go through how to set up the Flan20B using HuggingFace Hub and then create a simple conversational chain with memory and how to track the tokens being used. My Links: Twitter - https://twitter.com/Sam_Witteveen Linkedin - https://www.linkedin.com/in/samwitteveen/ Github: https://github.com/samwit/langchain-tutorials https://github.com/samwit/llm-tutorials 00:00 Intro 00:44 Setting up the Flan20b using HuggingFace Hub 01:13 Start chatting 02:40 Counting Tokens 03:08 Understanding the Tokenizer 04:24 Accessing the memory 05:40 Putting it together in a function 07:00 Fixing the bug 07:27 Chatting to the models 10:00 Summary Memory #LangChain #BuildingAppswithLLMs


Tracks in this Playlist