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 visual question answering to inference client #1621

Conversation

martinbrose
Copy link
Contributor

Add visual-question-answering to HuggingFace🤗 Hub

References #1539

This is an ongoing list of model tasks to implement in the Hugging Face Hub inference client. Each task is planned to be its own PR. The task for this is visual-question-answering.

Key Features

  • Modifies _client.py to call a visual-question-answering model.
  • Modifies documentation to reflect changes.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Another great one :) I removed the parameters arg since there is none documented in hf.co/tasks. I adapted the example in the docstring and added a test for it. Looks good to merge :)

@Wauplin Wauplin merged commit cb8fcc4 into huggingface:main Sep 6, 2023
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@martinbrose martinbrose deleted the 1539-InferenceClient-visual-question-answering branch September 6, 2023 22:44
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.

3 participants