We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f8d0a commit 4bf4483Copy full SHA for 4bf4483
packages/inference/src/providers/hf-inference.ts
@@ -106,7 +106,7 @@ export class HFInferenceTask extends TaskProviderHelper {
106
makeRoute(params: UrlParams): string {
107
if (params.task && ["feature-extraction", "sentence-similarity"].includes(params.task)) {
108
// when deployed on hf-inference, those two tasks are automatically compatible with one another.
109
- return `pipeline/${params.task}/${params.model}`;
+ return `models/${params.model}/pipeline/${params.task}`;
110
}
111
return `models/${params.model}`;
112
0 commit comments