LangChain Chat with Flan20B
Автор: Sam Witteveen
Загружено: 2023-03-07
Просмотров: 15386
Описание:
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 - / sam_witteveen
Linkedin - / samwitteveen
Github:
https://github.com/samwit/langchain-t...
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
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: