huggingface / huggingface/diarizers

Can it be used to improve speaker-diarization performance for English?

Open
#3 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
331
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am working on a project where I want to create speaker-aware transcripts from audios/videos, preferably using open-source solutions. I have tried so many approaches but nothing seems to work good enough out of the box.

I have tried:

  1. whisperX: https://github.com/m-bain/whisperX (uses pyannote)
  2. whisper-diarization: https://github.com/MahmoudAshraf97/whisper-diarization (uses Nemo)
  3. AWS Transcribe
  4. AssemblyAI API
  5. Picovoice API

I read this in the fine-tuning google colab notebook: "The segmentation model has been trained on a combination of datasets containing mostly English and Mandarin languages. As a consequence, the performance of the speaker diarization pipeline may decrease when confronted with out-of-distribution data, such as Spanish or Japanese."

Does that mean fine-tuning won't help much in case of english speakers? My doubt is if pyannote pretrained models are already trained in English and Mandarin, how will fine-tuning using some more english data help with diarization accuracy!

I am yet to find a speaker-diarization solution that is accurate enough for english audios and am looking for suggestions for improvements.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the fine-tuning Google Colab notebook and the issue's discussion of pyannote pretrained models, English data, and diarization accuracy. Establish whether a concrete improvement is intended, then define an evaluation using English audio; done requires an agreed scope and measurable accuracy result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.