Dataset Viewer
Auto-converted to Parquet Duplicate
ytid
stringlengths
11
11
caption
stringlengths
20
756
aspect_list
stringlengths
13
532
audioset_positive_labels
stringlengths
7
112
author_id
int64
0
9
start_s
int64
0
590
end_s
int64
10
600
is_balanced_subset
bool
2 classes
is_audioset_eval
bool
2 classes
audio_codes
listlengths
4
4
n_codebooks
int64
4
4
seq_length
int64
479
501
oOiwmRV1PBk
This music clip is a loud, boomy drum beat. The tempo is slow with the powerful and rhythmic beat of the Big Chinese drum. It is loud, resonating, vibrating and powerful and sounds ceremonial, celebratory and royal and used for announcements.
['instrumental', 'slow tempo', 'percussion', 'celebratory', 'festivities', 'announcements', 'funerals', 'big chinese drums', 'ceremonial', 'royal', 'low key', 'bass', 'resounding', 'powerful', 'drum beat']
/m/011k_j,/m/026t6,/m/04rlf,/m/04szw,/m/0l14md
7
0
10
true
true
[ [ 166, 166, 166, 166, 166, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 8...
4
501
_IkLUOsNHAA
In this piece a timpani takes a strong loud position before other orchestral instruments are entering the musical composition. Brasses, flutes and strings are playing a rising rhythmical melody creating tension. This song may be playing in a classical chamber concert or in a scene of a superhero movie.
['classical/orchestra', 'cinematic', 'tension building', 'timpani', 'brass', 'flutes', 'strings', 'medium to uptempo']
/m/011k_j,/m/01kcd,/m/04rlf,/m/04szw,/m/05pd6,/m/07y_7,/m/0ggq0m
6
0
10
false
true
[ [ 166, 166, 166, 166, 166, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 8...
4
500
frqnZb8Ssjo
This clip features a drum kit being played. Different parts of the drum kit are played. At the beginning, a female narrates the process in one line following which different parts of the kit are struck. This sound can be played in a drum test scenario.
['percussion sound', 'testing sounds of drums', 'female narrator', 'no other instruments', 'no vocal melody']
/m/0239kh,/m/026t6,/m/02hnl,/m/03t3fj,/m/06rvn,/m/0bm02,/m/0l14md
0
90
100
false
false
[ [ 68, 609, 83, 83, 539, 421, 68, 472, 8, 68, 68, 83, 83, 83, 68, 83, 1081, 421, 508, 472, 508, 508, 609, 609, 778, 172, 778, 472, 68, 8, 609, 289, 83, 83, 1488, 172, 77...
4
500
P5AgEqouchI
The low quality recording features a theremin solo melody played over playback that has a sustained strings melody playing. It sounds emotional, sad, heartfelt and the recording is noisy and in mono.
['low quality', 'noisy', 'mono', 'theremin solo melody', 'sustained strings melody', 'playback', 'sad', 'emotional', 'heartfelt']
/m/04rlf,/m/07kc_
4
10
20
false
false
[ [ 1911, 1911, 1561, 484, 484, 277, 277, 1078, 1911, 1911, 1842, 277, 277, 277, 952, 1823, 1911, 1911, 1561, 1188, 484, 952, 952, 1823, 1390, 1911, 1842, 484, 1188, 914, 1561, 1350, 484...
4
500
TokHdpvX7Es
The low quality recording features a choir singing over punchy kick and snare hits, shimmering hi hats, groovy piano and groovy bass. In the first half, there are harmonizing female vocals singing, after which the male harmonizing vocals start singing. It sounds soulful, passionate and emotional. The recording is a bit...
['low quality', 'noisy', 'choir', 'harmonizing female vocals', 'harmonizing male vocals', 'punchy snare', 'punchy kick', 'shimmering hi hats', 'groovy piano melody', 'groovy bass', 'live performance', 'soulful', 'passionate', 'emotional']
/m/015lz1,/m/04rlf,/m/05lls,/m/0ggq0m,/m/0l14jd
4
30
40
false
false
[ [ 1755, 682, 624, 881, 682, 981, 1194, 1646, 1529, 624, 2001, 1646, 1472, 1445, 1640, 670, 1638, 1319, 1074, 520, 1627, 494, 840, 520, 1638, 1667, 1875, 585, 494, 740, 1397, 1029, 698,...
4
500
xVab_CbwecE
This song features a bass guitar playing a groovy lick at a high pitch. This is followed by a rock and roll pattern. This starts off on a high sequence. This is played for two bars followed by a sequence on a lower part of the bass. This song can be played in an instructional video for bass. There are no voices in this...
['bass guitar', 'no voices', 'instrumental', 'no other instruments', 'instructional song']
/m/018vs,/m/0342h,/m/04rlf,/m/04szw,/m/0fx80y
0
60
70
false
false
[ [ 83, 289, 1923, 83, 83, 83, 71, 1425, 1650, 121, 1469, 937, 443, 1193, 1716, 0, 1828, 1351, 202, 1908, 0, 0, 1131, 1131, 1425, 1425, 492, 942, 1700, 942, 917, 917, 609, 1437, ...
4
500
WjPHxUtF9go
The low quality recording features an emotional electric guitar melody. The recording is noisy and in mono as it was probably recorded with a poor quality microphone.
['low quality', 'mono', 'noisy', 'emotional electric guitar melody']
/m/0342h,/m/04rlf,/m/04szw,/m/06w87,/m/07m2kt,/m/07s0s5r,/m/0fx80y
4
30
40
false
false
[ [ 884, 740, 884, 852, 519, 1444, 848, 1688, 1660, 764, 1662, 1170, 519, 80, 519, 705, 1660, 764, 519, 2036, 519, 2036, 519, 740, 519, 1444, 519, 1444, 519, 1444, 520, 1444, 1716, 2...
4
500
8kx5ST65Fog
The low quality recording features a live performance of a folk song and it consists of a metallic percussive melody, wooden percussions, acoustic guitar melody and flute melody. It sounds soulful, upbeat and passionate and the recording is noisy.
['low quality', 'folk', 'noisy', 'live performance', 'metallic percussive melody', 'wooden percussions', 'acoustic guitar melody', 'flute melody', 'soulful', 'upbeat', 'passionate']
/m/05pd6
4
90
100
false
false
[ [ 612, 1980, 1493, 894, 2032, 1693, 1947, 518, 3, 1436, 1027, 458, 1448, 1134, 1183, 1416, 1493, 1221, 1614, 483, 1050, 1301, 1785, 1521, 1902, 1111, 399, 1752, 1869, 1599, 622, 903, 1...
4
501
P1Vxm_ICSG0
The Electro song features a filter modulated synth melody, groovy synth bass, shimmering hi hats, punchy kick and snare hits, followed by short snare roll, haunting synth lead, low pitched male vocal introducing the section and high pitched riser that builds the energy up. It sounds energetic, upbeat and exciting - lik...
['electro', 'filter modulated synth melody', 'groovy synth bass', 'shimmering hi hats', 'low pitched male vocal', 'punchy snare', 'punchy kick', 'high pitched riser', 'short snare roll', 'energetic', 'haunting synth lead', 'upbeat', 'exciting']
/m/02lkt,/m/04rlf,/m/07gxw
4
30
40
false
true
[ [ 673, 457, 1728, 22, 974, 1047, 823, 774, 702, 800, 185, 1527, 1353, 327, 1619, 1021, 866, 1728, 608, 1949, 1894, 675, 1521, 297, 508, 1205, 1777, 6, 1521, 723, 458, 1930, 812, 18...
4
500
xJ63DJzzvnA
The low quality recording features a live performance of a gospel song that consists of harmonizing vocals singing over acoustic rhythm guitar, groovy bass guitar, shimmering hi hats and punchy toms. It gives off happy and fun vibes.
['low quality', 'groovy piano melody', 'harmonizing vocals', 'acoustic rhythm guitar', 'groovy bass', 'shimmering hi hats', 'punchy toms', 'happy', 'fun', 'gospel', 'live performance']
/m/04rlf,/m/06rqw
4
30
40
false
false
[ [ 1817, 685, 1473, 1969, 380, 1169, 800, 1493, 1791, 1551, 450, 1688, 1429, 1595, 1106, 1493, 195, 113, 2040, 353, 2012, 1954, 1876, 434, 988, 242, 472, 550, 1320, 1374, 292, 1169, 876...
4
500
clefr8E-iZQ
Someone is playing an e-guitar with different effects over an acoustic drumgroove. Some of the sounds are panned to the right and left side of the speakers. This song may be playing at home practicing guitar.
['amateur recording', 'e-guitar', 'acoustic drums', 'shaker', 'medium to uptempo']
/m/0155w,/m/01jnbd,/m/02rr_,/m/02sgy,/m/0342h,/m/04rlf,/m/04szw,/m/07m2kt,/m/0fx80y
6
30
40
true
true
[ [ 778, 68, 444, 68, 965, 16, 1614, 908, 1576, 1452, 962, 1044, 1978, 66, 444, 450, 1638, 374, 494, 237, 1271, 1271, 68, 465, 418, 1766, 1188, 875, 875, 511, 734, 1425, 705, 1027, ...
4
500
NjoKxRwQxCE
This clip features a male voice in a narrative voice. This is accompanied by a synth sound using a ring modulator effect. The voice is calming. This song can be played in a documentary movie. There is no vocal melody in this song. There are no other instruments in this clip.
['synth song', 'no percussion', 'male voice', 'narration', 'ring modulator', 'no other instruments', 'no vocal melody', 'instrumental', 'haunting theme']
/m/0l14t7
0
400
410
false
false
[ [ 753, 66, 289, 42, 289, 404, 42, 1757, 1757, 404, 1388, 1757, 289, 289, 314, 314, 289, 314, 404, 1512, 778, 789, 634, 585, 976, 753, 443, 404, 443, 1453, 1205, 1095, 1846, 1529, ...
4
501
2I6pPRWKsCQ
The low quality recording features a live performance of a R&B song that consists of muffled male vocal singing over groovy bass guitar, mellow synth keys melody and energetic drums. There are some crowd noises in the background. The recording is noisy, as it was probably recorded with a phone, but it sounds energetic,...
['low quality', 'noisy', 'crowd noise', 'live performance', 'r&b', 'energetic drums', 'muffled male vocal', 'groovy bass', 'mellow synth keys melody', 'energetic', 'passionate', 'emotional']
/m/01s0ps,/m/05148p4,/m/05r5c
4
380
390
false
false
[ [ 1062, 1352, 709, 1924, 242, 1309, 856, 622, 988, 1189, 2034, 1290, 821, 1884, 1697, 2034, 1415, 1744, 528, 1918, 262, 672, 528, 1744, 1998, 1462, 1984, 452, 987, 134, 121, 945, 1766,...
4
500
vQ09gQBt1IU
This audio contains a lot of percussion such as shakers panned to both sides of the speakers. An organ is playing a melody panned to the left side and a digital trumpet/guitar sound is playing a melody panned to the right side of the speakers. A soft percussion sound is creating a bassline while male voices are singing...
['dancemusic', 'percussions', 'shakers', 'male voices singing', 'bass', 'organ', 'digital trumpet/guitar sound', 'slower tempo']
/m/0164x2,/m/04rlf,/m/074ft,/m/0ln16
6
70
80
false
false
[ [ 1600, 611, 869, 982, 1910, 1313, 1176, 108, 242, 1990, 511, 233, 999, 585, 472, 1512, 2018, 1797, 77, 672, 233, 937, 1111, 421, 1974, 35, 1974, 1444, 366, 1361, 1643, 1235, 165, ...
4
500
DgqPgNqW2hE
A female singer sings this beautiful vintage French melody. The song is medium tempo with a steady drum rhythm, steady bass line, piano accompaniment , string section harmony and some lush snare play. The song is romantic and cheerful with an avant-garde nature.
['female singer', 'lilting melody', 'vocal vibrato', 'avant-garde', 'string section accompaniment', 'piano accompaniment', 'steady drumming rhythm', 'snare playing', 'retro pop hits', 'avante-garde', 'french jazz', 'retro jazz', 'pleasant', 'emotional', 'it’s a wonderful life', 'carefree', 'love song', 'retro hits', 'v...
/m/0155w,/m/04rlf
1
50
60
false
false
[ [ 1883, 682, 1685, 682, 1685, 228, 174, 339, 1501, 191, 841, 1877, 792, 1763, 564, 1095, 510, 1251, 212, 1509, 1509, 1665, 523, 1612, 1675, 1560, 1744, 269, 836, 158, 890, 1685, 1970, ...
4
500
vDmUlgsDOP4
This audio contains a drum playing with a lot of toms. A distorted e-guitar is playing a solo melody. In the background panned to the right side of the speakers you can hear a keyboard playing minor chords in the higher mid-range. This song may be playing while sitting in your room dancing for yourself.
['rock', 'e-guitar', 'acoustic drums', 'keys', 'uptempo', 'uplifting energy']
/m/04rlf,/t/dd00036
6
170
180
false
false
[ [ 1783, 172, 1481, 617, 954, 45, 617, 960, 960, 960, 217, 1132, 1419, 374, 2045, 1210, 617, 1162, 1840, 951, 45, 45, 45, 830, 1392, 1436, 789, 1324, 1281, 1041, 617, 617, 1667, 960...
4
500
mLaon9oK1OA
This is a latin pop song with a chipmunk effect. There is a female and a male vocal singing melodically but at a higher pitch than the original. An acoustic guitar and a bass guitar play in the melodic background while a latin electronic drum beat is in the rhythmic background. The piece is very danceable. The piece co...
['latin pop', 'female vocal', 'male vocal', 'chipmunk effect', 'acoustic guitar', 'bass guitar', 'electronic drums', 'dance', 'comedic']
/m/04rlf,/t/dd00003,/t/dd00004,/t/dd00005
9
30
40
true
true
[ [ 421, 1980, 2001, 1690, 195, 1297, 1456, 1793, 1863, 1484, 1857, 113, 1410, 300, 1497, 1643, 1101, 915, 1057, 1138, 2025, 323, 1090, 1256, 1382, 870, 1036, 1036, 1111, 1542, 793, 1358, ...
4
500
yqb4GenP8gs
This is a pop R&B song in Portuguese. The song has a cheerful and fun effect to it, and the four on the floor style helps in creating the feeling of dancing. The singers are a man and woman with smooth vocals, singing a duet - harmonically.
['portuguese pop r&b music', 'dance song', 'four on the floor drum beat', 'duet', 'male and female vocalists', 'r&b vocals', 'cheerful', 'positive', 'happy', 'clapping hands', 'fun']
/m/0140xf,/m/015lz1,/m/02mscn,/m/04rlf,/m/06j6l
3
160
170
false
false
[ [ 1055, 461, 1525, 1234, 1332, 447, 335, 591, 1799, 1201, 765, 515, 264, 356, 1033, 515, 227, 710, 177, 2041, 1498, 693, 901, 1695, 1236, 1344, 941, 1610, 85, 310, 141, 1033, 482, ...
4
500
sIItIq_W3eE
The Electro song features a harmonizing passionate male vocals, with widely spread and dynamic echo effect on it, singing over groovy bass, groovy piano chords, synth keys and filtered "4 on the floor" kick pattern. It sounds exciting, easygoing and addictive - like something you would hear in a DJ set as a warm up.
['electro', 'groovy piano chords', 'synth keys', 'wide echoing effect', 'harmonizing passionate male vocals', 'groovy bass', 'filtered "4 on the floor" kick pattern', 'easygoing', 'exciting', 'addictive']
/m/04rlf,/m/06cqb
4
320
330
false
false
[ [ 348, 972, 972, 1934, 729, 816, 799, 611, 995, 552, 161, 1291, 425, 1053, 816, 49, 1358, 273, 327, 972, 1490, 1459, 1180, 1324, 1578, 1077, 1184, 419, 1545, 1903, 346, 1745, 1532, ...
4
500
YVEqyQjyy1Q
A female vocalist sings this spirited pop. The tempo is fast with infectious piano melody, slick drumming, funky bass, baritone saxophone, Hammond organ accompaniment with enthusiastic vocals. The song is fresh, youthful, buoyant; energetic, high-spirited, cheeky, suggestive, playful and groovy. This is a hit Pop Song.
['female vocalist', 'fast tempo', 'slick drumming', 'punchy', 'buoyant', 'fun', 'fresh', 'suggestive', 'enthusiastic electric guitar', 'funky bass lines', 'piano accompaniment', 'lively baritone saxophone', 'hammond organ', 'lively', 'enthusiastic', 'youthful', 'cheeky', 'playful', 'fun']
/m/04rlf,/m/05rwpb
7
170
180
false
false
[ [ 280, 955, 1815, 885, 1765, 1834, 1552, 1365, 457, 457, 527, 951, 515, 515, 967, 1529, 1721, 913, 1752, 1317, 1856, 107, 1422, 685, 1355, 721, 1982, 1961, 721, 1303, 1282, 929, 65, ...
4
501
End of preview. Expand in Data Studio

YAML Metadata Warning:The task_categories "audio-to-text" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

MusicCaps Pre-Encoded Tokens for Mixture-of-Transformers (MoT)

Dataset Description

This dataset contains pre-encoded audio tokens from the MusicCaps dataset, processed through Meta's MusicGen EnCodec tokenizer for use in Mixture-of-Transformers (MoT) training.

Dataset Summary

  • 5,233 music clips encoded as discrete tokens
  • 4 codebook layers from MusicGen's EnCodec
  • ~500 tokens per 10-second clip
  • Compressed from ~12GB audio to 82MB tokens
  • Ready for multimodal language model training

Intended Use

This dataset is designed for:

  • Training Mixture-of-Transformers (MoT) models that combine Llama and MusicGen
  • Research in multimodal language models with audio understanding
  • Experiments in music captioning and generation
  • Efficient training without on-the-fly audio encoding

Dataset Structure

Data Fields

  • ytid: YouTube video ID
  • caption: Human-written music description
  • aspect_list: Musical aspects mentioned in caption
  • audioset_positive_labels: AudioSet labels
  • audio_codes: Pre-encoded tokens shape [4, ~500] (4 codebooks, ~500 time steps)
  • n_codebooks: Number of codebooks (always 4)
  • seq_length: Sequence length of tokens
  • start_s: Start time in original video
  • end_s: End time in original video
  • author_id: Caption author ID
  • is_balanced_subset: Whether part of balanced subset
  • is_audioset_eval: Whether part of AudioSet eval

Data Splits

  • train: 4,710 examples (90%)
  • test: 523 examples (10%)

Pre-Encoding Details

Encoding Process

  1. Audio Loading: 10-second clips from MusicCaps
  2. Resampling: All audio resampled to 32kHz (MusicGen requirement)
  3. Tokenization: MusicGen EnCodec with 4 codebooks @ 50Hz
  4. Vocabulary: 2048 tokens per codebook
  5. Compression: ~12GB audio → 82MB tokens

Token Format

# Shape: [4, ~500]
# - 4 codebooks (hierarchical encoding)
# - ~500 time steps (50Hz * 10 seconds)
# Each value in range [0, 2047]

Usage

Loading the Dataset

from datasets import load_dataset

dataset = load_dataset("YOUR_USERNAME/musiccaps-mot-tokens")

# Access pre-encoded tokens
sample = dataset['train'][0]
audio_codes = np.array(sample['audio_codes'])  # Shape: [4, ~500]
caption = sample['caption']

Using with MoT Training

# Shift tokens for combined vocabulary
# Llama uses tokens [0, 128255]
# Audio uses tokens [128256, 130303]
audio_tokens = audio_codes + 128256

# Interleave codebooks for sequence modeling
# [c0_t0, c1_t0, c2_t0, c3_t0, c0_t1, ...]
b, k, t = 1, audio_codes.shape[0], audio_codes.shape[1]
interleaved = audio_codes.transpose(1, 0).reshape(-1)

Training Configuration

Recommended settings for MoT adapter training:

  • Model: Llama 3.2 1B + MusicGen Small
  • Adapter dims: 67M parameters
  • Batch size: 8-16 (on GPU)
  • Learning rate: 1e-4
  • Max sequence: 1024 tokens (32 text + 992 audio)

Citation

If you use this dataset, please cite:

@dataset{musiccaps_mot_tokens,
  title={MusicCaps Pre-Encoded Tokens for MoT},
  author={Your Name},
  year={2024},
  publisher={HuggingFace}
}

@article{musiccaps,
  title={MusicCaps: Music Audio Captioning with Text-Audio Retrieval},
  author={Agostinelli et al.},
  year={2023}
}

Acknowledgments

  • Google for the original MusicCaps dataset
  • Meta for MusicGen and EnCodec
  • The Mixture-of-Transformers paper authors

License

This dataset inherits licenses from:

  • MusicCaps: [Research use]
  • Encoded representations are derivative works

Please ensure compliance with original dataset licenses.

Downloads last month
5