We combine LangChain with GPT-2 and HuggingFace, a platform hosting cutting-edge LLM and other deep learning AI models. This has the added benefit of not incurring any charges since we’re not using OpenAI (might as well, seeing we’re in a recession right about now) but instead using the GPT-2 model hosted on HuggingFace..
LangChain is a fantastic tool for developers looking to build AI systems using the variety of LLMs (large language models, like GPT-4, Alpaca, Llama etc), as it helps unify and standardize the developer experience in text embeddings, vector stores / databases (like Chroma), and chaining it for downstream applications through agents.
Mentioned in the video:
– Watch PART 1 of the LangChain / LLM series: https://youtu.be/DYOU_Z0hAwo
– Watch PART 2 of the LangChain / LLM series:
https://youtu.be/Fz0WJWzfNPI
– HuggingFace’s T5 base finetuned WikiSQL model
https://huggingface.co/mrm8488/t5-base-finetuned-wikiSQL
– HuggingFace GPT2 model
https://huggingface.co/gpt2
All the code for the LLM (large language models) series featuring GPT-3, ChatGPT, LangChain, LlamaIndex and more are on my github repository so go and star or fork it. Happy Coding!
https://github.com/onlyphantom/llm-python