Supported Tasks

Supported Transformers & Diffusers Tasks

Inference Endpoints offers out-of-the-box support for Machine Learning tasks from the Transformers, Sentence-Transformers and Diffusers libraries. Below is a table of BOINC AI managed supported tasks for Inference Endpoint. These tasks don’t require any form of code or “custom container” to deploy an Endpoint. If you want to customize any of the tasks below, or want to write your own custom task, check out the “Create your own inference handler” section for more information.

Task
Framework
Out of the box Support

Text To Image

Diffusers

Text Classification

Transformers

Zero Shot Classification

Transformers

Token Classifiation

Transformers

Question Answering

Transformers

Fill Mask

Transformers

Summarization

Transformers

Translation

Transformers

Text to Text Generation

Transformers

Text Generation

Transformers

Feature Extraction

Transformers

Sentence Embeddings

Sentence Transformers

Sentence similarity

Sentence Transformers

Ranking

Sentence Transformers

Image Classification

Transformers

Automatic Speech Recognition

Transformers

Audio Classification

Transformers

Object Detection

Transformers

Image Segmentation

Transformers

Table Question Answering

Transformers

Conversational

Transformers

Custom

Custom

Visual Question Answering

Transformers

Zero Shot Image Classification

Transformers

Example Request payloads

See the following request examples for some of the tasks:

Custom Handler

Copied

Text Classification

Copied

Zero Shot Classification

Copied

Token Classifiation

Copied

Question Answering

Copied

Fill Mask

Copied

Summarization

Copied

Translation

Copied

Text to Text Generation

Copied

Text Generation

Copied

Feature Extraction

Copied

Sentence Embeddings

Copied

Sentence similarity

Copied

Ranking

Copied

Image Classification

Image Classification can receive json payloads or binary data from a image directly.

JSON

Copied

Binary

Copied

Automatic Speech Recognition

Automatic Speech Recognition can receive json payloads or binary data from a audio directly.

JSON

Copied

Binary

Copied

Audio Classification

Audio Classification can receive json payloads or binary data from a audio directly.

JSON

Copied

Binary

Copied

Object Detection

Object Detection can receive json payloads or binary data from a image directly.

JSON

Copied

Binary

Copied

Image Segmentation

Image Segmentation can receive json payloads or binary data from a image directly.

JSON

Copied

Binary

Copied

Table Question Answering

Copied

Conversational

Copied

Text To Image

Copied

Additional parameters

You can add additional parameters, which are supported by the pipelines api from transformers.

For Example if you have a text-generation pipeline you can provide generation_kwargs for repetition_penalty or max_length

Copied

Last updated