HubCloneHubClone
Tasks

Audio-Text-to-Text

Audio-text-to-text models listen to an audio clip together with a text prompt and answer in text.

Inputs

Input
Recording of a street market, 20 s

Audio-Text-to-Text Model

Output

Output

Vendors are calling out fruit prices while a bicycle bell rings nearby.

About Audio-Text-to-Text

Audio-text-to-text models listen to an audio clip together with a text prompt and answer in text. Browse audio-text-to-text models on HubClone to compare checkpoints, or open a Space to try one in the browser.

Use Cases

Audio question answering

Ask what instrument plays the melody in a recording.

Meeting insights

Summarize the decisions taken in a recorded call.

Inference

The Transformers pipeline API runs audio-text-to-text models in a few lines. Replace <model-id> with any model listed on this page.

from transformers import pipeline

pipe = pipeline("audio-text-to-text", model="<model-id>")
pipe("sample.flac")

Useful Resources

Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.

Documentation

  • Audio-Text-to-Text task guide
  • Pipelines reference

Notebooks

  • Fine-tuning a audio-text-to-text model