File size: 633 Bytes
78335da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
license: mit
tags:
- text-to-speech
- speech
- tokenizer
- voice-cloning
---

# DSA-Tokenizer

This repository contains the pretrained model assets for DSA-Tokenizer inference.
The code and runnable examples live in the GitHub repository.

## Files

```text
DiscreteSpeech/dsa-tokenizer
|-- README.md
|-- model_index.json
|-- dsa_tokenizer/
|   |-- model_10000.pt
|   |-- vocab.txt
|   `-- config.yaml
`-- vocoder/
    `-- flow2gan_mel_24k_base_50hz/
        `-- epoch-20.pt
```

## Usage

```python
from f5_tts.dsa_api import DSATokenizer

dsa = DSATokenizer.from_pretrained("DiscreteSpeech/dsa-tokenizer", device="cuda:0")
```