Jadia Diarization package
Kmeans-based fully open source (model code provided) package, good at parsing dialogs. Requires number of speakers to be provided. Fast in 'fast_fit' mode, when clusters are defined using only first slice of audio.
Install:
pip install jadia
pip install jadia-plot if you want to plot predictions
Usage
diarizer = Jadia(device=torch.device("cuda:0"),model="lite", batch_size=64)
segments = diarizer.process(FILENAME, num_voices=NUM_VOICES)
or
diarizer = Jadia(device=torch.device("cuda:0"), model="lite", batch_size=64)
diarizer.setup(num_voices=NUM_VOICES)
diarizer.load_audio(filename=FILENAME)
predictions = diarizer.predict()
segments = diarizer.predictions_to_segments(predictions)
Look into eval.ipynb notebook for plotting, metrics etc.
TODO:
- improved lite model
- heavier model with extra transformer layers
- fine-tuning
Metadata
Release files for jadia 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jadia-0.1.1.tar.gz | 7.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jadia-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 MB
Release files / jadia-0.1.1.tar.gz
| Download URL | jadia-0.1.1.tar.gz |
|---|---|
| Size | 7.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd6dd3caa707975aeff04efb746c8a78227b1155d31f5c20e2317599676c7c10
|
|
BLAKE2b-256 checksum How to use checksums |
d3c4519a55213b7997f70a9f43ad1ff4e45b7304ffc93dea235e4227460b7079
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|
Release files / jadia-0.1.1-py3-none-any.whl
| Download URL | jadia-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
649baec41ca90f4261628950d2101c276d9847f6448973ec656ce32066970041
|
|
BLAKE2b-256 checksum How to use checksums |
17978450eef808ff3f21a40e4584e63fa6f11b43a6b3db9a5e8754e426fb9c70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|