MusiLingo: Bridging Music and Text with Pre-trained Language Models for Music Captioning and Query Response

Zihao Deng, Yinghao Ma, Yudong Liu, Rongchen Guo, Ge Zhang +3 more
9/15/2023
eess.AScs.AIcs.CL

No official code found. Best implementation: zihaod/MusiLingo (50 stars, last commit 2024-08-27).

Abstract

Large Language Models (LLMs) have shown immense potential in multimodal applications, yet the convergence of textual and musical domains remains not well-explored. To address this gap, we present MusiLingo, a novel system for music caption generation and music-related query responses. MusiLingo employs a single projection layer to align music representations from the pre-trained frozen music audio model MERT with a frozen LLM, bridging the gap between music audio and textual contexts. We train it on an extensive music caption dataset and fine-tune it with instructional data. Due to the scarcity of high-quality music Q&A datasets, we created the MusicInstruct (MI) dataset from captions in the MusicCaps datasets, tailored for open-ended music inquiries. Empirical evaluations demonstrate its competitive performance in generating music captions and composing music-related Q&A pairs. Our introduced dataset enables notable advancements beyond previous ones.

View on arXivView PDF

Code Implementations(1)

zihaod/MusiLingoCommunity100%
505PythonSep 15, 20232 years ago

Similar Papers

Cite this paper

@article{deng2023musilingo,
  title  = {MusiLingo: Bridging Music and Text with Pre-trained Language Models for Music Captioning and Query Response},
  author = {Zihao Deng and Yinghao Ma and Yudong Liu and Rongchen Guo and Ge Zhang and Wenhu Chen and Wenhao Huang and Emmanouil Benetos},
  year   = {2023},
  eprint = {2309.08730},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.08730v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.08730.svg)](https://codeofpaper.com/paper/2309.08730)

Discussion