nes2net-checkpoints / README.md
nielsr's picture
nielsr HF Staff
Update README.md
3fed1fe verified
---
tags:
- feature-extraction
---
This repository contains the checkpoints of the paper [Nes2Net: A Lightweight Nested Architecture for Foundation Model Driven Speech Anti-spoofing](https://huggingface.co/papers/2504.05657).
Code: https://github.com/Liu-Tianchi/Nes2Net
## Usage
You can download the checkpoints as follows:
```bash
hf download nielsr/nes2net-checkpoints --local-dir ./path
```
or with the Python SDK:
```python
# 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")
```