
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
SSL-Interface
Advanced tools
Links: arXiv
Interface module for Self-supervised Speech Models
git clone git@github.com:atosystem/SSL_Interface.git
cd SSL_Interface
pip install -e .
import torch
import SSL_Interface
import SSL_Interface.configs
import SSL_Interface.interfaces
WS_Interface = SSL_Interface.interfaces.WeightSumInterface(
SSL_Interface.configs.WeightedSumInterfaceConfig(
upstream_feat_dim=768,
upstream_layer_num=13,
normalize=False,
)
)
HConv_Interface = SSL_Interface.interfaces.HierarchicalConvInterface(
SSL_Interface.configs.HierarchicalConvInterfaceConfig(
upstream_feat_dim=768,
upstream_layer_num=13,
normalize=False,
conv_kernel_size=5,
conv_kernel_stride=3,
output_dim=768
)
)
layer, batch_size, seq_len, hidden_size = 13,8,100,768
feats = torch.randn(layer, batch_size, seq_len, hidden_size)
feats = feats.cuda()
WS_Interface = WS_Interface.cuda()
HConv_Interface = HConv_Interface.cuda()
out = WS_Interface(feats)
print(out.shape)
# torch.Size([8, 100, 768])
out = HConv_Interface(feats)
print(out.shape)
# torch.Size([8, 100, 768])
@article{shih_interface_2024,
title={Interface Design for Self-Supervised Speech Models},
author={Yi-Jen Shih and David Harwath},
journal={Interspeech},
year={2024},
publisher={IEEE}
}
FAQs
Interface module for Self-supervised Speech Models
We found that SSL-Interface demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.