Downloads · 30 days
4
24% of all-time downloads
ahmad1703/whisper_ee
whisper_ee is a machine learning model from ahmad1703. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model performs binary classification on audio using OpenAI's Whisper-small as a base model. It's designed to be used via the Hugging Face API for inference.
Downloads · 30 days
4
24% of all-time downloads
All-time downloads
17
Public
Repo size
967 MB
Likes
0
Public
Click a slice to open those files.
.bin967 MB · 100%
From the Hugging Face model README
This model performs binary classification on audio using OpenAI's Whisper-small as a base model. It's designed to be used via the Hugging Face API for inference.
from transformers import WhisperProcessor, pipeline
import librosa
# Load processor and pipeline
processor = WhisperProcessor.from_pretrained("ahmad1703/whis_ee")
classifier = pipeline("audio-classification", model="ahmad1703/whis_ee")
# Prepare your audio
audio_path = "path/to/your/audio.wav"
audio, sr = librosa.load(audio_path, sr=16000)
# Get prediction
prediction = classifier(audio)
print(f"Prediction: {prediction}")
[Your contact information]