Skip to content
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

Add Ollama Support #10

Merged
merged 4 commits into from
Sep 29, 2024
Merged

Add Ollama Support #10

merged 4 commits into from
Sep 29, 2024

Conversation

sidjha1
Copy link
Collaborator

@sidjha1 sidjha1 commented Sep 29, 2024

Adds support for Ollama and adds examples of using various LM providers. This adds a hf_name parameter to the OpenAIModel class which is helpful when the model name and tokenizer name differ. So we don't need to do this weird hardcoded mapping thing for Databricks models anymore.

Tested Ollama by running the operator examples with Ollama running Llama 3B locally on MacBook. Verified that OAI examples still work.

@sidjha1 sidjha1 requested a review from liana313 September 29, 2024 21:57
@liana313 liana313 merged commit 2dad842 into main Sep 29, 2024
1 check passed
@sidjha1 sidjha1 deleted the sid/ollama branch October 1, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants