hoyso48 commited on
Commit
69a9029
·
verified ·
1 Parent(s): 22dcc62

Shorten dataset card

Browse files
Files changed (1) hide show
  1. README.md +22 -88
README.md CHANGED
@@ -12,8 +12,6 @@ tags:
12
  - music
13
  - multi-audio
14
  - music-qa
15
- - source-separation
16
- - audio-language-model
17
  configs:
18
  - config_name: main
19
  data_files: data/main.jsonl
@@ -36,7 +34,7 @@ dataset_info:
36
  sequence: string
37
  ---
38
 
39
- # STEMMA-Instruct: Multi-Audio Instruction Data over Songs, Sections, and Stems
40
 
41
  <p align="center">
42
  <a href="https://github.com/hoyso48/STEMMA">💻 Code</a> &nbsp;|&nbsp;
@@ -45,98 +43,35 @@ dataset_info:
45
  <a href="https://huggingface.co/hoyso48/STEMMA-MOSS-Music">🤗 STEMMA-MOSS-Music</a>
46
  </p>
47
 
48
- **STEMMA-Instruct** is the instruction-tuning set of *STEMMA: Song-to-Stem Multi-Audio Reasoning for Large Audio
49
- Language Models*. Each instance gives a model two to five music clips — full songs, sections, or section stems — and
50
- asks about their relations. Labels come from catalog provenance (which song, section, and stem a clip belongs to),
51
- not from a language model.
52
 
53
- This release covers the public corpora JamendoMaxCaps and the commercially reusable subset of the Free Music Archive
54
- (FMA). The in-house dataset used in the paper is not included. The release is text and metadata only; audio is rebuilt
55
- from the original corpora.
56
-
57
- ## Key Statistics
58
-
59
- | Statistic | Value |
60
  |---|---|
