disco-eth / DAC-SE1

huggingface.co
Total runs: 86
24-hour runs: 23
7-day runs: 54
30-day runs: 55
Model's Last Updated: January 16 2026
audio-to-audio

Introduction of DAC-SE1

Model Details of DAC-SE1

DAC-SE1: High-Fidelity Speech Enhancement via Discrete Audio Tokens

This checkpoint has been trained to specifically reflect real-world denoising scenarios. It utilizes discrete audio tokens to perform high-fidelity speech enhancement, treating audio restoration as a sequence modeling task to generate clean audio tokens from noisy input sequences.

Usage

To use this model, you need the inference tools and tokenizers provided in the official GitHub repository.

1. Setup Environment

First, clone the repository to get the necessary helper scripts ( DACTools , DACTokenizer , etc.) and navigate into the folder:

git clone https://github.com/ETH-DISCO/DAC-SE1.git
cd DAC-SE1
pip install -r requirements.txt
2. Inference

You can run the following Python script to denoise an audio file.

import torch
from transformers import LlamaForCausalLM, LogitsProcessorList
from inference import DACTools, DACTokenizer, DACConstrainedLogitsProcessor
import re
from huggingface_hub import login


# Initialize DAC tools for audio encoding/decoding
dac_tools = DACTools()
tokenizer = DACTokenizer(num_layers=9, codebook_size=1024)

# Load denoiser model
model_path = "disco-eth/DAC-SE1"
model = LlamaForCausalLM.from_pretrained(model_path)
model = model.to('cuda')
model.eval()

# Load noisy audio and convert to tokens
noisy_tokens = dac_tools.audio_to_tokens('input.wav')

# Prepare input for model
token_ids = tokenizer.encode(noisy_tokens, add_special_tokens=False)
input_ids = [tokenizer.bos_token_id] + token_ids + [tokenizer.start_clean_token_id]
input_tensor = torch.tensor([input_ids]).cuda()

# Generate clean tokens
num_tokens = len(re.findall(r'<\|s\d+_c\d\|>', noisy_tokens))
logits_processor = LogitsProcessorList([
    DACConstrainedLogitsProcessor(tokenizer=tokenizer, min_tokens=num_tokens)
])

with torch.no_grad():
    outputs = model.generate(
        input_tensor,
        max_new_tokens=num_tokens,
        min_new_tokens=num_tokens,
        logits_processor=logits_processor,
        pad_token_id=tokenizer.pad_token_id,
        eos_token_id=tokenizer.eos_token_id,
        do_sample=False,
    )

# Extract generated tokens
generated_ids = outputs[0, len(input_ids):].tolist()
generated_output = tokenizer.decode(generated_ids, skip_special_tokens=True)

# Convert tokens back to audio
valid_tokens = re.findall(r'<\|s\d+_c\d\|>', generated_output)
if valid_tokens:
    remainder = len(valid_tokens) % 9
    if remainder != 0:
        valid_tokens = valid_tokens[:len(valid_tokens) - remainder]
    denoised_tokens = "".join(valid_tokens)
    tokens = dac_tools.string_to_tokens(denoised_tokens)
    clean_audio = dac_tools.tokens_to_audio(tokens)

# Save denoised audio
import soundfile as sf
sf.write('output.wav', clean_audio, dac_tools.sample_rate)
Citation

If you use this model, please cite our paper:

@misc{lanzendörfer2025highfidelityspeechenhancementdiscrete,
      title={High-Fidelity Speech Enhancement via Discrete Audio Tokens}, 
      author={Luca A. Lanzendörfer and Frédéric Berdoz and Antonis Asonitis and Roger Wattenhofer},
      year={2025},
      eprint={2510.02187},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2510.02187}, 
}

Runs of disco-eth DAC-SE1 on huggingface.co

86
Total runs
23
24-hour runs
33
3-day runs
54
7-day runs
55
30-day runs

More Information About DAC-SE1 huggingface.co Model

More DAC-SE1 license Visit here:

https://choosealicense.com/licenses/mit

DAC-SE1 huggingface.co

DAC-SE1 huggingface.co is an AI model on huggingface.co that provides DAC-SE1's model effect (), which can be used instantly with this disco-eth DAC-SE1 model. huggingface.co supports a free trial of the DAC-SE1 model, and also provides paid use of the DAC-SE1. Support call DAC-SE1 model through api, including Node.js, Python, http.

disco-eth DAC-SE1 online free

DAC-SE1 huggingface.co is an online trial and call api platform, which integrates DAC-SE1's modeling effects, including api services, and provides a free online trial of DAC-SE1, you can try DAC-SE1 online for free by clicking the link below.

disco-eth DAC-SE1 online free url in huggingface.co:

https://huggingface.co/disco-eth/DAC-SE1

DAC-SE1 install

DAC-SE1 is an open source model from GitHub that offers a free installation service, and any user can find DAC-SE1 on GitHub to install. At the same time, huggingface.co provides the effect of DAC-SE1 install, users can directly use DAC-SE1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

DAC-SE1 install url in huggingface.co:

https://huggingface.co/disco-eth/DAC-SE1

Url of DAC-SE1

Provider of DAC-SE1 huggingface.co

disco-eth
ORGANIZATIONS

Other API from disco-eth

huggingface.co

Total runs: 7.0K
Run Growth: -4.9K
Growth Rate: -72.70%
Updated:August 07 2024
huggingface.co

Total runs: 43
Run Growth: -10
Growth Rate: -25.64%
Updated:February 24 2025