Instructions to use declare-lab/tango2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use declare-lab/tango2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="declare-lab/tango2")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("declare-lab/tango2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model_stft.bin from declare-lab/tango2: direct link, hf CLI and curl.
- Browser
- Download file 8.54 MB
-
https://huggingface.co/declare-lab/tango2/resolve/main/pytorch_model_stft.bin
- Command line
-
hf download hf://declare-lab/tango2/pytorch_model_stft.bin
-
curl -L -o pytorch_model_stft.bin https://huggingface.co/declare-lab/tango2/resolve/main/pytorch_model_stft.bin
8.54 MB
- Xet hash:
- 6715bba2591a47b263d3795d3104f3660a125d2e411b17b3dbd8baf316984d4f
- Size of remote file:
- 8.54 MB
- SHA256:
- b0a4b498f27175c4d9adc422e4069d919e6874c961c0605d542ffed30778d498
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.