Downloads · 30 days
0
DJRHails/voxpath-hierarchical-hash-redimnet2-b6
voxpath-hierarchical-hash-redimnet2-b6 is a machine learning model from DJRHails. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for voxpath. The card lists the license as mit.
Trained HierarchicalHashQuantizer (18 bits grouped into 6 display words of vocab size 8) that maps L2-normalized 192-dim speaker embeddings from PalabraAI/redimnet2 (b6-vox2-lm, 192-dim, via torch.hub)) into hierarchi…
Downloads · 30 days
0
Access
Public
Updated Jul 23, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json153 KB · 98%
From the Hugging Face model README
Trained HierarchicalHashQuantizer (18 bits grouped into 6 display words of vocab size 8) that maps L2-normalized 192-dim speaker embeddings
from PalabraAI/redimnet2 (b6-vox2-lm, 192-dim, via torch.hub) into
hierarchical word paths like chalk.fjord.bismuth.elm.
Use with voxpath to assign
LM-readable speaker identities for diarization + transcription pipelines.
voxceleb+librispeech+commonvoice+voices.redimnet2-b6.hierarchical-hash.quantizer.json — fitted quantizer state (0.1 MB).Trained on unique English-speaking speakers from VoxCeleb 2 + LibriSpeech + CommonVoice EN (HF streaming builds via voxpath corpus build), each utterance ≥3 s, embedded with ReDimNet2-B6 (vox2, large-margin), L2-normalized.
from huggingface_hub import hf_hub_download
from voxpath.hashing import HierarchicalHashQuantizer
path = hf_hub_download(
"DJRHails/voxpath-hierarchical-hash-redimnet2-b6",
"voxceleb+librispeech+commonvoice+voices.redimnet2-b6.hierarchical-hash.quantizer.json",
)
quantizer = HierarchicalHashQuantizer.load(path)
# Then, given a pyannote/embedding output `embedding` (shape (192,)):
voxpath = quantizer.quantize(embedding)
print(voxpath.to_tag()) # e.g. SPEAKER:halite.rill.bismuth.elm
Speaker embeddings don't translate across embedders — a quantizer
fitted on pyannote/embedding outputs has no meaning for embeddings
from wespeaker, ECAPA-TDNN, or anything else. The repo name pins
both the quantizer family (HierarchicalHashQuantizer) and the embedding model so users find
the right artifact at a glance.