-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds Ollama as an LLM #8829
Adds Ollama as an LLM #8829
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…feature_ollama
Looks great; looking forward to testing later today / this evening. |
) | ||
|
||
|
||
class _OllamaCommon(BaseLanguageModel): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't think we need to split out _OllamaCommon if there's only one child class, unless we're planning on adding a ChatOllama soon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I figured it was a possibility, can recombine them though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave it, no point in recombining actually and the potential is there
LGTM! Just cleaned up the ntbk. I see 50 tok / s (Mac M2 Max 32 GB, w/ Llama-13b). |
ollama.mov |
Adds Ollama as an LLM. Ollama can run various open source models locally e.g. Llama 2 and Vicuna, automatically configuring and GPU-optimizing them.
@rlancemartin @hwchase17