@@ -42,32 +42,34 @@ 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
58
- ### Chat Completion (VLM )
60
+ ### Chat Completion (LLM )
59
61
60
- Find out more about Chat Completion (VLM ) [ here] ( ../tasks/chat-completion ) .
62
+ Find out more about Chat Completion (LLM ) [ here] ( ../tasks/chat-completion ) .
61
63
62
64
<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 "} } }
65
67
conversational />
66
68
67
69
68
70
### Feature Extraction
69
71
70
- Find out more about Feature Extraction [ here] ( ../tasks/feature-extraction ) .
72
+ Find out more about Feature Extraction [ here] ( ../tasks/feature_extraction ) .
71
73
72
74
<InferenceSnippet
73
75
pipeline=feature-extraction
@@ -77,7 +79,7 @@ Find out more about Feature Extraction [here](../tasks/feature-extraction).
77
79
78
80
### Fill Mask
79
81
80
- Find out more about Fill Mask [ here] ( ../tasks/fill-mask ) .
82
+ Find out more about Fill Mask [ here] ( ../tasks/fill_mask ) .
81
83
82
84
<InferenceSnippet
83
85
pipeline=fill-mask
@@ -87,7 +89,7 @@ Find out more about Fill Mask [here](../tasks/fill-mask).
87
89
88
90
### Image Classification
89
91
90
- Find out more about Image Classification [ here] ( ../tasks/image-classification ) .
92
+ Find out more about Image Classification [ here] ( ../tasks/image_classification ) .
91
93
92
94
<InferenceSnippet
93
95
pipeline=image-classification
@@ -97,17 +99,17 @@ Find out more about Image Classification [here](../tasks/image-classification).
97
99
98
100
### Image Segmentation
99
101
100
- Find out more about Image Segmentation [ here] ( ../tasks/image-segmentation ) .
102
+ Find out more about Image Segmentation [ here] ( ../tasks/image_segmentation ) .
101
103
102
104
<InferenceSnippet
103
105
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 "} } }
105
107
/>
106
108
107
109
108
110
### Object Detection
109
111
110
- Find out more about Object Detection [ here] ( ../tasks/object-detection ) .
112
+ Find out more about Object Detection [ here] ( ../tasks/object_detection ) .
111
113
112
114
<InferenceSnippet
113
115
pipeline=object-detection
@@ -117,7 +119,7 @@ Find out more about Object Detection [here](../tasks/object-detection).
117
119
118
120
### Question Answering
119
121
120
- Find out more about Question Answering [ here] ( ../tasks/question-answering ) .
122
+ Find out more about Question Answering [ here] ( ../tasks/question_answering ) .
121
123
122
124
<InferenceSnippet
123
125
pipeline=question-answering
@@ -137,7 +139,7 @@ Find out more about Summarization [here](../tasks/summarization).
137
139
138
140
### Table Question Answering
139
141
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 ) .
141
143
142
144
<InferenceSnippet
143
145
pipeline=table-question-answering
@@ -147,17 +149,27 @@ Find out more about Table Question Answering [here](../tasks/table-question-answ
147
149
148
150
### Text Classification
149
151
150
- Find out more about Text Classification [ here] ( ../tasks/text-classification ) .
152
+ Find out more about Text Classification [ here] ( ../tasks/text_classification ) .
151
153
152
154
<InferenceSnippet
153
155
pipeline=text-classification
154
156
providersMapping={ {"hf-inference":{"modelId":"tabularisai/multilingual-sentiment-analysis","providerModelId":"tabularisai/multilingual-sentiment-analysis"} } }
155
157
/>
156
158
157
159
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
+
158
170
### Text To Image
159
171
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 ) .
161
173
162
174
<InferenceSnippet
163
175
pipeline=text-to-image
@@ -167,7 +179,7 @@ Find out more about Text To Image [here](../tasks/text-to-image).
167
179
168
180
### Token Classification
169
181
170
- Find out more about Token Classification [ here] ( ../tasks/token-classification ) .
182
+ Find out more about Token Classification [ here] ( ../tasks/token_classification ) .
171
183
172
184
<InferenceSnippet
173
185
pipeline=token-classification
@@ -181,6 +193,16 @@ Find out more about Translation [here](../tasks/translation).
181
193
182
194
<InferenceSnippet
183
195
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"} } }
185
207
/>
186
208
0 commit comments