CoolFace
Datasetpublic

ChaoticEconomist/Jazz-Blues-Music-Dataset_SFT-or-LoRA

Jazz & Blues Music Dataset (SFT / LoRA Ready) A structured dataset covering 82 iconic Jazz and Blues songs, 21 artist profiles, and 41 historical events, expanded into 1,219 instruction-tuning rows across 7 task types. Designed for fine-tuning LLMs on music knowledge, cultural history, artist biography, and domain-specific Q&A tasks. Overview Property Value Domain Jazz & Blues Music Total rows 1,219 Train split 1,036 (85%) Validation split 91… See the full description on the dataset page: https://huggingface.co/datasets/ChaoticEconomist/Jazz-Blues-Music-Dataset_SFT-or-LoRA.

sourceHugging Facecc-by-4.0updated 5mo agoView on Hugging Face
0likes17downloads
Dataset Card

Jazz & Blues Music Dataset (SFT / LoRA Ready)

A structured dataset covering 82 iconic Jazz and Blues songs, 21 artist profiles, and 41 historical events, expanded into 1,219 instruction-tuning rows across 7 task types.

Designed for fine-tuning LLMs on music knowledge, cultural history, artist biography, and domain-specific Q&A tasks.


Overview

PropertyValue
DomainJazz & Blues Music
Total rows1,219
Train split1,036 (85%)
Validation split91 (~7.5%)
Test split92 (~7.5%)
FormatCSV (Alpaca-style prompt format)
Songs covered82 (41 Blues, 41 Jazz)
Artists covered21 (11 Blues, 10 Jazz)
History events41 (18 Blues, 23 Jazz)
LicenseCC BY 4.0

Row Types

TypeCountDescription
song_qa6568 Q&A pairs per song (artist, year, genre, key, tempo, description, significance, subgenre)
history_qa2055 Q&A pairs per historical event
listening_guide82How to listen to and appreciate each song
artist_qa1266 Q&A pairs per artist (genre, origin, instruments, style, legacy, birth)
song_explanation82Full structured explanation of each song
history_explanation41Full structured explanation of each historical event
artist_profile21Full artist biography and legacy
genre_comparison6Side-by-side comparison of related subgenres

Columns

ColumnTypeDescription
instructionstringTask instruction for the model
inputstringThe question, song title, artist name, or event name
completionstringThe expected model output
promptstringFull Alpaca-style prompt (### Instruction / ### Input / ### Response:)
textstringprompt + completion — ready for SFT trainers
genrestringjazz or blues
subgenrestringMusical subgenre, historical era, or artist_profile / genre_comparison
difficultystringbeginner, intermediate, or advanced
row_typestringOne of the 7 row types above
sourcestringAlways jazz_blues
splitstringtrain, validation, or test

Genres & Subgenres

Blues Subgenres

SubgenreKey Artists
delta_bluesRobert Johnson, Elmore James, Robert Petway
chicago_bluesMuddy Waters, Howlin' Wolf, Jimmy Reed, Junior Wells
electric_bluesB.B. King, Shake Your Moneymaker
texas_bluesStevie Ray Vaughan
west_coast_bluesT-Bone Walker, Lowell Fulson
boogie_bluesJohn Lee Hooker
soul_bluesAlbert King, Etta James, Bobby 'Blue' Bland
country_bluesBig Bill Broonzy
rhythm_and_bluesBig Mama Thornton
classic_bluesBessie Smith, Mamie Smith

Jazz Subgenres

SubgenreKey Artists
new_orleans_jazzLouis Armstrong, Jelly Roll Morton
swing_eraDuke Ellington, Benny Goodman, Billie Holiday
bebopCharlie Parker, Dizzy Gillespie, Thelonious Monk
cool_jazzMiles Davis, Dave Brubeck, Chet Baker
hard_bopHerbie Hancock, Art Blakey, Bobby Timmons
modal_jazzMiles Davis (Kind of Blue), John Coltrane
post_bopWayne Shorter, Miles Davis (second quintet), Bill Evans
spiritual_jazzJohn Coltrane (A Love Supreme)
jazz_fusionWeather Report, Herbie Hancock (Head Hunters)
jazz_standardAutumn Leaves, Summertime, Body and Soul, Cherokee
traditional_jazzLouis Armstrong
free_jazzOrnette Coleman, Cecil Taylor

Difficulty Levels

LevelCriteria
beginnerFoundational songs, early history, and well-known artists
intermediateCore genre developments, Chicago blues, bebop, cool jazz, hard bop
advancedModal jazz, free jazz, fusion, spiritual jazz, post-bop

Genre Comparisons Included

  • —Delta Blues vs Chicago Blues
  • —Bebop vs Cool Jazz
  • —Hard Bop vs Modal Jazz
  • —Texas Blues vs West Coast Blues
  • —Jazz Fusion vs Post-Bop
  • —Soul Blues vs Rhythm and Blues

Prompt Format

All rows use the Alpaca instruction format:

### Instruction:
Explain the following jazz or blues song, including its artist, year, genre,
musical characteristics, and historical significance.

### Input:
"So What" by Miles Davis

### Response:
**So What** — Miles Davis (1959)

**Genre:** Jazz / Modal Jazz

**Key:** D Dorian  |  **Tempo:** Slow

**Description:** The opening track of Kind of Blue; built on two modal scales
rather than complex chord changes, giving improvisers vast melodic freedom.

**Historical Significance:** Defined modal jazz and remains the most-streamed
jazz recording of all time.

Usage

Load with 🤗 Datasets

python
from datasets import load_dataset

ds = load_dataset("csv", data_files={
    "train":      "jazz_blues_data/train.csv",
    "validation": "jazz_blues_data/validation.csv",
    "test":       "jazz_blues_data/test.csv",
})

Fine-tune with TRL SFTTrainer

python
from trl import SFTTrainer

trainer = SFTTrainer(
    model=model,
    train_dataset=ds["train"],
    dataset_text_field="text",
    ...
)

Filter examples

python
# Only blues rows
blues = ds["train"].filter(lambda x: x["genre"] == "blues")

# Only artist profiles
profiles = ds["train"].filter(lambda x: x["row_type"] == "artist_profile")

# Only advanced jazz history
adv_jazz_hist = ds["train"].filter(
    lambda x: x["genre"] == "jazz"
    and x["row_type"] == "history_explanation"
    and x["difficulty"] == "advanced"
)

# Listening guides only
guides = ds["train"].filter(lambda x: x["row_type"] == "listening_guide")

Files

FileDescription
jazz_blues_dataset.csvFull dataset (1,219 rows)
jazz_blues_data/train.csvTraining split (1,036 rows, 85%)
jazz_blues_data/validation.csvValidation split (91 rows, ~7.5%)
jazz_blues_data/test.csvTest split (92 rows, ~7.5%)
gen_jazz_blues.pyDataset generator script
jazz_blues_songs.pySource knowledge base

Intended Uses

  • —Music LLM fine-tuning — teach models to reason about jazz and blues
  • —Cultural history Q&A — question answering over music history
  • —Artist biography generation — structured artist profiles
  • —LoRA adapters — lightweight music-domain adapters
  • —Educational tools — interactive music history tutors
  • —Genre classification — structured subgenre knowledge

Out-of-Scope Uses

  • —Does not cover rock, soul, R&B, classical, or other genres in depth
  • —Not a substitute for a full musicology reference or discography database

License

Creative Commons Attribution 4.0 International (CC BY 4.0)