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_main.bin from declare-lab/tango2: direct link, hf CLI and curl.
- Browser
- Download file 4.83 GB
-
https://huggingface.co/declare-lab/tango2/resolve/main/pytorch_model_main.bin
- Command line
-
hf download hf://declare-lab/tango2/pytorch_model_main.bin
-
curl -L -o pytorch_model_main.bin https://huggingface.co/declare-lab/tango2/resolve/main/pytorch_model_main.bin
4.83 GB
- Xet hash:
- 2b9060f73dd4beccf0992fb244328420beb8ac85611da4c2083ebcaada65bb3b
- Size of remote file:
- 4.83 GB
- SHA256:
- 5d7b85adf7b6141985887298d10e7cf2428b91dfdc66134c9249195916922ec9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.