Instructions to use sli521/speaker-diarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- pyannote.audio
How to use sli521/speaker-diarization with pyannote.audio:
from pyannote.audio import Pipeline pipeline = Pipeline.from_pretrained("sli521/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
Download pytorch_model.bin from sli521/speaker-diarization: direct link, hf CLI and curl.
- Browser
- Download file 5.91 MB
-
https://huggingface.co/sli521/speaker-diarization/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://sli521/speaker-diarization/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sli521/speaker-diarization/resolve/main/pytorch_model.bin
5.91 MB
- Xet hash:
- 45af46e4cc0c49b6908782efcb0110f67388c8c72bc645c90d4ed6c06338ed64
- Size of remote file:
- 5.91 MB
- SHA256:
- a67ca986cb1c3d971e97f6ec7f5ef7dee60b632391196c75db2f31a5a4438a70
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.