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

[InferenceClient] Update inference documentation #2776

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

Conversation

hanouticelina
Copy link
Contributor

closes #2775.
This PR adds examples showing how to use third-party providers for inference. It also updates the inference documentation by adding a table listing each provider with the tasks they support.

Note that text-to-speech will be added for replicate in a following PR.

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.

Thanks @hanouticelina ! It's looking good :)

docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
src/huggingface_hub/inference/_client.py Outdated Show resolved Hide resolved
src/huggingface_hub/inference/_client.py Outdated Show resolved Hide resolved
@hanouticelina hanouticelina requested a review from Wauplin January 24, 2025 10:35
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.

Approved!

Let's wait for @julien-c / @SBrandeis review before merging

docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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.

(one more nit 😄)

docs/source/en/guides/inference.md Outdated Show resolved Hide resolved
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.

add documentation (examples with providers + maintain a provider <> tasks table)
3 participants