Hacker News new | ask | show | jobs
by peterth3 1250 days 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.h...

[1]https://langchain.readthedocs.io/en/latest/getting_started/g...

[2]https://github.com/EleutherAI/gpt-neox

1 comments

Here are the docs on the built in models at the moment: 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.