Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hicustomer
/
pyannote-speaker-diarization

Automatic Speech Recognition
pyannote.audio
pyannote
pyannote-audio-pipeline
audio
voice
speech
speaker
speaker-diarization
speaker-change-detection
voice-activity-detection
overlapped-speech-detection
Model card Files Files and versions
xet
Community

Instructions to use hicustomer/pyannote-speaker-diarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • pyannote.audio

    How to use hicustomer/pyannote-speaker-diarization with pyannote.audio:

    from pyannote.audio import Pipeline
    
    pipeline = Pipeline.from_pretrained("hicustomer/pyannote-speaker-diarization")
    
    # inference on the whole file
    pipeline("file.wav")
    
    # inference on an excerpt
    from pyannote.core import Segment
    excerpt = Segment(start=2.0, end=5.0)
    
    from pyannote.audio import Audio
    waveform, sample_rate = Audio().crop("file.wav", excerpt)
    pipeline({"waveform": waveform, "sample_rate": sample_rate})
  • Notebooks
  • Google Colab
  • Kaggle
pyannote-speaker-diarization
27.8 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 32 commits
Katsuya Oda
fix: fork pyannote segmentation
6b48cee almost 3 years ago
  • reproducible_research
    feat: add Albayzin 2022 results over 3 years ago
  • .gitattributes
    1.22 kB
    fix: impl handler almost 3 years ago
  • .gitignore
    3.08 kB
    fix: impl handler almost 3 years ago
  • .python-version
    7 Bytes
    fix: impl handler almost 3 years ago
  • README.md
    11.7 kB
    fix: link to tag 2.1.1 over 3 years ago
  • config.yaml
    503 Bytes
    fix: fork pyannote segmentation almost 3 years ago
  • handler.py
    1.37 kB
    fix: use config.yaml almost 3 years ago
  • handler_test
    213 Bytes
    fix: fork pyannote segmentation almost 3 years ago
  • handler_test.py
    197 Bytes
    fix: use config.yaml almost 3 years ago
  • handler_test.wav
    1.92 MB
    xet
    fix: impl handler almost 3 years ago
  • pyproject.toml
    584 Bytes
    fix: use pytorch 1.11.0 almost 3 years ago
  • requirements-dev.lock
    2.48 kB
    fix: use pytorch 1.11.0 almost 3 years ago
  • requirements.lock
    2.48 kB
    fix: use pytorch 1.11.0 almost 3 years ago
  • requirements.txt
    127 Bytes
    fix: use pytorch 1.11.0 almost 3 years ago
  • technical_report_2.1.pdf
    372 kB
    doc: update README over 3 years ago