Instructions to use Amphion/TaDiCodec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Amphion/TaDiCodec with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Amphion/TaDiCodec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocoder/config.json from Amphion/TaDiCodec: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/Amphion/TaDiCodec/resolve/refs%2Fpr%2F1/vocoder/config.json
- Command line
-
hf download hf://Amphion/TaDiCodec@refs/pr/1/vocoder/config.json
-
curl -L -o config.json https://huggingface.co/Amphion/TaDiCodec/resolve/refs%2Fpr%2F1/vocoder/config.json
267 Bytes
| { | |
| "model": { | |
| "vocos": { | |
| "input_channels": 128, | |
| "dim": 1024, | |
| "intermediate_dim": 4096, | |
| "num_layers": 30, | |
| "n_fft": 1920, | |
| "hop_size": 480, | |
| "padding": "same" | |
| } | |
| } | |
| } |