Views
No views yet
speech_campplus_sv_zh_en_16k-common_advanced (CAM++, D-TDNN), trained
on code-switched Mandarin+English. Embedding dim 192, 16 kHz, 80-dim fbank input.onnxconverter_common.float16 (stats sub-graph kept in fp32) and onnxruntime.quantize_dynamic.| file | precision | size |
|---|---|---|
campplus_zh_en_fp32.onnx | fp32 | 27 MB |
campplus_zh_en_fp16.onnx | fp16 | 14 MB |
campplus_zh_en_int8.onnx | int8 (dynamic) | 8.2 MB |
eres2net_base (zh).| model | size | ms/utt | accuracy (margin) | clustering |
|---|---|---|---|---|
| eres2net_base (old) | 37.8 MB | 256 | 0.715 | 2 spk ✓ |
| CAM++ fp32 | 27.0 MB | 102 | 0.814 | 2 spk ✓ |
| CAM++ int8 | 8.2 MB | 287 | 0.738 | 2 spk ✓ |
| CAM++ fp16 | 14.0 MB | 70 | 0.808 | 2 spk ✓ |
| model | size | ms/utt | accuracy (margin) | clustering |
|---|---|---|---|---|
| eres2net_base (old) | 37.8 MB | 316 | 0.275 | 3 spk ✓ |
| CAM++ fp32 | 27.0 MB | 120 | 0.305 | 3 spk ✓ |
| CAM++ int8 | 8.2 MB | 330 | 0.284 | 3 spk ✓ |
| CAM++ fp16 | 14.0 MB | 78 | 0.304 | 3 spk ✓ |
MatMulInteger kernel for this graph) and slightly less accurate — it only wins on disk.1import sherpa_onnx
2ext = sherpa_onnx.SpeakerEmbeddingExtractor(
3 sherpa_onnx.SpeakerEmbeddingExtractorConfig(
4 model="campplus_zh_en_fp16.onnx", num_threads=4, provider="cpu"))