/ Модель

Характеристики

Лицензия
CC BY-NC 4.0
Библиотека
pytorch
Опубликована
5 мая 2026

TheArtist-MusicTransformer-ft-pop80

Генерация текстаТекст → текст3 профессии

Music Transformer генерирует символьные последовательности аккордов для поп-музыки и близких жанров.

554скачиваний за 30 дней0лайковвеса обновлены9 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

TheArtist Music Transformer F1 (Pop 10K Mix) — модель PearlLeeStudio для генерации последовательностей символьных аккордов. Это базовая версия из эксперимента по настройке генерации аккордов на поп- и джазовых стилях; она также служит основой для 11 жанровых LoRA-адаптеров. Модель предназначена для сочинения аккордовых последовательностей в поп-музыке и близких направлениях, включая рок, CCM, K-pop, J-pop и современный кантри.

Архитектура — Music Transformer с относительным позиционным вниманием; 25 661 440 параметров и словарь из 351 токена. Модель принимает текстовое представление последовательности и генерирует символьные обозначения аккордов; мелодию, ритм и аудио она не создаёт. В карточке приведены метрики автоматической оценки, но они не являются результатом прослушивания. Для этой версии указана лицензия CC BY-NC 4.0, допускающая использование с ограничением на коммерческое применение.

Сценарии применения

  • генерация аккордовой последовательности для поп-песни
  • подбор аккордов для рок-композиции
  • создание гармонической основы для K-pop или J-pop
  • сочинение аккордовой прогрессии для CCM или современного кантри
  • использование как базовой модели для жанрового LoRA-адаптера

Ограничения

Генерирует только символьные обозначения аккордов, без мелодии, ритма и аудио. В README указаны ограничения обобщения на некоторые жанры и маркеры жанров, отсутствовавшие при обучении; результаты оценки автоматические.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

TheArtist Music Transformer — F1 (Pop 10K Mix, pop-leaning)

F1 slot of the pop→jazz mix-ratio sweep in Empirical Study of Pop and Jazz Mix Ratios for Genre-Adaptive Chord Generation (Lee, 2026): the Phase-0 pop baseline fine-tuned on jazz with a 10,000-sequence pop rehearsal buffer, the pop-leaning endpoint and one of six released checkpoints. It is the base model the 11 per-genre lora-* adapters were trained on and pair with. Use it for chord-composition workflows targeting pop, rock, CCM, K-pop, J-pop, and modern country, and as the base for those adapters. F3 (ft-pop50) is the middle of the sweep, F4 (ft-pop29) the symmetric jazz-leaning endpoint, and ft-pop80-v2 the selection-corrected retrain of this slot.

Paper · Code · Web app · Demo · All models

Accepted at ISMIR 2026 as a Late-Breaking Demo: Where Does Genre Stop Following the Chords? A Fixed-Frame Listening Probe of Bounded Chord-Symbol Genre Identity (TheArtist)

Model details

FieldValue
ArchitectureMusic Transformer with relative positional attention
Parameters25,661,440
Vocabulary size351 tokens
Max sequence length256
d_model / heads / FFN / layers512 / 8 / 2048 / 8
Fine-tune resumed fromPhase-0 pop baseline
Best epoch6 (training-log, the released best.pt is the epoch-3 minimum-mixed-val selection, see Training data)
Released weightsWeight-identical to the Phase-0 pop baseline by a full SHA-256 over the 25,841,152-element serialized state dict (25,661,440 unique parameters, with the tied input/output embedding stored as two tensors)

Usage

Requires torch, huggingface_hub. The repo bundles model.py and tokenizer.py, so nothing needs to be cloned from GitHub.

import sys
import torch
from huggingface_hub import snapshot_download

# Download the full repo (model.py, tokenizer.py, best.pt, config.json).
ckpt_dir = snapshot_download(repo_id="PearlLeeStudio/TheArtist-MusicTransformer-ft-pop80")
sys.path.insert(0, ckpt_dir)  # so the next two imports resolve

from model import MusicTransformer
from tokenizer import ChordTokenizer

tokenizer = ChordTokenizer()
ckpt = torch.load(f"{ckpt_dir}/best.pt", map_location="cpu", weights_only=False)
model = MusicTransformer(
    vocab_size=tokenizer.vocab_size,
    d_model=512, n_heads=8, d_ff=2048, n_layers=8,
    max_seq_len=256, dropout=0.0, pad_id=tokenizer.pad_id,
)
model.load_state_dict(ckpt["model_state_dict"])
model.eval()

