nes2net-checkpoints / README.md
nielsr's picture
nielsr HF Staff
Update README.md
3fed1fe verified
metadata
tags:
  - feature-extraction

This repository contains the checkpoints of the paper Nes2Net: A Lightweight Nested Architecture for Foundation Model Driven Speech Anti-spoofing.

Code: https://github.com/Liu-Tianchi/Nes2Net

Usage

You can download the checkpoints as follows:

hf download nielsr/nes2net-checkpoints --local-dir ./path

or with the Python SDK:

# uv pip install huggingface_hub
from huggingface_hub import hf_hub_download

# download one checkpoint
file_path = hf_hub_download(repo_id="nielsr/nes2net-checkpoints", filename="WavLM_Nes2Net_X_e75_seed420_valid0.03192785031473534.pt")

# download all checkpoints
file_path = snapshot_download(repo_id="nielsr/nes2net-checkpoints")