@@ -42,19 +42,31 @@ All supported HF Inference models can be found [here](https://huggingface.co/mod
42
42
HF Inference is the serverless Inference API powered by Hugging Face. This service used to be called "Inference API (serverless)" prior to Inference Providers.
43
43
If 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.
44
44
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
+
45
47
## Supported tasks
46
48
47
49
48
50
### Automatic Speech Recognition
49
51
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 ) .
51
53
52
54
<InferenceSnippet
53
55
pipeline=automatic-speech-recognition
54
56
providersMapping={ {"hf-inference":{"modelId":"openai/whisper-large-v3","providerModelId":"openai/whisper-large-v3"} } }
55
57
/>
56
58
57
59
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
+
58
70
### Chat Completion (VLM)
59
71
60
72
Find out more about Chat Completion (VLM) [ here] ( ../tasks/chat-completion ) .
@@ -67,7 +79,7 @@ conversational />
67
79
68
80
### Feature Extraction
69
81
70
- Find out more about Feature Extraction [ here] ( ../tasks/feature-extraction ) .
82
+ Find out more about Feature Extraction [ here] ( ../tasks/feature_extraction ) .
71
83
72
84
<InferenceSnippet
73
85
pipeline=feature-extraction
@@ -77,7 +89,7 @@ Find out more about Feature Extraction [here](../tasks/feature-extraction).
77
89
78
90
### Fill Mask
79
91
80
- Find out more about Fill Mask [ here] ( ../tasks/fill-mask ) .
92
+ Find out more about Fill Mask [ here] ( ../tasks/fill_mask ) .
81
93
82
94
<InferenceSnippet
83
95
pipeline=fill-mask
@@ -87,7 +99,7 @@ Find out more about Fill Mask [here](../tasks/fill-mask).
87
99
88
100
### Image Classification
89
101
90
- Find out more about Image Classification [ here] ( ../tasks/image-classification ) .
102
+ Find out more about Image Classification [ here] ( ../tasks/image_classification ) .
91
103
92
104
<InferenceSnippet
93
105
pipeline=image-classification
@@ -97,17 +109,17 @@ Find out more about Image Classification [here](../tasks/image-classification).
97
109
98
110
### Image Segmentation
99
111
100
- Find out more about Image Segmentation [ here] ( ../tasks/image-segmentation ) .
112
+ Find out more about Image Segmentation [ here] ( ../tasks/image_segmentation ) .
101
113
102
114
<InferenceSnippet
103
115
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 "} } }
105
117
/>
106
118
107
119
108
120
### Object Detection
109
121
110
- Find out more about Object Detection [ here] ( ../tasks/object-detection ) .
122
+ Find out more about Object Detection [ here] ( ../tasks/object_detection ) .
111
123
112
124
<InferenceSnippet
113
125
pipeline=object-detection
@@ -117,7 +129,7 @@ Find out more about Object Detection [here](../tasks/object-detection).
117
129
118
130
### Question Answering
119
131
120
- Find out more about Question Answering [ here] ( ../tasks/question-answering ) .
132
+ Find out more about Question Answering [ here] ( ../tasks/question_answering ) .
121
133
122
134
<InferenceSnippet
123
135
pipeline=question-answering
@@ -137,7 +149,7 @@ Find out more about Summarization [here](../tasks/summarization).
137
149
138
150
### Table Question Answering
139
151
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 ) .
141
153
142
154
<InferenceSnippet
143
155
pipeline=table-question-answering
@@ -147,17 +159,27 @@ Find out more about Table Question Answering [here](../tasks/table-question-answ
147
159
148
160
### Text Classification
149
161
150
- Find out more about Text Classification [ here] ( ../tasks/text-classification ) .
162
+ Find out more about Text Classification [ here] ( ../tasks/text_classification ) .
151
163
152
164
<InferenceSnippet
153
165
pipeline=text-classification
154
166
providersMapping={ {"hf-inference":{"modelId":"tabularisai/multilingual-sentiment-analysis","providerModelId":"tabularisai/multilingual-sentiment-analysis"} } }
155
167
/>
156
168
157
169
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
+
158
180
### Text To Image
159
181
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 ) .
161
183
162
184
<InferenceSnippet
163
185
pipeline=text-to-image
@@ -167,7 +189,7 @@ Find out more about Text To Image [here](../tasks/text-to-image).
167
189
168
190
### Token Classification
169
191
170
- Find out more about Token Classification [ here] ( ../tasks/token-classification ) .
192
+ Find out more about Token Classification [ here] ( ../tasks/token_classification ) .
171
193
172
194
<InferenceSnippet
173
195
pipeline=token-classification
@@ -181,6 +203,16 @@ Find out more about Translation [here](../tasks/translation).
181
203
182
204
<InferenceSnippet
183
205
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"} } }
185
217
/>
186
218
0 commit comments