How to use from the
Use from the
Transformers library
# Gated model: Login with a HF token with gated access permission
hf auth login
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("automatic-speech-recognition", model="Arsalan07/whisper-api")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq

processor = AutoProcessor.from_pretrained("Arsalan07/whisper-api")
model = AutoModelForSpeechSeq2Seq.from_pretrained("Arsalan07/whisper-api", device_map="auto")
Quick Links

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Model Card for Arsalan07/whisper-api

This is a fine-tuned OpenAI Whisper Small model for automatic speech recognition (ASR) in English.

It was fine-tuned with πŸ€— transformers and datasets on custom audio/transcript data.

Model Details

  • Base model: openai/whisper-small
  • Task: Automatic Speech Recognition (speech β†’ text)
  • Language: English (en)
  • Files included:
    • model.safetensors (weights ~967MB)
    • config.json, generation_config.json
    • preprocessor_config.json
    • tokenizer-related files

How to Use

In Python (pipeline)

# Authenticate with Hugging Face

from huggingface_hub import login
login(token="")

from transformers import pipeline

# Load fine-tuned Whisper model with authentication

pipe = pipeline(
    "automatic-speech-recognition", 
    model="Arsalan07/whisper-api",
)

# Test on an audio file

print(pipe("test.mp3")["text"])
Downloads last month
-
Safetensors
Model size
0.2B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 1 Ask for provider support