Update README.md
Browse files
README.md
CHANGED
|
@@ -2,4 +2,26 @@
|
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# AUV
|
| 6 |
+
|
| 7 |
+
> Teaching **A**udio **U**niversal **V**ector Quantization with Single Nested Codebook
|
| 8 |
+
|
| 9 |
+
[](https://www.python.org/)
|
| 10 |
+
[](https://arxiv.org/abs/2509.21968)
|
| 11 |
+
[](https://swivid.github.io/AUV/)
|
| 12 |
+
|
| 13 |
+
## Setup
|
| 14 |
+
```bash
|
| 15 |
+
pip install auv
|
| 16 |
+
wget https://huggingface.co/SWivid/AUV/resolve/main/auv.pt
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
## Inference
|
| 20 |
+
Command line usage, reconstruct all `.wav` files under the `input-dir` and write to the `output-dir`:
|
| 21 |
+
```bash
|
| 22 |
+
auv-infer --input-dir INPUT_WAV_DIR --output-dir OUTPUT_WAV_DIR --ckpt CKPT_PATH
|
| 23 |
+
# if torch.bfloat16 inference: --bf16
|
| 24 |
+
# if need to assign gpu: --device cuda:0
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
Python script usage see [`src/auv/infer.py`](src/auv/infer.py).
|