Update README: switch configs to Parquet paths
Browse files
README.md
CHANGED
|
@@ -19,97 +19,97 @@ configs:
|
|
| 19 |
- config_name: pitchbench_a1_single_pitch_id
|
| 20 |
data_files:
|
| 21 |
- split: test
|
| 22 |
-
path: pitchbench_a1_single_pitch_id/
|
| 23 |
|
| 24 |
- config_name: pitchbench_a2_single_pitch_by_loudness
|
| 25 |
data_files:
|
| 26 |
- split: test
|
| 27 |
-
path: pitchbench_a2_single_pitch_by_loudness/
|
| 28 |
|
| 29 |
- config_name: pitchbench_a3_single_pitch_by_duration
|
| 30 |
data_files:
|
| 31 |
- split: test
|
| 32 |
-
path: pitchbench_a3_single_pitch_by_duration/
|
| 33 |
|
| 34 |
- config_name: pitchbench_b1_single_pitch_within_silence
|
| 35 |
data_files:
|
| 36 |
- split: test
|
| 37 |
-
path: pitchbench_b1_single_pitch_within_silence/
|
| 38 |
|
| 39 |
- config_name: pitchbench_b2_pitch_at_timestamp
|
| 40 |
data_files:
|
| 41 |
- split: test
|
| 42 |
-
path: pitchbench_b2_pitch_at_timestamp/
|
| 43 |
|
| 44 |
- config_name: pitchbench_b3_timestamp_single_pitch
|
| 45 |
data_files:
|
| 46 |
- split: test
|
| 47 |
-
path: pitchbench_b3_timestamp_single_pitch/
|
| 48 |
|
| 49 |
- config_name: pitchbench_b4_timestamp_specific_pitch
|
| 50 |
data_files:
|
| 51 |
- split: test
|
| 52 |
-
path: pitchbench_b4_timestamp_specific_pitch/
|
| 53 |
|
| 54 |
- config_name: pitchbench_b5_timestamp_multiple_pitches
|
| 55 |
data_files:
|
| 56 |
- split: test
|
| 57 |
-
path: pitchbench_b5_timestamp_multiple_pitches/
|
| 58 |
|
| 59 |
- config_name: pitchbench_c1_chord_count_pitches
|
| 60 |
data_files:
|
| 61 |
- split: test
|
| 62 |
-
path: pitchbench_c1_chord_count_pitches/
|
| 63 |
|
| 64 |
- config_name: pitchbench_c2_chord_dyad_interval
|
| 65 |
data_files:
|
| 66 |
- split: test
|
| 67 |
-
path: pitchbench_c2_chord_dyad_interval/
|
| 68 |
|
| 69 |
- config_name: pitchbench_c3_chord_quality
|
| 70 |
data_files:
|
| 71 |
- split: test
|
| 72 |
-
path: pitchbench_c3_chord_quality/
|
| 73 |
|
| 74 |
- config_name: pitchbench_c4_chord_pitches
|
| 75 |
data_files:
|
| 76 |
- split: test
|
| 77 |
-
path: pitchbench_c4_chord_pitches/
|
| 78 |
|
| 79 |
- config_name: pitchbench_d1_sequence_count_pitches
|
| 80 |
data_files:
|
| 81 |
- split: test
|
| 82 |
-
path: pitchbench_d1_sequence_count_pitches/
|
| 83 |
|
| 84 |
- config_name: pitchbench_d2_dyad_lower_higher_difference
|
| 85 |
data_files:
|
| 86 |
- split: test
|
| 87 |
-
path: pitchbench_d2_dyad_lower_higher_difference/
|
| 88 |
|
| 89 |
- config_name: pitchbench_d3_contour_discrete
|
| 90 |
data_files:
|
| 91 |
- split: test
|
| 92 |
-
path: pitchbench_d3_contour_discrete/
|
| 93 |
|
| 94 |
- config_name: pitchbench_d4_contour_continuous
|
| 95 |
data_files:
|
| 96 |
- split: test
|
| 97 |
-
path: pitchbench_d4_contour_continuous/
|
| 98 |
|
| 99 |
- config_name: pitchbench_d5_sequence_ranking_by_pitch
|
| 100 |
data_files:
|
| 101 |
- split: test
|
| 102 |
-
path: pitchbench_d5_sequence_ranking_by_pitch/
|
| 103 |
|
| 104 |
- config_name: pitchbench_d6_sequence_dyad_interval
|
| 105 |
data_files:
|
| 106 |
- split: test
|
| 107 |
-
path: pitchbench_d6_sequence_dyad_interval/
|
| 108 |
|
| 109 |
- config_name: pitchbench_d7a_pitch_with_reference
|
| 110 |
data_files:
|
| 111 |
- split: test
|
| 112 |
-
path: pitchbench_d7a_pitch_with_reference/
|
| 113 |
|
| 114 |
- config_name: pitchbench_d7b_pitch_with_reference_split
|
| 115 |
data_files:
|
|
@@ -119,47 +119,47 @@ configs:
|
|
| 119 |
- config_name: pitchbench_d8_sequence_pitches
|
| 120 |
data_files:
|
| 121 |
- split: test
|
| 122 |
-
path: pitchbench_d8_sequence_pitches/
|
| 123 |
|
| 124 |
- config_name: pitchbench_e1_audio_effects
|
| 125 |
data_files:
|
| 126 |
- split: test
|
| 127 |
-
path: pitchbench_e1_audio_effects/
|
| 128 |
|
| 129 |
- config_name: pitchbench_e2_background
|
| 130 |
data_files:
|
| 131 |
- split: test
|
| 132 |
-
path: pitchbench_e2_background/
|
| 133 |
|
| 134 |
- config_name: pitchbench_e3_harmonic_saturation
|
| 135 |
data_files:
|
| 136 |
- split: test
|
| 137 |
-
path: pitchbench_e3_harmonic_saturation/
|
| 138 |
|
| 139 |
- config_name: pitchbench_e4_time_stretching
|
| 140 |
data_files:
|
| 141 |
- split: test
|
| 142 |
-
path: pitchbench_e4_time_stretching/
|
| 143 |
|
| 144 |
- config_name: pitchbench_e5_vibrato
|
| 145 |
data_files:
|
| 146 |
- split: test
|
| 147 |
-
path: pitchbench_e5_vibrato/
|
| 148 |
|
| 149 |
- config_name: pitchbench_e6_slightly_off
|
| 150 |
data_files:
|
| 151 |
- split: test
|
| 152 |
-
path: pitchbench_e6_slightly_off/
|
| 153 |
|
| 154 |
- config_name: pitchbench_f1_melodic_line_atonal
|
| 155 |
data_files:
|
| 156 |
- split: test
|
| 157 |
-
path: pitchbench_f1_melodic_line_atonal/
|
| 158 |
|
| 159 |
- config_name: pitchbench_f2_melodic_line_tonal
|
| 160 |
data_files:
|
| 161 |
- split: test
|
| 162 |
-
path: pitchbench_f2_melodic_line_tonal/
|
| 163 |
---
|
| 164 |
|
| 165 |
# PitchBench
|
|
@@ -180,7 +180,12 @@ from datasets import load_dataset
|
|
| 180 |
|
| 181 |
# Load one experiment (configurations match experiment IDs)
|
| 182 |
ds = load_dataset("pitchbench-authors/PitchBench", "pitchbench_a1_single_pitch_id", split="test")
|
| 183 |
-
print(ds[0]["audio"], ds[0]["prompt_midi"], ds[0]["
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
|
| 185 |
# Iterate every experiment
|
| 186 |
import datasets
|
|
|
|
| 19 |
- config_name: pitchbench_a1_single_pitch_id
|
| 20 |
data_files:
|
| 21 |
- split: test
|
| 22 |
+
path: pitchbench_a1_single_pitch_id/test-00000-of-00001.parquet
|
| 23 |
|
| 24 |
- config_name: pitchbench_a2_single_pitch_by_loudness
|
| 25 |
data_files:
|
| 26 |
- split: test
|
| 27 |
+
path: pitchbench_a2_single_pitch_by_loudness/test-00000-of-00001.parquet
|
| 28 |
|
| 29 |
- config_name: pitchbench_a3_single_pitch_by_duration
|
| 30 |
data_files:
|
| 31 |
- split: test
|
| 32 |
+
path: pitchbench_a3_single_pitch_by_duration/test-00000-of-00001.parquet
|
| 33 |
|
| 34 |
- config_name: pitchbench_b1_single_pitch_within_silence
|
| 35 |
data_files:
|
| 36 |
- split: test
|
| 37 |
+
path: pitchbench_b1_single_pitch_within_silence/test-00000-of-00001.parquet
|
| 38 |
|
| 39 |
- config_name: pitchbench_b2_pitch_at_timestamp
|
| 40 |
data_files:
|
| 41 |
- split: test
|
| 42 |
+
path: pitchbench_b2_pitch_at_timestamp/test-00000-of-00001.parquet
|
| 43 |
|
| 44 |
- config_name: pitchbench_b3_timestamp_single_pitch
|
| 45 |
data_files:
|
| 46 |
- split: test
|
| 47 |
+
path: pitchbench_b3_timestamp_single_pitch/test-00000-of-00001.parquet
|
| 48 |
|
| 49 |
- config_name: pitchbench_b4_timestamp_specific_pitch
|
| 50 |
data_files:
|
| 51 |
- split: test
|
| 52 |
+
path: pitchbench_b4_timestamp_specific_pitch/test-00000-of-00001.parquet
|
| 53 |
|
| 54 |
- config_name: pitchbench_b5_timestamp_multiple_pitches
|
| 55 |
data_files:
|
| 56 |
- split: test
|
| 57 |
+
path: pitchbench_b5_timestamp_multiple_pitches/test-00000-of-00001.parquet
|
| 58 |
|
| 59 |
- config_name: pitchbench_c1_chord_count_pitches
|
| 60 |
data_files:
|
| 61 |
- split: test
|
| 62 |
+
path: pitchbench_c1_chord_count_pitches/test-00000-of-00001.parquet
|
| 63 |
|
| 64 |
- config_name: pitchbench_c2_chord_dyad_interval
|
| 65 |
data_files:
|
| 66 |
- split: test
|
| 67 |
+
path: pitchbench_c2_chord_dyad_interval/test-00000-of-00001.parquet
|
| 68 |
|
| 69 |
- config_name: pitchbench_c3_chord_quality
|
| 70 |
data_files:
|
| 71 |
- split: test
|
| 72 |
+
path: pitchbench_c3_chord_quality/test-00000-of-00001.parquet
|
| 73 |
|
| 74 |
- config_name: pitchbench_c4_chord_pitches
|
| 75 |
data_files:
|
| 76 |
- split: test
|
| 77 |
+
path: pitchbench_c4_chord_pitches/test-00000-of-00001.parquet
|
| 78 |
|
| 79 |
- config_name: pitchbench_d1_sequence_count_pitches
|
| 80 |
data_files:
|
| 81 |
- split: test
|
| 82 |
+
path: pitchbench_d1_sequence_count_pitches/test-00000-of-00001.parquet
|
| 83 |
|
| 84 |
- config_name: pitchbench_d2_dyad_lower_higher_difference
|
| 85 |
data_files:
|
| 86 |
- split: test
|
| 87 |
+
path: pitchbench_d2_dyad_lower_higher_difference/test-00000-of-00001.parquet
|
| 88 |
|
| 89 |
- config_name: pitchbench_d3_contour_discrete
|
| 90 |
data_files:
|
| 91 |
- split: test
|
| 92 |
+
path: pitchbench_d3_contour_discrete/test-00000-of-00001.parquet
|
| 93 |
|
| 94 |
- config_name: pitchbench_d4_contour_continuous
|
| 95 |
data_files:
|
| 96 |
- split: test
|
| 97 |
+
path: pitchbench_d4_contour_continuous/test-00000-of-00001.parquet
|
| 98 |
|
| 99 |
- config_name: pitchbench_d5_sequence_ranking_by_pitch
|
| 100 |
data_files:
|
| 101 |
- split: test
|
| 102 |
+
path: pitchbench_d5_sequence_ranking_by_pitch/test-00000-of-00001.parquet
|
| 103 |
|
| 104 |
- config_name: pitchbench_d6_sequence_dyad_interval
|
| 105 |
data_files:
|
| 106 |
- split: test
|
| 107 |
+
path: pitchbench_d6_sequence_dyad_interval/test-00000-of-00001.parquet
|
| 108 |
|
| 109 |
- config_name: pitchbench_d7a_pitch_with_reference
|
| 110 |
data_files:
|
| 111 |
- split: test
|
| 112 |
+
path: pitchbench_d7a_pitch_with_reference/test-00000-of-00001.parquet
|
| 113 |
|
| 114 |
- config_name: pitchbench_d7b_pitch_with_reference_split
|
| 115 |
data_files:
|
|
|
|
| 119 |
- config_name: pitchbench_d8_sequence_pitches
|
| 120 |
data_files:
|
| 121 |
- split: test
|
| 122 |
+
path: pitchbench_d8_sequence_pitches/test-00000-of-00001.parquet
|
| 123 |
|
| 124 |
- config_name: pitchbench_e1_audio_effects
|
| 125 |
data_files:
|
| 126 |
- split: test
|
| 127 |
+
path: pitchbench_e1_audio_effects/test-00000-of-00001.parquet
|
| 128 |
|
| 129 |
- config_name: pitchbench_e2_background
|
| 130 |
data_files:
|
| 131 |
- split: test
|
| 132 |
+
path: pitchbench_e2_background/test-00000-of-00001.parquet
|
| 133 |
|
| 134 |
- config_name: pitchbench_e3_harmonic_saturation
|
| 135 |
data_files:
|
| 136 |
- split: test
|
| 137 |
+
path: pitchbench_e3_harmonic_saturation/test-00000-of-00001.parquet
|
| 138 |
|
| 139 |
- config_name: pitchbench_e4_time_stretching
|
| 140 |
data_files:
|
| 141 |
- split: test
|
| 142 |
+
path: pitchbench_e4_time_stretching/test-00000-of-00001.parquet
|
| 143 |
|
| 144 |
- config_name: pitchbench_e5_vibrato
|
| 145 |
data_files:
|
| 146 |
- split: test
|
| 147 |
+
path: pitchbench_e5_vibrato/test-00000-of-00001.parquet
|
| 148 |
|
| 149 |
- config_name: pitchbench_e6_slightly_off
|
| 150 |
data_files:
|
| 151 |
- split: test
|
| 152 |
+
path: pitchbench_e6_slightly_off/test-00000-of-00001.parquet
|
| 153 |
|
| 154 |
- config_name: pitchbench_f1_melodic_line_atonal
|
| 155 |
data_files:
|
| 156 |
- split: test
|
| 157 |
+
path: pitchbench_f1_melodic_line_atonal/test-00000-of-00001.parquet
|
| 158 |
|
| 159 |
- config_name: pitchbench_f2_melodic_line_tonal
|
| 160 |
data_files:
|
| 161 |
- split: test
|
| 162 |
+
path: pitchbench_f2_melodic_line_tonal/test-00000-of-00001.parquet
|
| 163 |
---
|
| 164 |
|
| 165 |
# PitchBench
|
|
|
|
| 180 |
|
| 181 |
# Load one experiment (configurations match experiment IDs)
|
| 182 |
ds = load_dataset("pitchbench-authors/PitchBench", "pitchbench_a1_single_pitch_id", split="test")
|
| 183 |
+
print(ds[0]["audio"], ds[0]["prompt_midi"], ds[0]["gt_midi"])
|
| 184 |
+
|
| 185 |
+
# d7b has two audio columns: audio_1 (reference tone) and audio_2 (target tone)
|
| 186 |
+
ds_d7b = load_dataset("pitchbench-authors/PitchBench",
|
| 187 |
+
"pitchbench_d7b_pitch_with_reference_split", split="test")
|
| 188 |
+
print(ds_d7b[0]["audio_1"], ds_d7b[0]["audio_2"], ds_d7b[0]["gt_midi"])
|
| 189 |
|
| 190 |
# Iterate every experiment
|
| 191 |
import datasets
|