Skip to content

Fix zero-shot tasks specs #1037

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

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Fix zero-shot tasks specs #1037

merged 2 commits into from
Nov 18, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Nov 18, 2024

Related to slack thread (private).

This PR fixes the specs for zero-shot-classification, zero-shot-image-classification and zero-shot-object-detection. The candidate labels must be sent as parameters, not in inputs. The Inference API itself did not change, it's just the specs that were not aligned with the existing API.

Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

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

thanks for fixing this!

Copy link
Member

@pcuenca pcuenca left a comment

Choose a reason for hiding this comment

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

Awesome!

@Wauplin
Copy link
Contributor Author

Wauplin commented Nov 18, 2024

thanks for the reviews!

@Wauplin Wauplin merged commit b863909 into main Nov 18, 2024
5 checks passed
@Wauplin Wauplin deleted the fix-zero-shot-tasks-specs branch November 18, 2024 14:23
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.

4 participants