# Prompt = ii-V-I in C major; ask for a pop-flavoured continuation.
song = {
    "key": "Cmaj", "time_signature": "4/4", "genre": "pop",
    "bars": [["Dm7", "G7"], ["Cmaj7"]],
}
prompt_ids = tokenizer.encode_sequence(song)[:-1]
ids = torch.tensor([prompt_ids])
with torch.no_grad():
    for _ in range(32):
        logits = model(ids)
        next_id = torch.multinomial(
            torch.softmax(logits[:, -1, :] / 0.8, dim=-1), 1,
        )
        ids = torch.cat([ids, next_id], dim=-1)
        if next_id.item() == tokenizer.eos_id:
            break
print(tokenizer.decode(ids[0].tolist()))

For per-genre adaptation beyond pop and jazz, see the 11 LoRA adapter repos at PearlLeeStudio — they chain on top of this base.

Evaluation

The table gives the fine-tuning run's best-epoch (epoch 6) training-log metrics on the held-out pop test and the 6-source jazz test (167 sequences). The released weights do not embody them and score 72.86 jazz top-1 on the same test.

MetricPop testJazz test (6-src)
Top-1 accuracy84.60%81.03%
Top-5 accuracy96.96%92.41%
Perplexity1.782.31
Δ vs. Phase-0 baseline+0.39+8.17
Δ vs. Phase-0, header targets excluded−0.49+7.67

Top-1 counts every target, including the three header tokens that open each sequence (key, time signature, genre marker). The last row leaves them out (arXiv:2605.04998 v4, Table 6).

Out-of-distribution per-genre baseline

F1 alone (no LoRA, released weights) on the 11 per-genre val splits the LoRA adapters target (10 Chordonomicon genre subsets plus the Bach-chorale classical split), with each sequence carrying its target genre marker. This is the no-LoRA reference reported on every lora-<genre> adapter card.

GenreVal seq.F1 top-1 (%)F1 top-5 (%)F1 val loss
hip-hop1,40286.5196.270.6240
electronic1,51984.5095.930.6835
rock4,89182.7996.750.5865
folk6,07582.6695.800.7406
funk28382.5494.380.7878
country6,17382.4596.220.7402
rnb/soul95582.0994.120.8119
blues99481.7094.800.8137
gospel37479.3494.730.8813
bossa1,43178.3393.640.9635
classical3743.5472.822.8653

Per-genre real-song eval

On this eval set the released F1 base peaks on hip_hop (90.66%) and struggles most on classical (49.55%). The 11 per-genre LoRA adapters (sister lora-* repos) are the recommended path beyond pop and jazz. For the eight genres without a [GENRE:X] token in the 351-token vocabulary (all but rock, blues, and bossa) this eval gives the base no genre marker, and for blues and bossa it gives a marker the base never read in training.

Genren_songsTop-1 (%)Top-5 (%)val_loss
pop1086.6896.010.5734
rock1086.6997.480.4578
jazz1064.9681.161.8958
blues1081.5293.910.8410
bossa1081.4395.470.7825
classical1049.5581.172.2389
country1085.9098.440.5152
electronic1087.3998.450.5072
folk1085.0498.920.5244
funk1083.8596.030.6811
gospel1079.7996.850.7367
hip_hop1090.6698.590.3957
rnb_soul1085.1097.070.5877

130 songs (10 per genre × 13 genres, seed 42) drawn from held-out val/test partitions — pop from McGill Billboard (CC0), jazz from public standards corpora, classical from Bach chorales, the other ten genres from the matching Chordonomicon subsets (CC BY-NC 4.0; titles are Spotify track IDs by upstream policy). Full composition:

GenrenSource(s)Bar rangeAvg duration · named
pop10billboard58–116189s · 10/10 named
rock10chordonomicon_rock52–87127s · 0/10 named
jazz10choco:jazz-corpus, choco:real-book, jazzstandards, jht16–8972s · 10/10 named
blues10chordonomicon_blues24–4693s · 0/10 named
bossa10chordonomicon_bossa24–7888s · 0/10 named
classical10chordonomicon_classical11–4060s · 10/10 named
country10chordonomicon_country30–81110s · 0/10 named
electronic10chordonomicon_electronic25–8489s · 0/10 named
folk10chordonomicon_folk33–82114s · 0/10 named
funk10chordonomicon_funk30–6092s · 0/10 named
gospel10chordonomicon_gospel24–8598s · 0/10 named
hip_hop10chordonomicon_hip_hop24–81136s · 0/10 named
rnb_soul10chordonomicon_rnb_soul34–82128s · 0/10 named

