Overview
About this model
Whisper is a Transformer based encoder-decoder model, also referred to as a sequence-to-sequence model. There are two flavours of Whisper model: English-only and multilingual. The English-only models were trained on the task of English speech recognition. The multilingual models were trained simultaneously on multilingual speech recognition and speech translation. For speech recognition, the model predicts transcriptions in the same language as the audio. For speech translation, the model predicts transcriptions to a different language to the audio.
View model card on HuggingFaceSpecifications
Model details
- Provider
- OpenAI
- Modality
- Speech-to-text
- Pricing
- $0.10 / 1M tok
Modalities: audio → text
API
Call it in code
One OpenAI-compatible API. Swap the model id and you're done.
from openai import OpenAI
client = OpenAI(
base_url="https://api.ecohash.com/v1",
api_key="YOUR_API_KEY",
)
transcript = client.audio.transcriptions.create(
model="whisper-large-v3",
file=open("audio.mp3", "rb"),
)More models