Instructions to use pyannote/ci-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use pyannote/ci-segmentation with pyannote.audio:
from pyannote.audio import Model, Inference model = Model.from_pretrained("pyannote/ci-segmentation") inference = Inference(model) # inference on the whole file inference("file.wav") # inference on an excerpt from pyannote.core import Segment excerpt = Segment(start=2.0, end=5.0) inference.crop("file.wav", excerpt) - Notebooks
- Google Colab
- Kaggle
Dummy segmentation model used for continuous integration and unit tests.
pyannote-audio-train \
+registry="[REDACTED]/pyannote-audio/tutorials/AMI-diarization-setup/pyannote/database.yml" \
protocol=AMI.SpeakerDiarization.only_words \
model=DebugSegmentation \
task=SpeakerDiarization \
trainer.max_epochs=1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support