Skip to content
ModelListedExternal
Download

MSpoofTTS

This repository provides the discriminator checkpoints used in MSpoofTTS: Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection.

KindOtherVersionRevision 6ba5117

Model source

Kind
Other
File size
263 MB
Version
vRevision 6ba5117
Updated
Sep 21, 2026
Downloads
11
Tasks
Audio
Source
Hugging Face

Source description

MSpoofTTS Discriminator Checkpoints

This repository provides the discriminator checkpoints used in MSpoofTTS: Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection.

Paper: Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection

Demo: https://danny-nus.github.io/MSpoofTTS.github.io/

This repository is intended as a checkpoint hosting repository. The discriminator architecture definitions are not included here. Please use these checkpoints together with the official MSpoofTTS codebase.

Checkpoints

FileModel TypeSegment LengthScale
checkpoints/segment_len50.ckptSegmentTokenDiscriminator50-
checkpoints/segment_len25.ckptSegmentTokenDiscriminator25-
checkpoints/segment_len10.ckptSegmentTokenDiscriminator10-
checkpoints/strided_seg50_scale10.ckptStridedSegmentTokenDiscriminator5010
checkpoints/strided_seg50_scale25.ckptStridedSegmentTokenDiscriminator5025

Model Configuration

All discriminators use the following base configuration:

vocab_size = 65536
d_model = 256
nhead = 8
num_layers = 4
dim_feedforward = 1024
dropout = 0.1

The segment-level discriminators use segment_len values of 10, 25, and 50.

The strided discriminators use segment_len=50 with scales 10 and 25.

Usage

Install the Hugging Face Hub package:

pip install -U huggingface_hub

Download a checkpoint:

from huggingface_hub import hf_hub_download

repo_id = "Chanson-0803/MSpoofTTS"

ckpt_path = hf_hub_download(
    repo_id=repo_id,
    filename="checkpoints/segment_len50.ckpt",
    repo_type="model",
)

print(ckpt_path)

Then load the checkpoint using the corresponding discriminator class from the MSpoofTTS codebase:

import torch

# Import this from the official MSpoofTTS codebase.
# from your_mspoof_code import SegmentTokenDiscriminator

state = torch.load(ckpt_path, map_location="cpu")
model.load_state_dict(state["model_state_dict"])
model.eval()

For hierarchical decoding, use the following checkpoint files:

checkpoint_files = {
    "segment_len50": "checkpoints/segment_len50.ckpt",
    "segment_len25": "checkpoints/segment_len25.ckpt",
    "segment_len10": "checkpoints/segment_len10.ckpt",
    "strided_seg50_scale10": "checkpoints/strided_seg50_scale10.ckpt",
    "strided_seg50_scale25": "checkpoints/strided_seg50_scale25.ckpt",
}

Intended Use

These checkpoints are intended for research on discrete speech synthesis, neural codec language models, inference-time decoding guidance, spoof detection for generated speech tokens, and hierarchical multi-resolution decoding.

Limitations

These checkpoints are designed for the speech-token vocabulary and discriminator architectures used in MSpoofTTS. They may not be directly compatible with other codec tokenizers, vocabulary layouts, or speech language models without adaptation.

Citation

@article{zhao2026hierarchical,
  title={Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection},
  author={Zhao, Junchuan and Vu, Minh Duc and Wang, Ye},
  journal={arXiv preprint arXiv:2603.05373},
  year={2026}
}

Sources

1 source
Hugging FacePrimaryVersion 6ba51174cced449cb55407129d2103f5322e8c43
huggingface.co/Chanson-0803/MSpoofTTS/tree/6ba51174cced449cb55407129d2103f5322e8c43

Verified Sep 21

Model artifacts

5 artifacts

checkpoints/segment_len10.ckpt

ckpt · 263 MB · SHA-256 7cd2741e23be…a729 · Hugging Face

Download

checkpoints/segment_len25.ckpt

ckpt · 263 MB · SHA-256 cb82dacb4f48…5bac · Hugging Face

Download

checkpoints/segment_len50.ckpt

ckpt · 263 MB · SHA-256 22f5767f75bb…c5f0 · Hugging Face

Download

checkpoints/strided_seg50_scale10.ckpt

ckpt · 263 MB · SHA-256 c96c5ff7b792…e8a7 · Hugging Face

Download

checkpoints/strided_seg50_scale25.ckpt

ckpt · 263 MB · SHA-256 3fbcfe9b2da7…8a8c · Hugging Face

Download

Source excerpts

2 excerpts

--- license: apache-2.0 library_name: pytorch tags: - text-to-speech - speech-synthesis - discrete-speech-synthesis - neural-codec-language-model - spoof-detection - hierarchical-decoding - pytorch --- # MSpoofTTS Discriminator Checkpoints This repository provides the discriminator checkpoints used in **MSpoofTTS: Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection**. Paper: [Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection](https://arxiv.org/abs/2603.05373) Demo: https://danny-nus.github.io/MSpoofTTS.github.io/ This repository is intended as a **checkpoint hosting repository**. The discriminator architecture definitions are not included here. Please use these checkpoints together with the official MSpoofTTS codebase. ## Checkpoints | File | Model Type | Segment Length | Scale | |---|---|---:|---:| | `checkpoints/segment_len50.ckpt` | SegmentTokenDiscriminator | 50 | - | | `checkpoints/segment_len25.ckpt` | SegmentTokenDiscriminator | 25 | - | | `checkpoints/segment_len10.ckpt` | SegmentTokenDiscriminator | 10 | - | | `checkpoints/strided_seg50_scale10.ckpt` | StridedSegmentTokenDiscriminator | 50 | 10 | | `checkpoints/strided_seg50_scale25.ckpt` | StridedSegmentTokenDiscriminator | 50 | 25 | ## Model Configuration All discriminators use the following base configuration: ```python vocab_size = 65536 d_model = 256 nhead = 8 num_layers = 4 dim_feedforward = 1024 dropout = 0.1 ``` The segment-level discriminators use `segment_len` values of 10, 25, and 50. The strided discriminators use `segment_len=50` with scales 10 and 25. ## Usage Install the Hugging Face Hub package: ```bash pip install -U huggingface_hub ``` Download a checkpoint: ```python from huggingface_hub import hf_hub_download repo_id = "Chanson-0803/MSpoofTTS" ckpt_path = hf_hub_download( repo_id=repo_id, filename="checkpoints/segment_len50.ckpt", repo_type="model", ) print(ckpt_path) ``` Then load the checkpoint using the corresponding discriminator class from the MSpoofTTS codebase: ```python import torch # Import this from the official MSpoofTTS codebase. # from your_mspoof_code import SegmentTokenDiscriminator state = torch.load(ckpt_path, map_location="cpu") model.load_state_dict(state["model_state_dict"]) model.eval() ``` For hierarchical decoding, use the following checkpoint files:...

Source context: 11 downloads · 1 likes · Pipeline text-to-speech · Library pytorch · Repo Chanson-0803/MSpoofTTS