L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

music-understanding-retrieval

music-understanding-retrieval

MusicBERT symbolic understanding, PDAugment lyrics-transcription augmentation, and CLaMP cross-modal symbolic MIR.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: music-understanding-retrieval description: "MusicBERT symbolic understanding, PDAugment lyrics-transcription augmentation, and CLaMP cross-modal symbolic MIR." metadata: disco-role: operating disable-model-invocation: true license: MIT

Music Understanding and Retrieval

Use this sub-skill when the task is about Muzic workflows for symbolic music understanding, lyrics-transcription augmentation, or cross-modal symbolic music retrieval.

Route by requested capability

RequestLoad nextNotes
Preprocess MIDI into OctupleMIDI, binarize data, pretrain MusicBERT, fine-tune/evaluate melody completion, accompaniment suggestion, genre, or style classifiersreferences/musicbert-workflows.mdData-prep can be CPU-bound; Fairseq train/eval normally needs the old MusicBERT stack, checkpoints, and CUDA.
Prepare speech/MIDI data for PDAugment, validate the final pdaugment.py positional arguments, or troubleshoot pitch/duration augmentation for lyrics transcriptionreferences/pdaugment-workflows.mdTreat the original augmentation run as corpus-scale and externally dependent on audio tools, phonemization, MFA alignment, and MIDI preprocessing.
Run or prepare CLaMP text/music semantic search, zero-shot classification, similar-music retrieval, or input layout validationreferences/clamp-workflows.mdThe original CLaMP CLI downloads Hugging Face assets on first run and caches key features under the inference layout.
Diagnose failures across these workflowsreferences/troubleshooting.mdStart with data/checkpoint/hardware checks before changing model code.

Explicit routes elsewhere

Safe bundled helpers

These helpers validate user-provided layouts only. They do not import Muzic source modules, load models, contact Hugging Face, run Fairseq, invoke MFA, or mutate training data.

python scripts/validate_clamp_inputs.py --help
python scripts/validate_pdaugment_layout.py --help

Use them before expensive runs:

  • scripts/validate_clamp_inputs.py checks CLaMP model name, query/key modalities, required inference/ files or folders, text-key counts, .mxl readability, and top_n consistency.
  • scripts/validate_pdaugment_layout.py checks the final PDAugment positional-argument layout, frequency JSON shape, metadata CSV columns, speech WAV/transcript layout, MIDI file presence, output directories, and thread count.

Operating rules

  1. Keep MusicBERT, PDAugment, and CLaMP commands separate; they use different dependency stacks and data layouts.
  2. Before running source scripts, identify whether the requested step is input validation, CPU preprocessing, model inference, training, or evaluation.
  3. Never assume external corpora, checkpoints, Hugging Face downloads, Fairseq user modules, CUDA, MFA, ffmpeg, or old Python packages are already available.
  4. Prefer dry layout validation and command planning unless the user explicitly provides the needed data, checkpoints, and runtime budget.
  5. When reporting a run plan, include: command, working directory requirement, expected input layout, expected output artifacts, first-run downloads, backend needs, and blockers.
Skills enregistrées