sander-wood commited on
Commit
04eed52
1 Parent(s): bad9034

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -12
README.md CHANGED
@@ -2,33 +2,39 @@
2
  license: mit
3
  task_categories:
4
  - text-generation
5
- pretty_name: MABCD
6
  size_categories:
7
  - 100K<n<1M
8
- language:
9
- - en
10
  tags:
11
  - music
12
  ---
13
 
14
  ## Dataset Summary
15
 
16
- The Massive ABC notation Dataset (MABCD) used to train and evaluate [TunesFormer](https://huggingface.co/sander-wood/tunesformer) is collected from two sources: [The Session](https://thesession.org) and [ABCnotation.com](https://abcnotation.com). The Session is a community website focused on Irish traditional music, while ABCnotation.com is a website that provides a standard for folk and traditional music notation in the form of ASCII text files. Both of them provide a platform for sharing folk and traditional music. The combined dataset consists of 285,449 ABC tunes, with 99\% (282,595) of the tunes used as the training set and the remaining 1\% (2854) used as the evaluation set.
17
 
18
- Control codes are symbols that are added to the ABC notation representation to indicate the desired musical form of the generated melodies. We add the following control codes to each ABC tune in the dataset through an automated process to indicate its musical form:
19
 
20
- - Number of Bars (NB): controls the number of bars in a section of the melody. For example, users could specify that they want a section to contain 8 bars, and TunesFormer would generate a section that fits within that structure. It counts on the bar symbol ***|***.
21
- - Number of Sections (NS): controls the number of sections in the entire melody. This can be used to create a sense of structure and coherence within the melody, as different sections can be used to create musical themes or motifs. It counts on several symbols that are commonly used in ABC notation and can be used to represent section boundaries: ***\[|***, ***||***, ***|\]***, ***|:***, ***::***, and ***:|***.
22
- - Edit Distance Similarity (EDS): controls the similarity level between the current section and a previous section in the melody.
23
 
24
- To ensure consistency and standardization among the ABC tunes in the dataset, we first converted them all into MusicXML format and then re-converted them back into ABC notation. In order to focus solely on the musical content, we removed any natural language elements (such as titles, composers, and lyrics) and unnecessary information (such as reference numbers and sources).
25
 
26
- ABC notation can be converted to sheet music or audio using [this website](https://ldzhangyx.github.io/abc/), or [this software](https://sourceforge.net/projects/easyabc/).
 
 
 
 
 
 
 
 
 
 
27
 
28
  ## Copyright Disclaimer
29
- The dataset is provided solely for research purposes and is not intended for commercial use. While most of the tunes in the dataset are freely shared, some may be protected by copyright. It is the responsibility of the user to determine the copyright status of each tune and obtain any necessary permissions before using the data.
30
 
31
- If you are the copyright owner of any tune included in the MABCD and have concerns about its inclusion, please contact us at shangda@mail.ccom.edu.cn to have it removed.
32
 
33
  ## Special Thanks
34
  We would like to extend a special thanks to abcnotation.com and thesession.org for their contributions to the development and promotion of ABC notation, as well as their contributions to the field of music information retrieval. Their platforms have provided invaluable resources for the traditional and folk music community, and have made it possible for researchers like us to create and study large datasets like the Massive ABC notation Dataset.
 
2
  license: mit
3
  task_categories:
4
  - text-generation
5
+ pretty_name: IrishMAN
6
  size_categories:
7
  - 100K<n<1M
 
 
8
  tags:
9
  - music
10
  ---
11
 
12
  ## Dataset Summary
13
 
14
+ The **Irish Massive ABC Notation (IrishMAN)** dataset consists of 216,284 Irish music tunes represented in the widely adopted [ABC notation](https://abcnotation.com/) format. This format uses ASCII text to represent a comprehensive set of musical symbols, including pitches, rhythms, and essential structural elements like section boundaries.
15
 
16
+ Curated from thesession.org and abcnotation.com, prominent platforms for sharing folk and traditional music, the dataset includes 214,122 tunes for training and 2,162 tunes for evaluation. Importantly, all tunes are automatically annotated with control codes, providing valuable representations of their musical forms and structures. Moreover, a subset of over 40,000 tunes includes chord symbols, further enhancing the dataset's potential for applications such as music generation and analysis.
17
 
18
+ The IrishMAN dataset serves as a comprehensive resource for researchers in musicology and artificial intelligence, offering insights into the exploration and understanding of Irish traditional music. It's noteworthy that all tunes in the dataset are non-copyrighted, ensuring ethical and legal usage for research and creative projects. However, it's important to acknowledge that the automatic extraction of control codes for musical forms might introduce some accuracy limitations. Control codes are symbols added to the ABC notation to indicate the intended musical form of the generated melodies.
 
 
19
 
20
+ ## Control Codes
21
 
22
+ Drawing inspiration from [CTRL](https://huggingface.co/ctrl), control codes are incorporated into TunesFormer to represent musical forms. These codes, positioned before the ABC notation, allow users to specify the structures of the generated tunes. The following control codes are introduced:
23
+
24
+ - **B:number of bars**: This code enables users to define the desired number of bars within a section. It utilizes the bar symbol `|` to establish the length of each section. The dataset's section length ranges from 1 to 32 bars (e.g., `B:1` for a one-bar section, and `B:32` for a section with 32 bars).
25
+
26
+ - **S:number of sections**: With this control code, users can determine the overall structure of the generated melody by specifying the number of sections it should contain. Various symbols represent section boundaries, including `[|`, `||`, `|]`, `|:`, `::`, and `:|`. The dataset's range for the number of sections is from 1 to 8 (e.g., `S:1` for a single-section melody, and `S:8` for a melody with eight sections).
27
+
28
+ - **E:edit distance similarity**: This control code provides fine-grained control over the similarity between the current section ($c$) and a previous section ($p$) in the generated melody. Similarity is calculated using the Levenshtein distance, measuring the difference between two sequences. The edit distance similarity ($eds(c,p)$) is calculated as:
29
+ ```
30
+ eds(c,p) = 1 - lev(c,p) / max(|c|,|p|)
31
+ ```
32
+ where $|c|$ and $|p|$ are the string lengths of the two sections. The control code has 11 levels, ranging from no match to an exact match (e.g., `E:0` for no similarity, and `E:10` for an exact match).
33
 
34
  ## Copyright Disclaimer
35
+ The dataset is provided solely for research purposes and is not intended for commercial use.
36
 
37
+ If you are the copyright owner of any tune included in the IrishMAN and have concerns about its inclusion, please contact us at shangda@mail.ccom.edu.cn to have it removed.
38
 
39
  ## Special Thanks
40
  We would like to extend a special thanks to abcnotation.com and thesession.org for their contributions to the development and promotion of ABC notation, as well as their contributions to the field of music information retrieval. Their platforms have provided invaluable resources for the traditional and folk music community, and have made it possible for researchers like us to create and study large datasets like the Massive ABC notation Dataset.