Skip to content

Conversation

@Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Feb 14, 2025

Related to #2851 and huggingface/huggingface.js#1201.

There was a little misunderstanding on what we were trying to achieve 😄

@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

@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.

thank you!

a bit of context for us in the future: it turns out the numbers show that the feature-extraction API is still used with the sentence-similarity models, so we decided not killing this feature for now. more info in this slack message (internal).

return f"{self.base_url}/models/{mapped_model}"
return (
# Feature-extraction and sentence-similarity are the only cases where we handle models with several tasks.
f"{self.base_url}/pipeline/{self.task}/{mapped_model}"
Copy link
Member

Choose a reason for hiding this comment

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

note: this URL is probably not super easy to "route" to a specific Pod on the Infra side, but it'd be painful to change it now

@Wauplin Wauplin merged commit 7553646 into main Feb 14, 2025
17 checks passed
@Wauplin Wauplin deleted the partial-revert-2851 branch February 14, 2025 09:45
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.

5 participants