AI SeedbankHelp preserve open and free AI for humanity's future

← All models

JaesungHuh_voice-gender-classifier

JaesungHuh · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


tags:

  • pytorch_model_hub_mixin
  • model_hub_mixin
  • gender-classification
  • VoxCeleb license: mit datasets:
  • ProgramComputer/voxceleb pipeline_tag: audio-classification

Voice gender classifier

  • This repo contains the inference code to use pretrained human voice gender classifier.
  • You could also try 🤗Huggingface online demo.

Installation

First, clone the original github repository

git clone https://github.com/JaesungHuh/voice-gender-classifier.git

and install the packages via pip.

cd voice-gender-classifier
pip install -r requirements.txt

Usage

import torch

from model import ECAPA_gender

# You could directly download the model from the huggingface model hub
model = ECAPA_gender.from_pretrained("JaesungHuh/voice-gender-classifier")
model.eval()

# If you are using gpu .... 
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.to(device)

# Load the audio file and use predict function to directly get the output
example_file = "data/00001.wav"
with torch.no_grad():
    output = model.predict(example_file, device=device)
    print("Gender : ", output)

Pretrained weights

For those who need pretrained weights, please download it in here

Training details

State-of-the-art speaker verification model already produces good representation of the speaker's gender.

I used the pretrained ECAPA-TDNN from TaoRuijie's repository, added one linear layer to make two-class classifier, and finetuned the model with the VoxCeleb2 dev set.

The model achieved 98.7% accuracy on the VoxCeleb1 identification test split.

Caveat

I would like to note the training dataset I've used for this model (VoxCeleb) may not represent the global human population. Please be careful of unintended biases when using this model.

Reference

  • Original github repository
  • I modified the model architecture from TaoRuijie's repository.
  • For more details about ECAPA-TDNN, check the paper.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:ac4bb9347a810d9e7abc0d3f3e1cbe8ab11ba357&dn=JaesungHuh_voice-gender-classifier

Open magnet in torrent client · infohash ac4bb9347a810d9e7abc0d3f3e1cbe8ab11ba357

Files & hashes

PathSizesha1sha256
README.md2.3 KB (2,357 B)fc1a158eebefb3aab08bb3192bf4b2bd522976f9606bc63dc3c489c82fe339e2b29027cd91c92bfbe7529fc6e99419c52048e631
config.json15 B (15 B)cf1c1912909054317026ea03b409fd3789bc6c9fe7b95bff037d352af7822e2c2210a3304f38bb2c017c925388440478f334179a
example1.wav261.3 KB (267,566 B)e4bb2ff07aba05f71eb77dd0919c27e78a959d70c71446ec2322ae5aa480a5e8865dfdc3535b4bac238dd87e3cb7edd06dab89fd
example2.wav232.5 KB (238,126 B)3878ab6677cf9fc2a7d29d7a1d1d9628e6dc4694ecdf81edc906e8941c6dfbad12b8215b2adb9f1ace079e97014073687764e63c
model.safetensors59.0 MB (61,907,512 B)325ee01dd8467d2f9d210177dff32f71bc18a06e2d8e0be1fdf159d60d5087416e6f6277c5e30ce9e33a61c767a9a409e6c503c5

Cite this release

Canonical URL
https://aiseedbank.org/models/JaesungHuh_voice-gender-classifier/
Slug
JaesungHuh_voice-gender-classifier
Infohash
ac4bb9347a810d9e7abc0d3f3e1cbe8ab11ba357
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: JaesungHuh_voice-gender-classifier.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryJaesungHuh/voice-gender-classifier
Revision (pinned)db1222153bd60337e900be22add7af180452adc0
Fetched at2026-09-03T17:46:35Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T17:46:38Z

mit59.5 MB (62,415,576 bytes)transformerssafetensorspytorch_model_hub_mixinmodel_hub_mixingender-classificationVoxCelebaudio-classificationendpoints_compatiblepaper: 2005.07143