Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

pyannote
/
speaker-diarization-precision-2

Voice Activity Detection
pyannote.audio
pyannote
pyannote-audio-pipeline
audio
voice
speech
speaker
speaker-diarization
speaker-change-detection
overlapped-speech-detection
Model card Files Files and versions
xet
Community

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

  • Libraries
  • pyannote.audio

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

    from pyannote.audio import Pipeline
    
    pipeline = Pipeline.from_pretrained("pyannote/speaker-diarization-precision-2")
    
    # 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
speaker-diarization-precision-2
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
Hervé BREDIN
feat: update README
9bc673d 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    1.42 kB
    feat: update README 8 months ago
  • config.yaml
    134 Bytes
    Upload 2 files 8 months ago