TANGO: Text to Audio using iNstruction-Guided diffusiOn
TANGO
is a latent diffusion model for text-to-audio generation.
TANGO
can generate realistic audios including human sounds, animal sounds, natural and artificial sounds and sound effects from textual prompts. We use the frozen instruction-tuned LLM Flan-T5 as the text encoder and train a UNet based diffusion model for audio generation. We outperform current state-of-the-art models for audio generation across both objective and subjective metrics. We release our model, training, inference code and pre-trained checkpoints for the research community.
The model will be automatically downloaded and saved in cache. Subsequent runs will load the model directly from cache.
The
generate
function uses 100 steps by default to sample from the latent diffusion model. We recommend using 200 steps for generating better quality audios. This comes at the cost of increased run-time.
Use the
generate_for_batch
function to generate multiple audio samples for a batch of text prompts:
prompts = [
"A car engine revving",
"A dog barks and rustles with some clicking",
"Water flowing and trickling"
]
audios = tango.generate_for_batch(prompts, samples=2)
This will generate two samples for each of the three text prompts.
Runs of declare-lab tango-full on huggingface.co
20
Total runs
0
24-hour runs
1
3-day runs
-6
7-day runs
-7
30-day runs
More Information About tango-full huggingface.co Model
tango-full huggingface.co is an AI model on huggingface.co that provides tango-full's model effect (), which can be used instantly with this declare-lab tango-full model. huggingface.co supports a free trial of the tango-full model, and also provides paid use of the tango-full. Support call tango-full model through api, including Node.js, Python, http.
tango-full huggingface.co is an online trial and call api platform, which integrates tango-full's modeling effects, including api services, and provides a free online trial of tango-full, you can try tango-full online for free by clicking the link below.
declare-lab tango-full online free url in huggingface.co:
tango-full is an open source model from GitHub that offers a free installation service, and any user can find tango-full on GitHub to install. At the same time, huggingface.co provides the effect of tango-full install, users can directly use tango-full installed effect in huggingface.co for debugging and trial. It also supports api for free installation.