61
- | **Instances** (`main`) | 162,832 |
62
- | **Relation MultiQA** | 81,416 |
63
- | **Coreference** | 81,416 |
64
- | **Songs** | 81,416 (JamendoMaxCaps 69,297 · FMA 12,119) |
65
- | **Audio inputs per instance** | 2–5 |
66
- | **Relation tasks** | 29 |
67
-
68
- ## Dataset Structure
69
-
70
- | Field | Type | Description |
71
- |---|---|---|
72
- | `id` | string | Instance identifier (e.g., `fma-relation-000007`) |
73
- | `task` | string | Relation task (`<relation>_<format>`) or `coreference` |
74
- | `question` | string | Prompt with one `<audio>` placeholder per entry of `audios`, in order |
75
- | `answer` | string | Target response |
76
- | `audios` | list[string] | Audio IDs (see [Audio](#audio)) |
77
-
78
- | Config | Rows | Content |
79
- |---|---:|---|
80
- | `main` | 162,832 | Relation MultiQA + Coreference |
81
- | `relation_only` | 81,416 | Relation MultiQA |
82
- | `coreference_only` | 81,416 | Coreference |
83
 
84
- ## Task Types
85
 
86
- **Relation MultiQA** (one instance per song) asks about a relation between clips. Three formats:
87
-
88
- - **pair_yes_no** (34,466): two clips, yes/no.
89
- *"Are Audio A and Audio B different isolated components from the same recorded section?"* → `yes`
90
- - **pair_short_answer** (18,812): two clips, a short answer listing shared keys or tags.
91
- *"What genres do Audio A and Audio B share?"* → `The genres Audio A and Audio B share are folk, pop, singersongwriter.`
92
- - **anchor_candidates_mcq** (28,138): an anchor and four candidates, one correct.
93
- *"Which candidate audio comes from the same track as Audio A?"* → `C`
94
-
95
- **Coreference** (81,416) gives two to four full songs under separate labels and asks for a description of each; the
96
- target repeats each song's own caption under its label.
97
-
98
- | Group | Relations |
99
  |---|---|
100
- | Structural | same track, adjacent section, same section (different stem), parent–child (section → stem), same stem type |
101
- | Attribute | same key, same tempo, faster tempo, instrument overlap, genre overlap |
 
 
 
102
 
103
- Relations are asked over sections, over stems, or across the two (parent–child). Task names without `_block` use
104
- sections; `_block` tasks use stems.
105
 
106
  ## Audio
107
 
108
- Audio IDs use the original track IDs (Jamendo track ID; FMA track ID zero-padded to six digits):
109
-
110
- | Audio ID | Clip |
111
- |---|---|
112
- | `<corpus>/masters/<track>/<track>-NNN-<section>` | one section of the song |
113
- | `<corpus>/blocks/<track>/<section>/<track>-NNN-<section>-<role>` | one stem of that section (`vocals`, `drums`, `bass`, `other`) |
114
- | `<corpus>/masters/<track>` | the full song (its sections in order); used by Coreference |
115
-
116
- Section boundaries are in `metadata/<corpus>.duckdb`; stems were separated with SCNet. The
117
- [code repository](https://github.com/hoyso48/STEMMA) rebuilds the clips from the original audio.
118
-
119
- ## Metadata and Captions
120
-
121
- | File | Content |
122
- |---|---|
123
- | `metadata/{jamendomaxcaps,fma}.duckdb` | `tracks` (title, duration, key, tempo), `sections` (boundaries), `samples` (clip unit, stem role, key, tempo, quality flag), `genres`, `instruments`, `chords`, `moods` |
124
- | `captions/{jamendomaxcaps,fma}.jsonl` | `{"audio": "<corpus>/masters/<track>", "caption": "..."}`, the full-song captions used by Coreference |
125
-
126
- ## Usage
127
-
128
- ```python
129
- from datasets import load_dataset
130
- import duckdb
131
-
132
- data = load_dataset("hoyso48/STEMMA-Instruct", "main", split="train")
133
- example = data[0]
134
- print(example["task"], example["question"], example["answer"], example["audios"], sep="\n")
135
-
136
- # Section boundaries for a clip (after downloading metadata/fma.duckdb)
137
- con = duckdb.connect("metadata/fma.duckdb", read_only=True)
138
- print(con.execute("select * from sections where track_id = '086595' order by section_index").fetchall())
139
- ```
140
 
141
  ## Citation
142
 
@@ -151,5 +86,4 @@ print(con.execute("select * from sections where track_id = '086595' order by sec
151
 
152
  ## License
153
 
154
- **CC BY-NC-SA 4.0.** The original audio and metadata remain subject to the terms of JamendoMaxCaps and the Free Music
155
- Archive.
 
12
  - music
13
  - multi-audio
14
  - music-qa
 
 
15
  configs:
16
  - config_name: main
17
  data_files: data/main.jsonl
 
34
  sequence: string
35
  ---
36
 
37
+ # STEMMA-Instruct
38
 
39
  <p align="center">
40
  <a href="https://github.com/hoyso48/STEMMA">💻 Code</a> &nbsp;|&nbsp;
 
43
  <a href="https://huggingface.co/hoyso48/STEMMA-MOSS-Music">🤗 STEMMA-MOSS-Music</a>
44
  </p>
45
 
46
+ Multi-audio music instruction data from *STEMMA: Song-to-Stem Multi-Audio Reasoning for Large Audio Language Models*,
47
+ built from JamendoMaxCaps and the commercially reusable subset of FMA. The in-house dataset used in the paper is not
48
+ included.
 
49
 
50
+ | | |
 
 
 
 
 
 
51
  |---|---|
52
+ | Instances (`main`) | 162,832 = Relation MultiQA 81,416 + Coreference 81,416 |
53
+ | Songs | JamendoMaxCaps 69,297 · FMA 12,119 |
54
+ | Audio inputs per instance | 2–5 (songs, sections, or section stems) |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
+ ## Format
57
 
58
+ | Field | Description |
 
 
 
 
 
 
 
 
 
 
 
 
59
  |---|---|
60
+ | `id` | instance ID |
61
+ | `task` | `<relation>_<format>` (29 relation tasks) or `coreference` |
62
+ | `question` | prompt with one `<audio>` per entry of `audios` |
63
+ | `answer` | target |
64
+ | `audios` | audio IDs |
65
 
66
+ Configs: `main`, `relation_only`, `coreference_only`. Relation MultiQA formats are yes/no, short answer, and
67
+ four-candidate multiple choice; Coreference describes 2–4 songs under separate labels.
68
 
69
  ## Audio
70
 
71
+ Audio is not included. Audio IDs map to the original tracks (Jamendo / FMA track IDs):
72
+ `<corpus>/masters/<track>/<track>-NNN-<section>` (section), `<corpus>/blocks/<track>/<section>/...-<role>` (SCNet stem),
73
+ `<corpus>/masters/<track>` (full song). Section boundaries are in `metadata/<corpus>.duckdb`, which also holds track,
74
+ clip, and tag metadata; `captions/` holds the full-song captions used by Coreference.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
 
76
  ## Citation
77
 
 
86
 
87
  ## License
88
 
89
+ CC BY-NC-SA 4.0. The original audio and metadata remain subject to the JamendoMaxCaps and FMA terms.