File size: 302 Bytes
9a26655 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# Extract SSL Unit with BPE
This repo contains codes to extract Hubert units and perform BPE on them.
The SSL feature is extracted from the 21st layer of `TencentGameMate/chinese-hubert-large`
The number of BPE token is set to 6000.
## Usage
```bash
python ssl_unit_encoder.py --audio test.wav
```
|