ConvTasNet Libri1Mix enhsingle 16k
Overview
Highlights
- Time-domain speech enhancement for 16kHz audio signals
- Effective noise reduction for single-channel voice recordings
- Low-latency architecture suitable for real-time processing
- Ideal pre-processing step for ASR and transcription engines
- Open-source CC-BY-SA 4.0 license for flexible deployment
Usage
# Install Hugging Face transformers
pip install transformers torch
# Load model with transformers
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained("JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k")
tokenizer = AutoTokenizer.from_pretrained("JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k")
Hugging Face Download
We recommend downloading the model via the Hugging Face CLI or Hub SDK.
Guidance:Before downloading, install huggingface_hub with:
pip install -U huggingface_hub
CLI Download
Download the full repository
huggingface-cli download JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k
Download a single file to a local folder (e.g. config.json into ./dir)
huggingface-cli download JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k config.json --local-dir ./dir
See the official docs for more CLI options
SDK Download
# 模型下载
from huggingface_hub import snapshot_download
model_dir = snapshot_download('JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k')
Git Download
Make sure git-lfs is installed first
git lfs install
git clone https://huggingface.co/JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k
To skip LFS large-file downloads, use:
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k
Model files are hosted on the Hugging Face Hub — download directly via HF CLI / SDK / Git, not through this site.
PyTorch / Transformers Usage
Install Transformers
pip install -U transformers torch
Load the model and run inference
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained('JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k')
tokenizer = AutoTokenizer.from_pretrained('JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k')
Full Documentation
---
tags:
- asteroid
- audio
- ConvTasNet
- audio-to-audio
datasets:
- Libri1Mix
- enh_single
license: cc-by-sa-4.0
---
Asteroid model JorisCos/ConvTasNet_Libri1Mix_enhsignle_16k
Description:
This model was trained by Joris Cosentino using the librimix recipe in Asteroid.
It was trained on the enh_single task of the Libri1Mix dataset.
Training config:
data:
n_src: 1
sample_rate: 16000
segment: 3
task: enh_single
train_dir: data/wav16k/min/train-360
valid_dir: data/wav16k/min/dev
filterbank:
kernel_size: 32
n_filters: 512
stride: 16
masknet:
bn_chan: 128
hid_chan: 512
mask_act: relu
n_blocks: 8
n_repeats: 3
n_src: 1
skip_chan: 128
optim:
lr: 0.001
optimizer: adam
weight_decay: 0.0
training:
batch_size: 6
early_stop: true
epochs: 200
half_lr: true
num_workers: 4Results:
On Libri1Mix min test set :
si_sdr: 14.743051006476085
si_sdr_imp: 11.293269700616385
sdr: 15.300522933671061
sdr_imp: 11.797860134458015
sir: Infinity
sir_imp: NaN
sar: 15.300522933671061
sar_imp: 11.797860134458015
stoi: 0.9310514162434267
stoi_imp: 0.13513159270288563License notice:
This work "ConvTasNet_Libri1Mix_enhsignle_16k" is a derivative of LibriSpeech ASR corpus by Vassil Panayotov,
used under CC BY 4.0; of The WSJ0 Hipster Ambient Mixtures
dataset by Whisper.ai, used under CC BY-NC 4.0 (Research only).
"ConvTasNet_Libri1Mix_enhsignle_16k" is licensed under Attribution-ShareAlike 3.0 Unported by Joris Cosentino