Skip to content

Commit 832a209

Browse files
authored
Update README.md
1 parent 3dacd30 commit 832a209

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

packages/inference/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ Your access token should be kept private. If you need to protect it in front-end
4646

4747
You can send inference requests to third-party providers with the inference client.
4848

49-
Currently, we support the following providers: [Fal.ai](https://fal.ai), [Replicate](https://replicate.com), [Together](https://together.xyz), [Sambanova](https://sambanova.ai), and [Fireworks AI](https://fireworks.ai).
49+
Currently, we support the following providers:
50+
- [Fal.ai](https://fal.ai)
51+
- [Fireworks AI](https://fireworks.ai)
52+
- [Replicate](https://replicate.com)
53+
- [Sambanova](https://sambanova.ai)
54+
- [Together](https://together.xyz)
5055

5156
To send requests to a third-party provider, you have to pass the `provider` parameter to the inference function. Make sure your request is authenticated with an access token.
5257
```ts
@@ -64,11 +69,11 @@ When authenticated with a Hugging Face access token, the request is routed throu
6469
When authenticated with a third-party provider key, the request is made directly against that provider's inference API.
6570

6671
Only a subset of models are supported when requesting third-party providers. You can check the list of supported models per pipeline tasks here:
67-
- [Fal.ai supported models](./src/providers/fal-ai.ts)
68-
- [Replicate supported models](./src/providers/replicate.ts)
69-
- [Sambanova supported models](./src/providers/sambanova.ts)
70-
- [Together supported models](./src/providers/together.ts)
71-
- [Fireworks AI supported models](./src/providers/fireworks-ai.ts)
72+
- [Fal.ai supported models](https://huggingface.co/api/partners/fal-ai/models)
73+
- [Fireworks AI supported models](https://huggingface.co/api/partners/fireworks-ai/models)
74+
- [Replicate supported models](https://huggingface.co/api/partners/replicate/models)
75+
- [Sambanova supported models](https://huggingface.co/api/partners/sambanova/models)
76+
- [Together supported models](https://huggingface.co/api/partners/together/models)
7277
- [HF Inference API (serverless)](https://huggingface.co/models?inference=warm&sort=trending)
7378

7479
**Important note:** To be compatible, the third-party API must adhere to the "standard" shape API we expect on HF model pages for each pipeline task type.

0 commit comments

Comments
 (0)