Downloads · 30 days
7
18% of all-time downloads
remsky/unispeech-sat-base-plus-sv-fp16
unispeech-sat-base-plus-sv-fp16 is a machine learning model from remsky. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-sa-3.0.
An fp16 copy of microsoft/unispeech-sat-base-plus-sv, Microsoft's UniSpeech-SAT speaker-verification encoder (X-Vector head, fine-tuned on VoxCeleb1). No changes beyond the dtype cast; reduced size and precision.
Downloads · 30 days
7
18% of all-time downloads
All-time downloads
39
Public
Parameters
101M
202 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors202 MB · 100%
From the Hugging Face model README
An fp16 copy of microsoft/unispeech-sat-base-plus-sv, Microsoft's UniSpeech-SAT speaker-verification encoder (X-Vector head, fine-tuned on VoxCeleb1). No changes beyond the dtype cast; reduced size and precision.
Exactly:
import torch
from transformers import UniSpeechSatForXVector
encoder = UniSpeechSatForXVector.from_pretrained(
"microsoft/unispeech-sat-base-plus-sv", dtype=torch.float32
)
encoder.half().save_pretrained(".")
(convert.py in this repo.)
from transformers import UniSpeechSatForXVector
encoder = UniSpeechSatForXVector.from_pretrained("Remsky/unispeech-sat-base-plus-sv-fp16")
Input is 16 kHz mono audio, as with the original. Load with dtype=torch.float32 if you want fp32 compute from the fp16 weights.
All credit for the model goes to Microsoft; this repo is only a dtype conversion.
@article{chen2021unispeechsat,
title={UniSpeech-SAT: Universal Speech Representation Learning with Speaker Aware Pre-Training},
author={Chen, Sanyuan and Wu, Yu and Wang, Chengyi and Chen, Zhengyang and Chen, Zhuo and Liu, Shujie and Wu, Jian and Qian, Yao and Wei, Furu and Li, Jinyu and Yu, Xiangzhan},
journal={arXiv preprint arXiv:2110.05752},
year={2021}
}