百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

semi-supervised-music-tagging-transformer

> 编程语言
开源

半监督音乐标记 Transformer 参考文献 半监督音乐标记 Transformer, ISMIR 2021 [论文] -- Minz Won, Keunwoo Choi…

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

半监督音乐标记 Transformer 参考文献 半监督音乐标记 Transformer, ISMIR 2021 [论文] -- Minz Won, Keunwoo Choi…

Semi-supervised Music Tagging Transformer

Reference

Semi-supervised Music Tagging Transformer, ISMIR 2021 [paper]

-- Minz Won, Keunwoo Choi, and Xavier Serra

TL;DR

  • We present a new state-of-the-art music tagging model using CNN front end and Transformer back end.
  • It outperforms previous state-of-the art models and also suitable for long sequence modeling.
  • This model can be further improved via a powerful semi-supervised pipeline, Noisy student training.
  • Also, we provide new MSD splits, which are artist-level splits.

Requirements

bash
conda create -n YOUR_ENV_NAME python=3.7
conda activate YOUR_ENV_NAME
pip install -r requirements.txt

How to use pretrained models

import torch
from models import MusicTaggingTransformer

# Teacher model
model = MusicTaggingTransformer(conv_ndim=128, attention_ndim=256, n_seq_cls=50)
S = torch.load('../data/teacher.ckpt')
S = {k[8:]: v for k, v in S.items()}
model.load_state_dict(S)

# Student model
model = MusicTaggingTransformer(conv_ndim=128, attention_ndim=64, n_seq_cls=50)
S = torch.load('../data/compact_student.ckpt')
S = {k[8:]: v for k, v in S.items() if (k[:7] != 'teacher')}
model.load_state_dict(S)

Cleaned and artist-level stratified split (CALS)

We introduce the cleaned and artist-level stratified split (CALS) for the Million Song Dataset (MSD). Different from the previously used dataset split (link), our proposed split is designed to avoid unintended information leak by sharing the same artists among different sets. CALS does not have shared artists in between different sets. The distribution of CALS is described below. None is discarded as they are unlabled songs but from the artists in the train set.

Train set (labeled): 163,504 songs
Valid set (labeled): 34,730 songs
Test set (labeled): 34,913 songs
Student set (unlabeled): 516,415 songs
None (unlabeled): 249,471 songs

Performance Comparison

Performance using the conventional MSD split.

  • Music tagging transformer outperforms other previous models.

Performance using the CALS split.

  • Both Short-chunk ResNet and Music tagging transformer are successfully improved through the semi-supervised pipeline.
  • Knowledge distillation improved the model's performance more than the knowledge expansion.

Citation

@inproceedings{won2021transformer,
  title={Semi-supervised music tagging transformer},
  author={Won, Minz and Choi, Keunwoo and Serra, Xavier},
  booktitle={Proc. of International Society for Music Information Retrieval},
  year={2021}
}

License

…

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言