3 ms·
What LLMs does LangChain support? Btw I asked chat.langchain.dev and it said: > LangChain uses pre-trained models from Hugging Face, such as BERT, GPT-2, and
by peterth3 4y ago
What LLMs does LangChain support?
Btw I asked chat.langchain.dev and it said:
> LangChain uses pre-trained models from Hugging Face, such as BERT, GPT-2, and XLNet. For more information, please see the Getting Started Documentation[0].
That links to a 404, but I did find the correct link[1]. Oddly that doc only mentions an OpenAI API wrapper. I couldn’t find anything about the other models from huggingface.
Does LangChain have any tooling around fine tuning pre-trained LLMs like GPTNeoX[2]?
[0]https://langchain.readthedocs.io/en/latest/getting_started.html https://langchain.readthedocs.io/en/latest/getting_started.h...
[1]https://langchain.readthedocs.io/en/latest/getting_started/getting_started.html https://langchain.readthedocs.io/en/latest/getting_started/g...
[2]https://github.com/EleutherAI/gpt-neox https://github.com/EleutherAI/gpt-neox
- lgas 4y agoHere are the docs on the built in models at the moment: https://langchain.readthedocs.io/en/latest/reference/modules/llms.html https://langchain.readthedocs.io/en/latest/reference/modules... One of their examples is from langchain import NLPCloud nlpcloud = NLPCloud(model="gpt-neox-20b") So it looks like you're good to go.