Downloads · 30 days
0
M2UGen/M2UGen-MusicGen-medium
M2UGen-MusicGen-medium is a machine learning model from M2UGen. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
The M<sup2</supUGen model is a Music Understanding and Generation model that is capable of Music Question Answering and also Music Generation from texts, images, videos and audios, as well as Music Editing. The model…
Downloads · 30 days
0
Access
Public
Updated Jan 10, 2024
Repo size
61.6 GB
Likes
18
Public
Click a slice to open those files.
.pth30.6 GB · 100%
From the Hugging Face model README
The M<sup>2</sup>UGen model is a Music Understanding and Generation model that is capable of Music Question Answering and also Music Generation from texts, images, videos and audios, as well as Music Editing. The model utilizes encoders such as MERT for music understanding, ViT for image understanding and ViViT for video understanding and the MusicGen/AudioLDM2 model as the music generation model (music decoder), coupled with adapters and the LLaMA 2 model to make the model possible for multiple abilities.
M<sup>2</sup>UGen was published in M<sup>2</sup>UGen: Multi-modal Music Understanding and Generation with the Power of Large Language Models by Atin Sakkeer Hussain, Shansong Liu, Chenshuo Sun and Ying Shan.
The code repository for the model is published in crypto-code/M2UGen. Clone the repository, download the checkpoint and run the following for a model demo:
python gradio_app.py --model ./ckpts/M2UGen-MusicGen-medium/checkpoint.pth --llama_dir ./ckpts/LLaMA-2 --music_decoder musicgen --music_decoder_path facebook/musicgen-medium
If you find this model useful, please consider citing:
@article{hussain2023m,
title={{M$^{2}$UGen: Multi-modal Music Understanding and Generation with the Power of Large Language Models}},
author={Hussain, Atin Sakkeer and Liu, Shansong and Sun, Chenshuo and Shan, Ying},
journal={arXiv preprint arXiv:2311.11255},
year={2023}
}