Skip to content

Commit ca26828

Browse files
Update Inference Providers documentation (automated) (#1774)
Co-authored-by: Wauplin <[email protected]>
1 parent 15381ef commit ca26828

File tree

8 files changed

+31
-21
lines changed

8 files changed

+31
-21
lines changed

docs/inference-providers/providers/hf-inference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Find out more about Image Classification [here](../tasks/image_classification).
9595

9696
<InferenceSnippet
9797
pipeline=image-classification
98-
providersMapping={ {"hf-inference":{"modelId":"Falconsai/nsfw_image_detection","providerModelId":"Falconsai/nsfw_image_detection"} } }
98+
providersMapping={ {"hf-inference":{"modelId":"google/vit-base-patch16-224","providerModelId":"google/vit-base-patch16-224"} } }
9999
/>
100100

101101

@@ -105,7 +105,7 @@ Find out more about Image Segmentation [here](../tasks/image_segmentation).
105105

106106
<InferenceSnippet
107107
pipeline=image-segmentation
108-
providersMapping={ {"hf-inference":{"modelId":"facebook/detr-resnet-101-panoptic","providerModelId":"facebook/detr-resnet-101-panoptic"} } }
108+
providersMapping={ {"hf-inference":{"modelId":"mattmdjaga/segformer_b2_clothes","providerModelId":"mattmdjaga/segformer_b2_clothes"} } }
109109
/>
110110

111111

@@ -135,7 +135,7 @@ Find out more about Summarization [here](../tasks/summarization).
135135

136136
<InferenceSnippet
137137
pipeline=summarization
138-
providersMapping={ {"hf-inference":{"modelId":"facebook/bart-large-cnn","providerModelId":"facebook/bart-large-cnn"} } }
138+
providersMapping={ {"hf-inference":{"modelId":"eenzeenee/t5-base-korean-summarization","providerModelId":"eenzeenee/t5-base-korean-summarization"} } }
139139
/>
140140

141141

docs/inference-providers/providers/together.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ Find out more about Chat Completion (VLM) [here](../tasks/chat-completion).
5858
conversational />
5959

6060

61+
### Text Generation
62+
63+
Find out more about Text Generation [here](../tasks/text_generation).
64+
65+
<InferenceSnippet
66+
pipeline=text-generation
67+
providersMapping={ {"together":{"modelId":"deepseek-ai/DeepSeek-R1-0528","providerModelId":"deepseek-ai/DeepSeek-R1"} } }
68+
/>
69+
70+
6171
### Text To Image
6272

6373
Find out more about Text To Image [here](../tasks/text_to_image).

docs/inference-providers/tasks/image-classification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Explore all available models and find the one that suits you best [here](https:/
3535

3636
<InferenceSnippet
3737
pipeline=image-classification
38-
providersMapping={ {"hf-inference":{"modelId":"Falconsai/nsfw_image_detection","providerModelId":"Falconsai/nsfw_image_detection"}} }
38+
providersMapping={ {"hf-inference":{"modelId":"google/vit-base-patch16-224","providerModelId":"google/vit-base-patch16-224"}} }
3939
/>
4040

4141

docs/inference-providers/tasks/image-segmentation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ For more details about the `image-segmentation` task, check out its [dedicated p
2424

2525
### Recommended models
2626

27+
- [openmmlab/upernet-convnext-small](https://huggingface.co/openmmlab/upernet-convnext-small): Solid semantic segmentation model trained on ADE20k.
2728
- [facebook/mask2former-swin-large-coco-panoptic](https://huggingface.co/facebook/mask2former-swin-large-coco-panoptic): Panoptic segmentation model trained on the COCO (common objects) dataset.
2829

2930
Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=image-segmentation&sort=trending).
@@ -33,7 +34,7 @@ Explore all available models and find the one that suits you best [here](https:/
3334

3435
<InferenceSnippet
3536
pipeline=image-segmentation
36-
providersMapping={ {"hf-inference":{"modelId":"facebook/detr-resnet-101-panoptic","providerModelId":"facebook/detr-resnet-101-panoptic"}} }
37+
providersMapping={ {"hf-inference":{"modelId":"mattmdjaga/segformer_b2_clothes","providerModelId":"mattmdjaga/segformer_b2_clothes"}} }
3738
/>
3839

3940

docs/inference-providers/tasks/summarization.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ For more details about the `summarization` task, check out its [dedicated page](
2424

2525
### Recommended models
2626

27-
- [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn): A strong summarization model trained on English news articles. Excels at generating factual summaries.
2827
- [Falconsai/medical_summarization](https://huggingface.co/Falconsai/medical_summarization): A summarization model trained on medical articles.
2928

3029
Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=summarization&sort=trending).
@@ -34,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/
3433

3534
<InferenceSnippet
3635
pipeline=summarization
37-
providersMapping={ {"hf-inference":{"modelId":"facebook/bart-large-cnn","providerModelId":"facebook/bart-large-cnn"}} }
36+
providersMapping={ {"hf-inference":{"modelId":"eenzeenee/t5-base-korean-summarization","providerModelId":"eenzeenee/t5-base-korean-summarization"}} }
3837
/>
3938

4039

docs/inference-providers/tasks/text-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Explore all available models and find the one that suits you best [here](https:/
4141

4242
<InferenceSnippet
4343
pipeline=text-generation
44-
providersMapping={ {"hf-inference":{"modelId":"sarvamai/sarvam-m","providerModelId":"sarvamai/sarvam-m"}} }
44+
providersMapping={ {"hf-inference":{"modelId":"sarvamai/sarvam-m","providerModelId":"sarvamai/sarvam-m"},"together":{"modelId":"deepseek-ai/DeepSeek-R1-0528","providerModelId":"deepseek-ai/DeepSeek-R1"}} }
4545
/>
4646

4747

scripts/inference-providers/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"author": "",
1515
"license": "ISC",
1616
"dependencies": {
17-
"@huggingface/inference": "^4.0.2",
18-
"@huggingface/tasks": "^0.19.11",
17+
"@huggingface/inference": "^4.0.3",
18+
"@huggingface/tasks": "^0.19.12",
1919
"@types/node": "^22.5.0",
2020
"handlebars": "^4.7.8",
2121
"node": "^20.17.0",

scripts/inference-providers/pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)