Text-to-Music Task
How to define a text-to-music task
Audio Task definition
{
"model": "facebook/musicgen-small",
"prompt": "80s pop track with bassy drums and synth",
"generation_config": {
"max_new_tokens": 1500,
"do_sample": true,
"top_k": 250,
"top_p": 0.0,
"temperature": 1.0,
"guidance_scale": 3.0
},
"seed": 42,
"dtype": "auto",
"quantize_bits": 8
}Model
Prompt
Generation Config
max_new_tokens
do_sample
temperature
top_k
top_p
num_return_sequences
Seed
Dtype
Quantize_bits
Audio Task Response
Last updated