Widget Examples

Widget Examples

Note that each widget example can also optionally describe the corresponding model output, directly in the output property. See the specarrow-up-right for more details.

Natural Language Processing

Fill-Mask

Copied

widget:
- text: "Paris is the <mask> of France."
  example_title: "Capital"
- text: "The goal of life is <mask>."
  example_title: "Philosophy"

Question Answering

Copied

widget:
- text: "What's my name?"
  context: "My name is Clara and I live in Berkeley."
  example_title: "Name"
- text: "Where do I live?"
  context: "My name is Sarah and I live in London"
  example_title: "Location"

Summarization

Copied

Table Question Answering

Copied

Text Classification

Copied

Text Generation

Copied

Text2Text Generation

Copied

Token Classification

Copied

Translation

Copied

Zero-Shot Classification

Copied

Sentence Similarity

Copied

Conversational

Copied

Feature Extraction

Copied

Audio

Text-to-Speech

Copied

Automatic Speech Recognition

Copied

Audio-to-Audio

Copied

Audio Classification

Copied

Voice Activity Detection

Copied

Computer Vision

Image Classification

Copied

Object Detection

Copied

Image Segmentation

Copied

Image-to-Image

Copied

Text-to-Image

Copied

Document Question Answering

Copied

Visual Question Answering

Copied

Zero-Shot Image Classification

Copied

Other

Structured Data Classification

Copied

Last updated