Downloads · 30 days
0
opentunes-ai/melodymaster-v1
melodymaster-v1 is a text-to-audio model from opentunes-ai. Use it for the text-to-audio task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
MelodyMaster V1 is an AI music generation model based on Meta's MusicGen-medium architecture. It generates high-quality music from text descriptions.
Downloads · 30 days
0
Access
Public
Updated Nov 26, 2024
Repo size
—
Likes
1
Public
Click a slice to open those files.
.md2.1 KB · 58%
From the Hugging Face model README
MelodyMaster V1 is an AI music generation model based on Meta's MusicGen-medium architecture. It generates high-quality music from text descriptions.
from transformers import AutoProcessor, MusicgenForConditionalGeneration
# Load model and processor
model = MusicgenForConditionalGeneration.from_pretrained("opentunesai/melodymasterv1")
processor = AutoProcessor.from_pretrained("opentunesai/melodymasterv1")
# Process text and generate music
inputs = processor(
text=["happy rock song with electric guitar"],
padding=True,
return_tensors="pt",
)
audio_values = model.generate(**inputs, max_new_tokens=1500)
Try the model in our Gradio Demo Space
Apache 2.0
Based on Meta's MusicGen model. Original model card: facebook/musicgen-medium
@article{copet2023simple,
title={Simple and Controllable Music Generation},
author={Jade Copet and Felix Kreuk and Itai Gat and Tal Remez and David Kant and Gabriel Synnaeve and Yossi Adi and Alexandre Défossez},
year={2023},
journal={arXiv preprint arXiv:2306.05284},
}