Downloads · 30 days
0
aloxaf/anime-speaker-embedding-char-onnx
anime-speaker-embedding-char-onnx is a machine learning model from aloxaf. 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 mit.
This is an ONNX conversion of the char variant of litagin/animespeakerembeddingecapatdnngroupnorm, created by litagin02. It is a format conversion, not a newly trained model. The original model card marks the model as…
Downloads · 30 days
0
Access
Public
Updated Sep 14, 2026
Repo size
83.4 MB
Likes
0
Public
Click a slice to open those files.
.onnx83.4 MB · 100%
From the Hugging Face model README
This is an ONNX conversion of the char variant of litagin/anime_speaker_embedding_ecapa_tdnn_groupnorm, created by litagin02. It is a format conversion, not a newly trained model. The original model card marks the model as MIT licensed; attribution and the original documentation remain with the upstream author.
waveform: mono 16 kHz audio samples, float32, shape [1, samples]. The sample dimension is dynamic; the exported model supports batch size 1.embedding: L2-normalized 192-dimensional speaker embedding, float32, shape [1, 192].×32768 scaling, SpeechBrain Fbank features, the ECAPA-TDNN GroupNorm backbone, and final L2 normalization. Audio decoding and resampling are outside the graph.import librosa
import onnxruntime as ort
waveform, _ = librosa.load("speech.wav", sr=16_000, mono=True)
session = ort.InferenceSession("anime_char.onnx", providers=["CPUExecutionProvider"])
embedding = session.run(["embedding"], {"waveform": waveform[None, :]})[0]
a2c81c47ee0b9fbfb744ad49849625645867129dembedding_model.pth SHA256: d0386125a7a55d99edd4c711224386d92682d99ae8575ed479e37532a58a346d4a36f0e774771e1967d70abd63cba44f97a9fedf32d065e9a3d5ea09c8299e74The upstream SpeechBrain STFT returns a complex tensor and then converts it to real values. PyTorch 2.8's legacy ONNX exporter could not export that path, so this conversion uses the equivalent torch.stft(return_complex=False) output before the unchanged Fbank and backbone. The exported graph runs with ONNX Runtime and does not require PyTorch or SpeechBrain at inference time.