LangChain + HuggingFace's Inference API (no OpenAI credits required!)

Samuel Chan
Samuel Chan
49.3 هزار بار بازدید - پارسال - We combine LangChain with GPT-2
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: LangChain + OpenAI tutorial: Building...

- Watch PART 2 of the LangChain / LLM series:
LangChain + OpenAI to chat w/ (query)...

- HuggingFace's T5 base finetuned WikiSQL model
https://huggingface.co/mrm8488/t5-bas...

- 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-py...
پارسال در تاریخ 1402/01/28 منتشر شده است.
49,318 بـار بازدید شده
... بیشتر