ReDimNet2-B6 produces local speaker embeddings for comparing clean voice
samples. It does not diarize audio or assign names by itself.
The checkpoint was trained on VoxBlink2 and VoxCeleb2. The fixed six-second
shape avoids the slow Core ML fallback observed with a flexible waveform shape.
Applications should repeat clean two-to-six-second speech to fill the input and
center-crop longer samples.
The meeting pilot contains five recurring speakers and is not a universal
quality claim. Thresholds must be calibrated for the intended microphones,
languages, and acoustic conditions. Speaker embeddings are useful for labeling;
they are not biometric authentication and do not protect against voice spoofing.
1import coremltools as ct
2import numpy as np
3
4model = ct.models.CompiledMLModel("ReDimNet2B6.mlmodelc")
5audio = np.zeros((1, 96_000), dtype=np.float32)
6embedding = model.predict({"audio": audio})["embedding"]
1import SpeechVAD
2
3let model = try await ReDimNet2SpeakerModel.fromPretrained()
4let embedding = try model.embed(audio: samples, sampleRate: 16_000)
Converted from the official
PalabraAI/ReDimNet2 B6
vb2+vox2_v0 large-margin checkpoint. The source revision and checkpoint
SHA-256 are recorded in
config.json.