Downloads · 30 days
4.5K
1% of all-time downloads
griko/gender_cls_svm_ecapa_voxceleb
gender_cls_svm_ecapa_voxceleb is a audio classification model from griko. Use it for the audio classification task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model combines the SpeechBrain ECAPA-TDNN speaker embedding model with an SVM classifier to predict speaker gender from audio input. The model was trained and evaluated on the VoxCeleb2, Mozilla Common Voice v10.…
Downloads · 30 days
4.5K
1% of all-time downloads
All-time downloads
568K
Public
Repo size
54.8 MB
Likes
5
Public
Click a slice to open those files.
.joblib16.7 MB · 100%
From the Hugging Face model README
This model combines the SpeechBrain ECAPA-TDNN speaker embedding model with an SVM classifier to predict speaker gender from audio input. The model was trained and evaluated on the VoxCeleb2, Mozilla Common Voice v10.0, and TIMIT datasets
The model was trained on VoxCeleb2 dataset:
You can install the package directly from GitHub:
pip install git+https://github.com/griko/voice-gender-classification.git
from voice_gender_classification import GenderClassificationPipeline
# Load the pipeline
classifier = GenderClassificationPipeline.from_pretrained(
"griko/gender_cls_svm_ecapa_voxceleb"
)
# Single file prediction
result = classifier("path/to/audio.wav")
print(result) # ["female"] or ["male"]
# Batch prediction
results = classifier(["audio1.wav", "audio2.wav"])
print(results) # ["female", "male", "female"]
If you use this model in your research, please cite:
@misc{koushnir2025vanpyvoiceanalysisframework,
title={VANPY: Voice Analysis Framework},
author={Gregory Koushnir and Michael Fire and Galit Fuhrmann Alpert and Dima Kagan},
year={2025},
eprint={2502.17579},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2502.17579},
}