OpenMuQ_MuQ-large-msd-iter
OpenMuQ · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
license: cc-by-nc-4.0 language:
- en
- zh pipeline_tag: audio-classification tags:
- music
MuQ & MuQ-MuLan
This is the official repository for the paper *"MuQ: Self-Supervised Music Representation Learning with Mel Residual Vector Quantization"*. For more detailed information, we strongly recommend referring to https://github.com/tencent-ailab/MuQ and the paper.
In this repo, the following models are released:
- MuQ(see this link): A large music foundation model pre-trained via Self-Supervised Learning (SSL), achieving SOTA in various MIR tasks.
- MuQ-MuLan(see this link): A music-text joint embedding model trained via contrastive learning, supporting both English and Chinese texts.
Usage
To begin with, please use pip to install the official muq lib, and ensure that your python>=3.8:
pip3 install muq
To extract music audio features using MuQ:
import torch, librosa
from muq import MuQ
device = 'cuda'
wav, sr = librosa.load("path/to/music_audio.wav", sr = 24000)
wavs = torch.tensor(wav).unsqueeze(0).to(device)
# This will automatically fetch the checkpoint from huggingface
muq = MuQ.from_pretrained("OpenMuQ/MuQ-large-msd-iter")
muq = muq.to(device).eval()
with torch.no_grad():
output = muq(wavs, output_hidden_states=True)
print('Total number of layers: ', len(output.hidden_states))
print('Feature shape: ', output.last_hidden_state.shape)
Using MuQ-MuLan to extract the music and text embeddings and calculate the similarity:
import torch, librosa
from muq import MuQMuLan
# This will automatically fetch checkpoints from huggingface
device = 'cuda'
mulan = MuQMuLan.from_pretrained("OpenMuQ/MuQ-MuLan-large")
mulan = mulan.to(device).eval()
# Extract music embeddings
wav, sr = librosa.load("path/to/music_audio.wav", sr = 24000)
wavs = torch.tensor(wav).unsqueeze(0).to(device)
with torch.no_grad():
audio_embeds = mulan(wavs = wavs)
# Extract text embeddings (texts can be in English or Chinese)
texts = ["classical genres, hopeful mood, piano.", "一首适合海边风景的小提琴曲,节奏欢快"]
with torch.no_grad():
text_embeds = mulan(texts = texts)
# Calculate dot product similarity
sim = mulan.calc_similarity(audio_embeds, text_embeds)
print(sim)
Model Checkpoints
| Model Name | Parameters | Data | HuggingFace🤗 |
|---|---|---|---|
| MuQ | ~300M | MSD dataset | OpenMuQ/MuQ-large-msd-iter |
| MuQ-MuLan | ~700M | music-text pairs | OpenMuQ/MuQ-MuLan-large |
Note: Please note that the open-sourced MuQ was trained on the Million Song Dataset. Due to differences in dataset size, the open-sourced model may not achieve the same level of performance as reported in the paper.
License
The code is released under the MIT license.
The model weights (MuQ-large-msd-iter, MuQ-MuLan-large) are released under the CC-BY-NC 4.0 license.
Citation
@article{zhu2025muq,
title={MuQ: Self-Supervised Music Representation Learning with Mel Residual Vector Quantization},
author={Haina Zhu and Yizhi Zhou and Hangting Chen and Jianwei Yu and Ziyang Ma and Rongzhi Gu and Yi Luo and Wei Tan and Xie Chen},
journal={arXiv preprint arXiv:2501.01108},
year={2025}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:3a86cc1be0eaec3d12a108b97ff49da4d0338231&dn=OpenMuQ_MuQ-large-msd-iterOpen magnet in torrent client · infohash 3a86cc1be0eaec3d12a108b97ff49da4d0338231
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 4.3 KB (4,407 B) | 99345d6c42139fbca337820a4b4ff1cabcb1d9a1 | 8d7322961d39f52f83953bef164503d6fb84757b00326a0107c0e1d84b880465 |
| config.json | 3.1 KB (3,133 B) | fec6c73f7b811281b440462fcf4d98c7953c3d94 | 237335ee27d8fb951ce778701a12a79e06c51ae636dd786f97e45f51ce532543 |
| model.safetensors | 1.24 GB (1,333,825,096 B) | cbf82b9766fdf1b151569bb586f057376796d427 | 273febab2be02872c37d2c37e48a9d6c52c1c9392f3eeeabd498efa281ccb7a6 |
| pytorch_model.bin | 1.24 GB (1,333,965,438 B) | 40c030eeec551d49325684dceb1aad07823df77a | 334df3de2832ec1acfd8b6ce54e7de4073401fe821f7ec0ad0d954832be2d26a |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/OpenMuQ_MuQ-large-msd-iter/
- Slug
- OpenMuQ_MuQ-large-msd-iter
- Infohash
- 3a86cc1be0eaec3d12a108b97ff49da4d0338231
- License
- cc-by-nc-4.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: OpenMuQ_MuQ-large-msd-iter.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | OpenMuQ/MuQ-large-msd-iter |
|---|---|
| Revision (pinned) | 0562a57814f6f8bbd9fdea0a25921a2fce1a841a |
| Fetched at | 2026-09-03T19:04:38Z |
| License at fetch | cc-by-nc-4.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-03T19:05:05Z
cc-by-nc-4.0non-commercial use only2.48 GB (2,667,798,074 bytes)pytorchsafetensorsmusicaudio-classification2 languages (en, zh)paper: 2501.01108