eustlb commited on
Commit ·
d2e09d9
1
Parent(s): 23e7e1a
update readmie
Browse files
README.md
CHANGED
|
@@ -18,6 +18,17 @@ We introduce a new discretized audio tokenizer that runs at just **25 frames per
|
|
| 18 |
<img src="./higgs_audio_tokenizer_architecture.png" alt="Architecture diagram of the Higgs Audio Tokenizer" width=900>
|
| 19 |
</p>
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
## Basics of Audio Quantization
|
| 22 |
|
| 23 |
An audio signal sampled at \\(f_s\\) Hz is first split into frames by an encoder with hop size \\(M\\), giving a frame rate \\(f_r = \frac{f_s}{M}\quad\text{(frames/s)}.\\)
|
|
|
|
| 18 |
<img src="./higgs_audio_tokenizer_architecture.png" alt="Architecture diagram of the Higgs Audio Tokenizer" width=900>
|
| 19 |
</p>
|
| 20 |
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
### Transformers 🤗
|
| 24 |
+
|
| 25 |
+
Higgs Audio V2 Tokenizer is supported natively in `transformers`: [see the doc](https://huggingface.co/docs/transformers/en/model_doc/higgs_audio_v2_tokenizer).
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
uv pip install "transformers>=5.3.0"
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
|
| 32 |
## Basics of Audio Quantization
|
| 33 |
|
| 34 |
An audio signal sampled at \\(f_s\\) Hz is first split into frames by an encoder with hop size \\(M\\), giving a frame rate \\(f_r = \frac{f_s}{M}\quad\text{(frames/s)}.\\)
|