@@ -42,32 +42,34 @@ 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
58- ### Chat Completion (VLM )
60+ ### Chat Completion (LLM )
5961
60- Find out more about Chat Completion (VLM ) [ here] ( ../tasks/chat-completion ) .
62+ Find out more about Chat Completion (LLM ) [ here] ( ../tasks/chat-completion ) .
6163
6264<InferenceSnippet
63- pipeline=image- text-to-text
64- providersMapping={ {"hf-inference":{"modelId":"meta-llama/Llama-3.2-11B-Vision-Instruct ","providerModelId":"meta-llama/Llama-3.2-11B-Vision-Instruct "} } }
65+ pipeline=text-generation
66+ providersMapping={ {"hf-inference":{"modelId":"HuggingFaceTB/SmolLM3-3B ","providerModelId":"HuggingFaceTB/SmolLM3-3B "} } }
6567conversational />
6668
6769
6870### Feature Extraction
6971
70- Find out more about Feature Extraction [ here] ( ../tasks/feature-extraction ) .
72+ Find out more about Feature Extraction [ here] ( ../tasks/feature_extraction ) .
7173
7274<InferenceSnippet
7375 pipeline=feature-extraction
@@ -77,7 +79,7 @@ Find out more about Feature Extraction [here](../tasks/feature-extraction).
7779
7880### Fill Mask
7981
80- Find out more about Fill Mask [ here] ( ../tasks/fill-mask ) .
82+ Find out more about Fill Mask [ here] ( ../tasks/fill_mask ) .
8183
8284<InferenceSnippet
8385 pipeline=fill-mask
@@ -87,7 +89,7 @@ Find out more about Fill Mask [here](../tasks/fill-mask).
8789
8890### Image Classification
8991
90- Find out more about Image Classification [ here] ( ../tasks/image-classification ) .
92+ Find out more about Image Classification [ here] ( ../tasks/image_classification ) .
9193
9294<InferenceSnippet
9395 pipeline=image-classification
@@ -97,17 +99,17 @@ Find out more about Image Classification [here](../tasks/image-classification).
9799
98100### Image Segmentation
99101
100- Find out more about Image Segmentation [ here] ( ../tasks/image-segmentation ) .
102+ Find out more about Image Segmentation [ here] ( ../tasks/image_segmentation ) .
101103
102104<InferenceSnippet
103105 pipeline=image-segmentation
104- providersMapping={ {"hf-inference":{"modelId":"mattmdjaga/segformer_b2_clothes ","providerModelId":"mattmdjaga/segformer_b2_clothes "} } }
106+ providersMapping={ {"hf-inference":{"modelId":"jonathandinu/face-parsing ","providerModelId":"jonathandinu/face-parsing "} } }
105107/>
106108
107109
108110### Object Detection
109111
110- Find out more about Object Detection [ here] ( ../tasks/object-detection ) .
112+ Find out more about Object Detection [ here] ( ../tasks/object_detection ) .
111113
112114<InferenceSnippet
113115 pipeline=object-detection
@@ -117,7 +119,7 @@ Find out more about Object Detection [here](../tasks/object-detection).
117119
118120### Question Answering
119121
120- Find out more about Question Answering [ here] ( ../tasks/question-answering ) .
122+ Find out more about Question Answering [ here] ( ../tasks/question_answering ) .
121123
122124<InferenceSnippet
123125 pipeline=question-answering
@@ -137,7 +139,7 @@ Find out more about Summarization [here](../tasks/summarization).
137139
138140### Table Question Answering
139141
140- Find out more about Table Question Answering [ here] ( ../tasks/table-question-answering ) .
142+ Find out more about Table Question Answering [ here] ( ../tasks/table_question_answering ) .
141143
142144<InferenceSnippet
143145 pipeline=table-question-answering
@@ -147,17 +149,27 @@ Find out more about Table Question Answering [here](../tasks/table-question-answ
147149
148150### Text Classification
149151
150- Find out more about Text Classification [ here] ( ../tasks/text-classification ) .
152+ Find out more about Text Classification [ here] ( ../tasks/text_classification ) .
151153
152154<InferenceSnippet
153155 pipeline=text-classification
154156 providersMapping={ {"hf-inference":{"modelId":"tabularisai/multilingual-sentiment-analysis","providerModelId":"tabularisai/multilingual-sentiment-analysis"} } }
155157/>
156158
157159
160+ ### Text Generation
161+
162+ Find out more about Text Generation [ here] ( ../tasks/text_generation ) .
163+
164+ <InferenceSnippet
165+ pipeline=text-generation
166+ providersMapping={ {"hf-inference":{"modelId":"HuggingFaceTB/SmolLM3-3B","providerModelId":"HuggingFaceTB/SmolLM3-3B"} } }
167+ />
168+
169+
158170### Text To Image
159171
160- Find out more about Text To Image [ here] ( ../tasks/text-to-image ) .
172+ Find out more about Text To Image [ here] ( ../tasks/text_to_image ) .
161173
162174<InferenceSnippet
163175 pipeline=text-to-image
@@ -167,7 +179,7 @@ Find out more about Text To Image [here](../tasks/text-to-image).
167179
168180### Token Classification
169181
170- Find out more about Token Classification [ here] ( ../tasks/token-classification ) .
182+ Find out more about Token Classification [ here] ( ../tasks/token_classification ) .
171183
172184<InferenceSnippet
173185 pipeline=token-classification
@@ -181,6 +193,16 @@ Find out more about Translation [here](../tasks/translation).
181193
182194<InferenceSnippet
183195 pipeline=translation
184- providersMapping={ {"hf-inference":{"modelId":"google-t5/t5-base","providerModelId":"google-t5/t5-base"} } }
196+ providersMapping={ {"hf-inference":{"modelId":"google-t5/t5-small","providerModelId":"google-t5/t5-small"} } }
197+ />
198+
199+
200+ ### Zero Shot Classification
201+
202+ Find out more about Zero Shot Classification [ here] ( ../tasks/zero_shot_classification ) .
203+
204+ <InferenceSnippet
205+ pipeline=zero-shot-classification
206+ providersMapping={ {"hf-inference":{"modelId":"facebook/bart-large-mnli","providerModelId":"facebook/bart-large-mnli"} } }
185207/>
186208
0 commit comments