Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- music
|
| 9 |
+
- folk-music
|
| 10 |
+
- irish-traditional-music
|
| 11 |
+
- abc-notation
|
| 12 |
+
- symbolic-music
|
| 13 |
+
size_categories:
|
| 14 |
+
- 100K<n<1M
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# ABC2Vec Irish Folk Music Dataset
|
| 18 |
+
|
| 19 |
+
This dataset contains 211,524 Irish traditional tunes in ABC notation, preprocessed and split for training representation learning models.
|
| 20 |
+
|
| 21 |
+
## Dataset Description
|
| 22 |
+
|
| 23 |
+
- **Curated by:** IrishMAN Dataset (The Session + ABCnotation.com)
|
| 24 |
+
- **Processed for:** ABC2Vec: Self-Supervised Representation Learning for Irish Folk Music
|
| 25 |
+
- **Language:** ABC notation (symbolic music format)
|
| 26 |
+
- **License:** CC-BY-4.0
|
| 27 |
+
|
| 28 |
+
## Dataset Structure
|
| 29 |
+
|
| 30 |
+
### Data Splits
|
| 31 |
+
|
| 32 |
+
| Split | Tunes | File Size |
|
| 33 |
+
|-------|-------|-----------|
|
| 34 |
+
| Train | 198,893 | 70 MB |
|
| 35 |
+
| Validation | 10,469 | 3.7 MB |
|
| 36 |
+
| Test | 2,162 | 778 KB |
|
| 37 |
+
| **Total** | **211,524** | **~74 MB** |
|
| 38 |
+
|
| 39 |
+
### Data Fields
|
| 40 |
+
|
| 41 |
+
Each tune contains:
|
| 42 |
+
- `tune_id`: Unique identifier
|
| 43 |
+
- `title`: Tune name
|
| 44 |
+
- `abc_body`: ABC notation of the melody
|
| 45 |
+
- `tune_type`: Rhythmic category (jig, reel, polka, waltz, etc.)
|
| 46 |
+
- `mode`: Tonal mode (major, minor, dorian, mixolydian)
|
| 47 |
+
- `key`: Key signature
|
| 48 |
+
- `meter`: Time signature
|
| 49 |
+
- `bar_count`: Number of bars in the tune
|
| 50 |
+
|
| 51 |
+
### Dataset Statistics
|
| 52 |
+
|
| 53 |
+
- **Tune Types:** 44.9% reels, 21.3% jigs, 14.5% polkas, 12.2% waltzes
|
| 54 |
+
- **Modes:** 80.2% major, 11.3% minor, 5.4% Dorian, 3.0% Mixolydian
|
| 55 |
+
- **Keys:** 30.5% G, 26.8% D, 13.9% A (sharp keys dominant)
|
| 56 |
+
- **Median Length:** 18 bars, 287 characters
|
| 57 |
+
|
| 58 |
+
## Usage
|
| 59 |
+
|
| 60 |
+
```python
|
| 61 |
+
from datasets import load_dataset
|
| 62 |
+
|
| 63 |
+
# Load the entire dataset
|
| 64 |
+
dataset = load_dataset("pianistprogrammer/abc2vec-irish-folk-dataset")
|
| 65 |
+
|
| 66 |
+
# Access splits
|
| 67 |
+
train = dataset["train"]
|
| 68 |
+
val = dataset["validation"]
|
| 69 |
+
test = dataset["test"]
|
| 70 |
+
|
| 71 |
+
# Example tune
|
| 72 |
+
print(train[0]["abc_body"])
|
| 73 |
+
print(f"Type: {train[0]['tune_type']}, Mode: {train[0]['mode']}")
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
## Citation
|
| 77 |
+
|
| 78 |
+
If you use this dataset, please cite:
|
| 79 |
+
|
| 80 |
+
```bibtex
|
| 81 |
+
@article{abc2vec2025,
|
| 82 |
+
title={ABC2Vec: Self-Supervised Representation Learning for Irish Folk Music},
|
| 83 |
+
author={[Your Name]},
|
| 84 |
+
journal={[Journal Name]},
|
| 85 |
+
year={2025}
|
| 86 |
+
}
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
## Source
|
| 90 |
+
|
| 91 |
+
This dataset is derived from:
|
| 92 |
+
- **The Session** (thesession.org): Community-maintained Irish traditional music archive
|
| 93 |
+
- **ABCnotation.com**: Long-standing ABC notation repository
|
| 94 |
+
|
| 95 |
+
Processed as part of the IrishMAN (Irish Music ABC Notation) corpus.
|
| 96 |
+
|
| 97 |
+
## License
|
| 98 |
+
|
| 99 |
+
Creative Commons Attribution 4.0 International (CC-BY-4.0)
|
| 100 |
+
|
| 101 |
+
The original tunes are traditional folk music in the public domain. This processed dataset is released under CC-BY-4.0.
|
| 102 |
+
|
| 103 |
+
## Additional Files
|
| 104 |
+
|
| 105 |
+
- `vocab.json`: Character vocabulary for tokenization (98 tokens)
|
| 106 |
+
- `metadata.csv`: Complete metadata for all 211,524 tunes
|
| 107 |
+
|
| 108 |
+
## Contact
|
| 109 |
+
|
| 110 |
+
For questions or issues with this dataset, please open an issue on the [ABC2Vec GitHub repository](https://github.com/pianistprogrammer/ABC2VEC).
|