mirror of
https://github.com/langchain-ai/langchain-benchmarks.git
synced 2026-07-21 06:05:22 -04:00
Does LangChain-Benchmarks only support models from the model registry? #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @harpreetsahota204 on GitHub (Dec 21, 2023).
I'd like to run some benchmarks against models from Hugging Face. The tutorials seem tailored for models from the registry or OpenAI.
Before I go down the rabbit hole and try to use it myself, I thought I'd see if it was possible or if anyone has done this before and has examples I can look at.
Thanks
@hinthornw commented on GitHub (Dec 21, 2023):
Nope! The registry is a convenience wrapper that makes it easier for us to do a sweep over a bunch of llms and architectures we've already defined (and make it easier for you to re-run our things if you want to reproduce them), but you can run it on anything. Here's an example that's more manual: https://langchain-ai.github.io/langchain-benchmarks/notebooks/tool_usage/intro.html#custom-agent-factory
Or you can pass in a langchain LLM to the other agent "factories"