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

aTrain-core
/
speaker-detection

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 aTrain-core/speaker-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • pyannote.audio

    How to use aTrain-core/speaker-detection with pyannote.audio:

    from pyannote.audio import Pipeline
    
    pipeline = Pipeline.from_pretrained("aTrain-core/speaker-detection")
    
    # 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-detection
33.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
arminhaberl's picture
arminhaberl
Initial Commit
027e7a8 verified 4 months ago
  • embedding
    Initial Commit 4 months ago
  • plda
    Initial Commit 4 months ago
  • segmentation
    Initial Commit 4 months ago
  • .gitattributes
    1.57 kB
    Initial Commit 4 months ago
  • README.md
    9.98 kB
    Initial Commit 4 months ago
  • config.yaml
    444 Bytes
    Initial Commit 4 months ago
  • diarization.gif
    861 kB
    xet
    Initial Commit 4 months ago