Trained HierarchicalHashQuantizer (18 bits grouped into 6 display words of vocab size 8) that maps L2-normalized 512-dim speaker embeddings
from
pyannote/embedding into
hierarchical word paths like
chalk.fjord.bismuth.elm.
Use with
voxpath to assign
LM-readable speaker identities for diarization + transcription pipelines.
Trained on 14,307 unique English-speaking speakers from VoxCeleb 2 (5,800) + LibriSpeech (3,507) + CommonVoice EN (5,000). Each speaker contributed one ≥3 s utterance, embedded with
pyannote/embedding, L2-normalized. The merged corpus is available under the same namespace:
DJRHails/pyannote-embedding-voxceleb,
DJRHails/pyannote-embedding-librispeech,
DJRHails/pyannote-embedding-commonvoice-en.
1from huggingface_hub import hf_hub_download
2from voxpath.hashing import HierarchicalHashQuantizer
3
4path = hf_hub_download(
5 "DJRHails/voxpath-hierarchical-hash-pyannote-embedding",
6 "voxceleb+librispeech+commonvoice.pyannote-embedding.hierarchical-hash.quantizer.json",
7)
8quantizer = HierarchicalHashQuantizer.load(path)
9
10# Then, given a pyannote/embedding output `embedding` (shape (512,)):
11voxpath = quantizer.quantize(embedding)
12print(voxpath.to_tag()) # e.g. SPEAKER:halite.rill.bismuth.elm