Source license summary: McGill Billboard (CC0, named pop songs), Jazz Harmony Treebank / JazzStandards / WJazzD (Public / community-redistributed, named jazz standards), Bach chorales via music21 (public domain, named pieces), Chordonomicon per-genre subsets (CC BY-NC 4.0; titles are Spotify track IDs by upstream dataset policy — progressions are real songs).

Training data

All 1,513 jazz training sequences (Jazz Harmony Treebank, JazzStandards, Weimar Jazz Database, JAAH) plus 10,000 pop rehearsal sequences sub-sampled with seed 42 from the Phase-0 pop training split, pop:jazz ≈ 6.6:1 in the mix. The run resumed with the Phase-0 optimizer and scheduler state, which overrode the configured peak learning rate of 2 × 10⁻⁵ and two-epoch warmup (ten epochs maximum, patience 5): epoch 3 ran at the inherited learning rate 0 and updated no weights, and from epoch 4 the fine-tune's cosine schedule ran on the restored base rate of 3 × 10⁻⁴, giving 2.56 × 10⁻⁴, 2.07 × 10⁻⁴, 1.50 × 10⁻⁴, 9.26 × 10⁻⁵, and 4.39 × 10⁻⁵ for epochs 4 to 8 before early stopping. The training log's lr column holds each rate one row earlier, because a row is written after the end-of-epoch scheduler step. Best-checkpoint selection used minimum loss on a pop-dominated validation mix, which rose monotonically during jazz fine-tuning, so it kept the unchanged epoch 3.

Limitations

  • Chord symbols, automatic scores. Chord symbols only (no melody, rhythm, or audio), and every score here is automatic, not a listening result.
  • Header tokens. Small gaps between checkpoints can come from key and genre-marker predictions: epoch 6 predicts the placeholder C-major key that most test songs carry, which adds about 0.86 pop and 0.70 jazz points, so the +0.39 pop delta is not a pop gain. Without the header targets the four rehearsal volumes from 1K to 10K lose pop within 0.11 points of each other at every epoch, the 10K run losing the least.
  • Same weights as Phase 0. The released weights add no jazz adaptation or harmonic vocabulary over Phase 0, so the jazz-adapted F1 is ft-pop80-v2. Keeping the unchanged epoch depended on seed and data and was the worst case seen for this seed-42 run, since matched-data retrains with three seeds all selected adapted epochs (v2 card).
  • Genre markers it never read. Of the out-of-distribution target markers only rock's occurs as an input in Phase-0 training, which maps Chordonomicon's tags onto pop, rock, and jazz, so the blues and bossa nova markers of the base vocabulary and the eight new rows copied from the equally unused [GENRE:none] row are new to it. Given [GENRE:pop] instead and scored without the header targets, F1 gains 1.0 to 1.9 pp on the test sets of the nine non-chorale genres other than rock and 3.6 pp on Bach chorales, and then comes within 0.12 pp of the released matched LoRA adapter in every non-chorale genre (arXiv:2606.07334 v5), so outside Bach chorales the adapters mainly add a genre marker the model can use.

License

CC BY-NC 4.0 (weights; matching Chordonomicon, the dominant training corpus). Research, paper replication, portfolio, and demo use are permitted; commercial use is not.

Citation

@misc{lee2026chordmix,
  title         = {Empirical Study of Pop and Jazz Mix Ratios for Genre-Adaptive Chord Generation},
  author        = {Lee, Jinju},
  year          = {2026},
  eprint        = {2605.04998},
  archivePrefix = {arXiv}
}

@misc{lee2026chordtimeseries,
  title         = {How Far Can Chord-Symbol Time-Series Adaptation Carry Genre Identity?},
  author        = {Lee, Jinju},
  year          = {2026},
  eprint        = {2606.07334},
  archivePrefix = {arXiv}
}

@inproceedings{lee2026wheregenre,
  title     = {Where Does Genre Stop Following the Chords? A Fixed-Frame Listening Probe of Bounded Chord-Symbol Genre Identity (TheArtist)},
  author    = {Lee, Jinju},
  booktitle = {Late-Breaking/Demo Session of the 27th International Society for Music Information Retrieval Conference (ISMIR)},
  address   = {Abu Dhabi, United Arab Emirates},
  year      = {2026},
  url       = {https://ismir2026program.ismir.net/lbd_571.html#details}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Можно запустить

Подбираем GPU…

Ревизия весов
e62bbe6

0 моделей