From 4f799c92452894cb878e41fa0b10be4b3a2f6746 Mon Sep 17 00:00:00 2001
From: Wauplin <11801849+Wauplin@users.noreply.github.com>
Date: Sat, 5 Jul 2025 03:26:51 +0000
Subject: [PATCH] Update Inference Providers documentation (automated)
---
.../providers/hf-inference.md | 42 ++++++++++++++++++-
.../tasks/automatic-speech-recognition.md | 2 +-
.../tasks/chat-completion.md | 2 +-
.../tasks/feature-extraction.md | 2 +-
.../tasks/image-segmentation.md | 1 +
.../tasks/image-text-to-text.md | 2 +-
.../tasks/object-detection.md | 6 ++-
.../tasks/text-to-image.md | 3 +-
scripts/inference-providers/package.json | 2 +-
scripts/inference-providers/pnpm-lock.yaml | 10 ++---
10 files changed, 59 insertions(+), 13 deletions(-)
diff --git a/docs/inference-providers/providers/hf-inference.md b/docs/inference-providers/providers/hf-inference.md
index aba1a0ad8..355909840 100644
--- a/docs/inference-providers/providers/hf-inference.md
+++ b/docs/inference-providers/providers/hf-inference.md
@@ -45,13 +45,33 @@ If you are interested in deploying models to a dedicated and autoscaling infrast
## Supported tasks
+### Automatic Speech Recognition
+
+Find out more about Automatic Speech Recognition [here](../tasks/automatic_speech_recognition).
+
+
+
+
+### Chat Completion (VLM)
+
+Find out more about Chat Completion (VLM) [here](../tasks/chat-completion).
+
+
+
+
### Feature Extraction
Find out more about Feature Extraction [here](../tasks/feature_extraction).
@@ -85,6 +105,16 @@ Find out more about Image Segmentation [here](../tasks/image_segmentation).
/>
+### Object Detection
+
+Find out more about Object Detection [here](../tasks/object_detection).
+
+
+
+
### Question Answering
Find out more about Question Answering [here](../tasks/question_answering).
@@ -125,6 +155,16 @@ Find out more about Text Classification [here](../tasks/text_classification).
/>
+### Text To Image
+
+Find out more about Text To Image [here](../tasks/text_to_image).
+
+
+
+
### Token Classification
Find out more about Token Classification [here](../tasks/token_classification).
diff --git a/docs/inference-providers/tasks/automatic-speech-recognition.md b/docs/inference-providers/tasks/automatic-speech-recognition.md
index 9ac44cb83..18c5acbf9 100644
--- a/docs/inference-providers/tasks/automatic-speech-recognition.md
+++ b/docs/inference-providers/tasks/automatic-speech-recognition.md
@@ -38,7 +38,7 @@ Explore all available models and find the one that suits you best [here](https:/
diff --git a/docs/inference-providers/tasks/chat-completion.md b/docs/inference-providers/tasks/chat-completion.md
index 50dc903a6..13bd80bd5 100644
--- a/docs/inference-providers/tasks/chat-completion.md
+++ b/docs/inference-providers/tasks/chat-completion.md
@@ -73,7 +73,7 @@ conversational />
diff --git a/docs/inference-providers/tasks/feature-extraction.md b/docs/inference-providers/tasks/feature-extraction.md
index bc7f88aae..475aebfe1 100644
--- a/docs/inference-providers/tasks/feature-extraction.md
+++ b/docs/inference-providers/tasks/feature-extraction.md
@@ -38,7 +38,7 @@ Explore all available models and find the one that suits you best [here](https:/
diff --git a/docs/inference-providers/tasks/image-segmentation.md b/docs/inference-providers/tasks/image-segmentation.md
index a5ddc59b2..197800740 100644
--- a/docs/inference-providers/tasks/image-segmentation.md
+++ b/docs/inference-providers/tasks/image-segmentation.md
@@ -25,6 +25,7 @@ For more details about the `image-segmentation` task, check out its [dedicated p
### Recommended models
- [openmmlab/upernet-convnext-small](https://huggingface.co/openmmlab/upernet-convnext-small): Solid semantic segmentation model trained on ADE20k.
+- [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.
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).
diff --git a/docs/inference-providers/tasks/image-text-to-text.md b/docs/inference-providers/tasks/image-text-to-text.md
index 340bba7d6..1af52a723 100644
--- a/docs/inference-providers/tasks/image-text-to-text.md
+++ b/docs/inference-providers/tasks/image-text-to-text.md
@@ -33,7 +33,7 @@ Explore all available models and find the one that suits you best [here](https:/
diff --git a/docs/inference-providers/tasks/object-detection.md b/docs/inference-providers/tasks/object-detection.md
index 299a41788..3c36c4081 100644
--- a/docs/inference-providers/tasks/object-detection.md
+++ b/docs/inference-providers/tasks/object-detection.md
@@ -24,13 +24,17 @@ For more details about the `object-detection` task, check out its [dedicated pag
### Recommended models
+- [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50): Solid object detection model pre-trained on the COCO 2017 dataset.
Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=object-detection&sort=trending).
### Using the API
-There are currently no snippet examples for the **object-detection** task, as no providers support it yet.
+
diff --git a/docs/inference-providers/tasks/text-to-image.md b/docs/inference-providers/tasks/text-to-image.md
index ca89eae86..aed8e3c14 100644
--- a/docs/inference-providers/tasks/text-to-image.md
+++ b/docs/inference-providers/tasks/text-to-image.md
@@ -27,6 +27,7 @@ For more details about the `text-to-image` task, check out its [dedicated page](
- [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev): One of the most powerful image generation models that can generate realistic outputs.
- [latent-consistency/lcm-lora-sdxl](https://huggingface.co/latent-consistency/lcm-lora-sdxl): A powerful yet fast image generation model.
- [Kwai-Kolors/Kolors](https://huggingface.co/Kwai-Kolors/Kolors): Text-to-image model for photorealistic generation.
+- [stabilityai/stable-diffusion-3-medium-diffusers](https://huggingface.co/stabilityai/stable-diffusion-3-medium-diffusers): A powerful text-to-image model.
Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-to-image&sort=trending).
@@ -35,7 +36,7 @@ Explore all available models and find the one that suits you best [here](https:/
diff --git a/scripts/inference-providers/package.json b/scripts/inference-providers/package.json
index 2fd2d50e5..0298ebcef 100644
--- a/scripts/inference-providers/package.json
+++ b/scripts/inference-providers/package.json
@@ -14,7 +14,7 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@huggingface/inference": "^4.3.1",
+ "@huggingface/inference": "^4.3.2",
"@huggingface/tasks": "^0.19.22",
"@types/node": "^22.5.0",
"handlebars": "^4.7.8",
diff --git a/scripts/inference-providers/pnpm-lock.yaml b/scripts/inference-providers/pnpm-lock.yaml
index eec166721..36efe78c1 100644
--- a/scripts/inference-providers/pnpm-lock.yaml
+++ b/scripts/inference-providers/pnpm-lock.yaml
@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@huggingface/inference':
- specifier: ^4.3.1
- version: 4.3.1
+ specifier: ^4.3.2
+ version: 4.3.2
'@huggingface/tasks':
specifier: ^0.19.22
version: 0.19.22
@@ -189,8 +189,8 @@ packages:
cpu: [x64]
os: [win32]
- '@huggingface/inference@4.3.1':
- resolution: {integrity: sha512-wn5ErcX+HTeAYfNIkgjl6pkzGvTeskKRoCFodSmEfa+SmZnMo0/YDP46Ivnz2JV6DJwMd3naOtgYH6WZVD3qoQ==}
+ '@huggingface/inference@4.3.2':
+ resolution: {integrity: sha512-c7MJJPDbhb0Xy3JHvO3LaRhCDnfAthdmV3UiLCYH440UkIkECGwaLHAsWg9G2gdUrmcfzybZvZ0lAQhwsiTKnA==}
engines: {node: '>=18'}
'@huggingface/jinja@0.5.0':
@@ -415,7 +415,7 @@ snapshots:
'@esbuild/win32-x64@0.23.1':
optional: true
- '@huggingface/inference@4.3.1':
+ '@huggingface/inference@4.3.2':
dependencies:
'@huggingface/jinja': 0.5.0
'@huggingface/tasks': 0.19.22