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

Enum/Classification support for models that do not support logitBias #746

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

raulraja
Copy link
Contributor

@raulraja raulraja commented May 27, 2024

This pull request adds support to work with enums and classification for models that do not have the logitBias property. It also includes an example using Ollama's Gemma 2B model.

javipacheco
javipacheco previously approved these changes May 29, 2024
Copy link
Contributor

@javipacheco javipacheco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great. I've tested ollama locally and everything works as expected

Just a minor comments

LGTM!

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