@@ -42,19 +42,31 @@ All supported HF Inference models can be found [here](https://huggingface.co/mod
4242HF Inference is the serverless Inference API powered by Hugging Face. This service used to be called "Inference API (serverless)" prior to Inference Providers.
4343If you are interested in deploying models to a dedicated and autoscaling infrastructure managed by Hugging Face, check out [ Inference Endpoints] ( https://huggingface.co/docs/inference-endpoints/index ) instead.
4444
45+ As of July 2025, hf-inference focuses mostly on CPU inference (e.g. embedding, text-ranking, text-classification, or smaller LLMs that have historical importance like BERT or GPT-2).
46+
4547## Supported tasks
4648
4749
4850### Automatic Speech Recognition
4951
50- Find out more about Automatic Speech Recognition [ here] ( ../tasks/automatic-speech-recognition ) .
52+ Find out more about Automatic Speech Recognition [ here] ( ../tasks/automatic_speech_recognition ) .
5153
5254<InferenceSnippet
5355 pipeline=automatic-speech-recognition
5456 providersMapping={ {"hf-inference":{"modelId":"openai/whisper-large-v3","providerModelId":"openai/whisper-large-v3"} } }
5557/>
5658
5759
60+ ### Chat Completion (LLM)
61+
62+ Find out more about Chat Completion (LLM) [ here] ( ../tasks/chat-completion ) .
63+
64+ <InferenceSnippet
65+ pipeline=text-generation
66+ providersMapping={ {"hf-inference":{"modelId":"HuggingFaceTB/SmolLM3-3B","providerModelId":"HuggingFaceTB/SmolLM3-3B"} } }
67+ conversational />
68+
69+
5870### Chat Completion (VLM)
5971
6072Find out more about Chat Completion (VLM) [ here] ( ../tasks/chat-completion ) .
@@ -67,7 +79,7 @@ conversational />
6779
6880### Feature Extraction
6981
70- Find out more about Feature Extraction [ here] ( ../tasks/feature-extraction ) .
82+ Find out more about Feature Extraction [ here] ( ../tasks/feature_extraction ) .
7183
7284<InferenceSnippet
7385 pipeline=feature-extraction
@@ -77,7 +89,7 @@ Find out more about Feature Extraction [here](../tasks/feature-extraction).
7789
7890### Fill Mask
7991
80- Find out more about Fill Mask [ here] ( ../tasks/fill-mask ) .
92+ Find out more about Fill Mask [ here] ( ../tasks/fill_mask ) .
8193
8294<InferenceSnippet
8395 pipeline=fill-mask
@@ -87,7 +99,7 @@ Find out more about Fill Mask [here](../tasks/fill-mask).
8799
88100### Image Classification
89101
90- Find out more about Image Classification [ here] ( ../tasks/image-classification ) .
102+ Find out more about Image Classification [ here] ( ../tasks/image_classification ) .
91103
92104<InferenceSnippet
93105 pipeline=image-classification
@@ -97,17 +109,17 @@ Find out more about Image Classification [here](../tasks/image-classification).
97109
98110### Image Segmentation
99111
100- Find out more about Image Segmentation [ here] ( ../tasks/image-segmentation ) .
112+ Find out more about Image Segmentation [ here] ( ../tasks/image_segmentation ) .
101113
102114<InferenceSnippet
103115 pipeline=image-segmentation
104- providersMapping={ {"hf-inference":{"modelId":"mattmdjaga/segformer_b2_clothes ","providerModelId":"mattmdjaga/segformer_b2_clothes "} } }
116+ providersMapping={ {"hf-inference":{"modelId":"jonathandinu/face-parsing ","providerModelId":"jonathandinu/face-parsing "} } }
105117/>
106118
107119
108120### Object Detection
109121
110- Find out more about Object Detection [ here] ( ../tasks/object-detection ) .
122+ Find out more about Object Detection [ here] ( ../tasks/object_detection ) .
111123
112124<InferenceSnippet
113125 pipeline=object-detection
@@ -117,7 +129,7 @@ Find out more about Object Detection [here](../tasks/object-detection).
117129
118130### Question Answering
119131
120- Find out more about Question Answering [ here] ( ../tasks/question-answering ) .
132+ Find out more about Question Answering [ here] ( ../tasks/question_answering ) .
121133
122134<InferenceSnippet
123135 pipeline=question-answering
@@ -137,7 +149,7 @@ Find out more about Summarization [here](../tasks/summarization).
137149
138150### Table Question Answering
139151
140- Find out more about Table Question Answering [ here] ( ../tasks/table-question-answering ) .
152+ Find out more about Table Question Answering [ here] ( ../tasks/table_question_answering ) .
141153
142154<InferenceSnippet
143155 pipeline=table-question-answering
@@ -147,17 +159,27 @@ Find out more about Table Question Answering [here](../tasks/table-question-answ
147159
148160### Text Classification
149161
150- Find out more about Text Classification [ here] ( ../tasks/text-classification ) .
162+ Find out more about Text Classification [ here] ( ../tasks/text_classification ) .
151163
152164<InferenceSnippet
153165 pipeline=text-classification
154166 providersMapping={ {"hf-inference":{"modelId":"tabularisai/multilingual-sentiment-analysis","providerModelId":"tabularisai/multilingual-sentiment-analysis"} } }
155167/>
156168
157169
170+ ### Text Generation
171+
172+ Find out more about Text Generation [ here] ( ../tasks/text_generation ) .
173+
174+ <InferenceSnippet
175+ pipeline=text-generation
176+ providersMapping={ {"hf-inference":{"modelId":"HuggingFaceTB/SmolLM3-3B","providerModelId":"HuggingFaceTB/SmolLM3-3B"} } }
177+ />
178+
179+
158180### Text To Image
159181
160- Find out more about Text To Image [ here] ( ../tasks/text-to-image ) .
182+ Find out more about Text To Image [ here] ( ../tasks/text_to_image ) .
161183
162184<InferenceSnippet
163185 pipeline=text-to-image
@@ -167,7 +189,7 @@ Find out more about Text To Image [here](../tasks/text-to-image).
167189
168190### Token Classification
169191
170- Find out more about Token Classification [ here] ( ../tasks/token-classification ) .
192+ Find out more about Token Classification [ here] ( ../tasks/token_classification ) .
171193
172194<InferenceSnippet
173195 pipeline=token-classification
@@ -181,6 +203,16 @@ Find out more about Translation [here](../tasks/translation).
181203
182204<InferenceSnippet
183205 pipeline=translation
184- providersMapping={ {"hf-inference":{"modelId":"google-t5/t5-base","providerModelId":"google-t5/t5-base"} } }
206+ providersMapping={ {"hf-inference":{"modelId":"google-t5/t5-small","providerModelId":"google-t5/t5-small"} } }
207+ />
208+
209+
210+ ### Zero Shot Classification
211+
212+ Find out more about Zero Shot Classification [ here] ( ../tasks/zero_shot_classification ) .
213+
214+ <InferenceSnippet
215+ pipeline=zero-shot-classification
216+ providersMapping={ {"hf-inference":{"modelId":"facebook/bart-large-mnli","providerModelId":"facebook/bart-large-mnli"} } }
185217/>
186218
0 commit comments