ONNX Model Zoo

takenori-y/SSLZip-256

By takenori-y · ↓ 0 · ♥ 0 · Updated 2025-07-01

What's in this repo

This page lists the files in takenori-y/SSLZip-256, including sslzip_256.onnx.

  • 1 ONNX models (.onnx files)
  • 4 files, including 1 .md, 1 .onnx
  • Last updated 2025-07-01

ONNX files

File Size Download
sslzip_256.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README


license: cc-by-4.0 datasets:

  • openslr/librispeech_asr language:
  • en pipeline_tag: audio-to-audio

SSLZip

Usage

import onnxruntime as ort
from transformers import HubertModel
import torch

# Load the upstream HuBERT model.
upstream = HubertModel.from_pretrained("facebook/hubert-base-ls960")
upstream.eval()

# Load the autoencoder model.
postprocessor = ort.InferenceSession("sslzip_256.onnx")
node_name = postprocessor.get_inputs()[0].name

# Prepare an input waveform (assuming 16kHz audio).
x = torch.randn(1, 16000)

# Extract the latent representation for downstream tasks.
with torch.inference_mode():
    h = upstream(x, output_hidden_states=True).hidden_states[-1]
    z = postprocessor.run(None, {node_name: h.cpu().numpy()})[0]

# Use z as you like.
print(z.shape)

License

The pretrained model was developed using the LibriSpeech corpus and is distributed under the same license (CC BY 4.0).
Please include credit to Nagoya Institue of Technology and Techno-Speech, Inc. when using this model.

Citation

@InProceedings{yoshimura2025sslzip,
  author = {Takenori Yoshimura and Shinji Takaki and Kazuhiro Nakamura and Keiichiro Oura and Takato Fujimoto and Kei Hashimoto and Yoshihiko Nankaku and Keiichi Tokuda},
  title = {{SSLZip}: Simple autoencoding for enhancing self-supervised speech representations in speech generation},
  booktitle = {13th ISCA Speech Synthesis Workshop (SSW 2025)},
  pages = {xxx--xxx},
  year = {2025},
}

Model info

onnx audio-to-audio en dataset:openslr/librispeech_asr license:cc-by-4.0 region:us
↓ 0 ♥ 0

Created: 2025-07-01

Updated: 2025-07-01

View on Hugging Face

Files (4)

.gitattributes
LICENSE
README.md
sslzip_256.onnx ONNX

Related models