Dataset Viewer
Auto-converted to Parquet Duplicate
audio
audioduration (s)
23.1
16.9k
text_ref
listlengths
1
2.7k
text_wt
listlengths
1
2.95k
text_wl
listlengths
6
2.84k
target_binary_ref
stringlengths
3
2.7k
target_binary_wt
stringlengths
3
2.96k
target_binary_wl
stringlengths
8
2.84k
target_text_ref
stringlengths
447
260k
target_text_ts_ref
stringlengths
491
260k
target_ts
stringlengths
45
4.03k
chapter_titles
listlengths
1
57
channel_id
stringclasses
257 values
video_id
stringlengths
11
11
speaker_category
stringclasses
3 values
dominant_speaker_proportion
float64
0.25
1
num_speakers
int64
1
7
duration
float64
23
16.9k
["♪ ♪ ♪ ♪ ♪ ♪ ♪ ♪ Tim Cook: Good morning, and welcome to WWDC.","We have a big day o(...TRUNCATED)
["parla parla parla Good morning and welcome to WWE DC.","We have a big day of announcements about o(...TRUNCATED)
["Welcome to WWDC.","We have a big day of announcements about our latest technologies and platforms.(...TRUNCATED)
"|=0000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000(...TRUNCATED)
"|=0000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000(...TRUNCATED)
"|=0000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000(...TRUNCATED)
"[CSTART] Introduction [CEND] ♪ ♪ ♪ ♪ ♪ ♪ ♪ ♪ Tim Cook: Good morning, and welcome to(...TRUNCATED)
"[CSTART] 00:00:00 - Introduction [CEND] ♪ ♪ ♪ ♪ ♪ ♪ ♪ ♪ Tim Cook: Good morning, and(...TRUNCATED)
"[CSTART] 00:00:00 - Introduction [CEND]\n[CSTART] 00:03:30 - iOS [CEND]\n[CSTART] 00:33:43 - Ecosys(...TRUNCATED)
[ "Introduction", "iOS", "Ecosystem", "watchOS", "Health", "Mac", "macOS", "iPadOS", "Outro" ]
UCE_M8A5yxnLfW0KghEeajjw
q5D55G7Ejs8
single
1
1
6,533
["[CLICKING] PHILIP GREENSPUN: All right, folks.","I know you're excited to learn about weather data(...TRUNCATED)
["All right, folks.","I know you're excited to learn about weather data.","I've been told you're exc(...TRUNCATED)
["All right, folks.","I know you're excited to learn about weather data.","I've been told you're exc(...TRUNCATED)
"|=0000000100000000000100000000000000000000000000000000000000000000000000000000000000001000000000010(...TRUNCATED)
"|=0000000100000000000010000000000000000000000000000000000000000000000000000000000000000000000010000(...TRUNCATED)
"|=0000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000000(...TRUNCATED)
"[CSTART] Introduction [CEND] [CLICKING] PHILIP GREENSPUN: All right, folks. I know you're excited t(...TRUNCATED)
"[CSTART] 00:00:00 - Introduction [CEND] [CLICKING] PHILIP GREENSPUN: All right, folks. I know you'r(...TRUNCATED)
"[CSTART] 00:00:00 - Introduction [CEND]\n[CSTART] 00:00:39 - Definitions [CEND]\n[CSTART] 00:02:16 (...TRUNCATED)
["Introduction","Definitions","Don't Despair, Use Softwair","Reports vs. Forecasts","Aviation Routin(...TRUNCATED)
UCEBb1b_L6zDS3xTUrIALZOw
-dOX_4lI6HY
multi
0.552284
2
3,122
["(electronic chiming) - [Falcon] Sometimes video games are all about creating a massive fantasy and(...TRUNCATED)
["Sometimes video games are all about creating a massive fantasy and indulging something that's utte(...TRUNCATED)
["Sometimes video games are all about creating a massive fantasy and indulging something that's utte(...TRUNCATED)
"|=0010000000000000000100000000000000000010000000000000000000001000000000000000000000000000100000000(...TRUNCATED)
"|=0001000000000000100000000000000010000000000000000000000100000000000000000001000000000001000000001(...TRUNCATED)
"|=0010000000000000010000000000000010000000000000000000010000000000000000010000000000000010000000000(...TRUNCATED)
"[CSTART] Intro [CEND] (electronic chiming) - [Falcon] Sometimes video games are all about creating (...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] (electronic chiming) - [Falcon] Sometimes video games are all abou(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND]\n[CSTART] 00:00:18 - Number 10 [CEND]\n[CSTART] 00:02:20 - Number (...TRUNCATED)
["Intro","Number 10","Number 9","Number 8","Number 7","Number 6","Number 5","Number 4","Number 3","N(...TRUNCATED)
UCNvzD7Z-g64bPXxGzaQaa4g
IdhkR_l_vqQ
single
1
1
880
["The iPhone 13 Pro was the clear choice for me out of Apple’s current iPhone lineup because of it(...TRUNCATED)
["The iPhone 13 Pro was the clear choice for me out of Apple's current iPhone lineup because of its (...TRUNCATED)
["The iPhone 13 Pro was the clear choice for me out of Apple's current iPhone lineup because of its (...TRUNCATED)
|=00000001000000000100000000000001000000000000000000100000000001000000000000000
|=000000000100000000000010000000000000001000000000000000000000100000000000100000000000000000
|=0000000100000000010000000000000100000000000000000010000000001000000000000000
"[CSTART] Pro Motion Display [CEND] The iPhone 13 Pro was the clear choice for me out of Apple’s c(...TRUNCATED)
"[CSTART] 00:00:00 - Pro Motion Display [CEND] The iPhone 13 Pro was the clear choice for me out of (...TRUNCATED)
"[CSTART] 00:00:00 - Pro Motion Display [CEND]\n[CSTART] 00:00:51 - Telephoto Camera & Camera Qualit(...TRUNCATED)
["Pro Motion Display","Telephoto Camera & Camera Quality","LiDar Sensor","Battery Life & iOS15","For(...TRUNCATED)
UCJOl2JvledP26K2OQ_HLgnQ
L1PHvDbwa0A
single
1
1
676
["(logo bleeping) - [Falcon] Normally the end of the game is when the crazy stuff stops happening, b(...TRUNCATED)
["Normally the end of the game is when the crazy stuff stops happening, but some games saves some ex(...TRUNCATED)
["Normally the end of a game is when the crazy stuff stops happening, but some games save some extra(...TRUNCATED)
"|=0001100000000000000000100000000000000000100000000000001000000000000000000000001000000000000000000(...TRUNCATED)
"|=0011000000000100000000100000000000010000000000000001000000000000000100000000000010000000000100000(...TRUNCATED)
"|=0001100000000000010000000000000100000000000010000000000000000010000000000000000001000000000000001(...TRUNCATED)
"[CSTART] Intro [CEND] (logo bleeping) - [Falcon] Normally the end of the game is when the crazy stu(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] (logo bleeping) - [Falcon] Normally the end of the game is when th(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND]\n[CSTART] 00:00:20 - SPOILERS LIST [CEND]\n[CSTART] 00:00:30 - RED(...TRUNCATED)
["Intro","SPOILERS LIST","RED DEAD REDEMPTION 2","Guardians of the Galaxy","Dead Space 2","Resident (...TRUNCATED)
UCNvzD7Z-g64bPXxGzaQaa4g
6_UEmth22ZQ
single
1
1
908
["IRFAN BAQUI: Hey, everyone.","Welcome to \"Apigee Up Close.\"","My name is Irfan Baqui.","I'm a cu(...TRUNCATED)
["Everyone, welcome to FGF Close.","My name is Irfan Baki.","I'm a customer engineer with Google Clo(...TRUNCATED)
["Hi, everyone.","Welcome to Apigee Up Close.","My name is Irfan Baqi.","I'm a customer engineer wit(...TRUNCATED)
"|=0000000000000000010000000000000000100000000000000000000000000000000000001000000000000000000000000(...TRUNCATED)
"|=0000000000000000000000010000000000000000000000000010000000000000000000000000000000000000000000000(...TRUNCATED)
"|=0000000000000001000000000000100000000000000000000001000000000000000000000001000000000000000000000(...TRUNCATED)
"[CSTART] Intro [CEND] IRFAN BAQUI: Hey, everyone. Welcome to \"Apigee Up Close.\" My name is Irfan (...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] IRFAN BAQUI: Hey, everyone. Welcome to \"Apigee Up Close.\" My nam(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND]\n[CSTART] 00:02:20 - Levels of Insight [CEND]\n[CSTART] 00:04:14 -(...TRUNCATED)
["Intro","Levels of Insight","Core Business Insights Examples","Operational Insights and Monitoring"(...TRUNCATED)
UCJS9pqu9BzkAMNTmzNMNhvg
hVPA5vuThdQ
single
1
1
1,573
["I think there is a chance that the US government may about to once again create the greatest wealt(...TRUNCATED)
["Welcome to the Tesla Reconomest, please hit the thumbs up and remember to subscribe.","You can fol(...TRUNCATED)
["I think there is a chance that the US government may about to once again create the greatest wealt(...TRUNCATED)
"|=0000010000000000000001000000001000000000000000000000000000100000000000000000100000000000000000010(...TRUNCATED)
"|=0000000010000000000000000001000000010000000000000000000000000100000000000000000100000000000000000(...TRUNCATED)
"|=0000000100000000000000000010000000100000000000000000000000000000100000000000000000001000000000000(...TRUNCATED)
"[CSTART] Intro [CEND] I think there is a chance that the US government may about to once again crea(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] I think there is a chance that the US government may about to once(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND]\n[CSTART] 00:00:38 - Communism [CEND]\n[CSTART] 00:02:01 - Reset [(...TRUNCATED)
[ "Intro", "Communism", "Reset", "Inflation", "Bitcoin", "US Buying BTC", "Summary" ]
UCMmJ5nBx9ibaBo4LegyQ52w
FHFAN0NQh04
single
1
1
522
["[APPLAUSE] - Two out of the three fundamental mysteries about our place in the universe have alrea(...TRUNCATED)
["Two out of the three fundamental mysteries about our place in the universe have already been resol(...TRUNCATED)
["Two out of the three fundamental mysteries about our place in the universe have already been resol(...TRUNCATED)
"|=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000(...TRUNCATED)
"|=0000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000(...TRUNCATED)
"|=0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100(...TRUNCATED)
"[CSTART] Intro [CEND] [APPLAUSE] - Two out of the three fundamental mysteries about our place in th(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] [APPLAUSE] - Two out of the three fundamental mysteries about our (...TRUNCATED)
"[CSTART] 00:00:00 - Introduction [CEND]\n[CSTART] 00:10:48 - conscious level [CEND]\n[CSTART] 00:25(...TRUNCATED)
["Intro","conscious level","perception","Cardiac Feedback","Hand Movements","Skin Colour Change","Bo(...TRUNCATED)
UCYeF244yNGuFefuFKqxIAXw
xRel1JKOEbI
single
1
1
3,613
["You’ve probably seen a lot of headlines claiming that quantum mechanics is “strange”, “wei(...TRUNCATED)
["You've probably seen a lot of headlines claiming that quantum mechanics is strange, weird or spook(...TRUNCATED)
["You've probably seen a lot of headlines claiming that quantum mechanics is strange, weird or spook(...TRUNCATED)
"|=0000001000000000000000000000000000000000000000010000000000000000001000000000000000001000000000000(...TRUNCATED)
"|=0000000100000000000000000000000000000000000000001000000000000000000000100000000000000000000100000(...TRUNCATED)
"|=0000001000000000000000000000000000000000000000001000000000000000000010000000000000000100000000000(...TRUNCATED)
"[CSTART] Intro [CEND] You’ve probably seen a lot of headlines claiming that quantum mechanics is (...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] You’ve probably seen a lot of headlines claiming that quantum me(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND]\n[CSTART] 00:00:27 - The trouble with Hyperion [CEND]\n[CSTART] 00(...TRUNCATED)
["Intro","The trouble with Hyperion","The alleged solution","The trouble with the solution","What a (...TRUNCATED)
UC1yNl2E66ZzKApQdRuTQ4tw
LJzKLTavk-w
single
1
1
704
["- These two computers have the exact same specifications, which means their performance is exactly(...TRUNCATED)
["These two computers have the exact same specifications, which means their performance is exactly t(...TRUNCATED)
["These two computers have the exact same specifications, which means their performance is exactly t(...TRUNCATED)
"|=0000000000000100000000000100000000000100000000100000000000100000000000000010000000000100000000010(...TRUNCATED)
"|=0000000000000100000000010000000000010000000010000000000100000000000000000010000000000000100000000(...TRUNCATED)
"|=0000000000001000000000000100000000001000000000100000000000100000000000000000010000000001000000001(...TRUNCATED)
"[CSTART] Intro [CEND] - These two computers have the exact same specifications, which means their p(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND] - These two computers have the exact same specifications, which me(...TRUNCATED)
"[CSTART] 00:00:00 - Intro [CEND]\n[CSTART] 00:00:55 - Corsair One a200 Specs [CEND]\n[CSTART] 00:02(...TRUNCATED)
["Intro","Corsair One a200 Specs","CPU Issues","Corsair Clone","GPU","Fatal Flaw","Cinebench","Other(...TRUNCATED)
UCXuqSBlHAE6Xw-yeJA0Tunw
ytSByaMvGeA
single
1
1
739
End of preview. Expand in Data Studio

From Text Segmentation to Smart Chaptering: A Novel Benchmark for Structuring Video Transcriptions

We present YTSeg, a topically and structurally diverse benchmark for the text segmentation task based on YouTube transcriptions. The dataset comprises 19,299 videos from 393 channels, amounting to 6,533 content hours. The topics are wide-ranging, covering domains such as science, lifestyle, politics, health, economy, and technology. The videos are from various types of content formats, such as podcasts, lectures, news, corporate events & promotional content, and, more broadly, videos from individual content creators. We refer to the paper (acl | arXiv) for further information. We provide both text and audio data as well as a download script for the video data.

Data Overview

We offer three dataset subsets:

  • Text — For text-based segmentation and chaptering approaches using transcripts.
  • Audio — For audio-based chaptering approaches with embedded audio.
  • Titles — For chapter title generation given segment text (relevant for two-stage approaches).

YTSeg (Text)

Each video is represented as a JSON object. The fields are organized into three categories: Transcripts, Target Representations, and Metadata.

Transcripts

We provide three transcript variants for each video: the original reference transcript and two ASR-generated transcripts using Whisper models.

Field Description
text_ref Reference transcript as a flat list of sentences.
text_wt Whisper-tiny ASR transcript as a flat list of sentences.
text_wl Whisper-large ASR transcript as a flat list of sentences.

Target Representations

Multiple target formats are provided for different modeling approaches.

Field Description
target_binary_ref Binary segmentation labels for reference transcript (e.g., |=000100000010).
target_binary_wt Binary segmentation labels for Whisper-tiny transcript.
target_binary_wl Binary segmentation labels for Whisper-large transcript.
target_text_ref Structured transcript with chapter markers (e.g., [CSTART] Title [CEND] text...).
target_text_ts_ref Structured transcript with timestamped chapter markers (e.g., [CSTART] 00:01:23 - Title [CEND] text...).
target_ts Timestamped chapter markers only (e.g., [CSTART] 00:01:23 - Title [CEND]\n...).

Metadata

Field Description
audio_path Path to the .mp3 file of the video.
chapter_titles A list of chapter titles corresponding to each segment.
channel_id The YouTube channel ID which this video belongs to.
video_id The YouTube video ID.
speaker_category Speaker classification: single, single_weak, or multiple.
dominant_speaker_proportion Proportion of speech from the dominant speaker (0.0-1.0).
num_speakers Number of detected speakers in the video.
duration Video duration in seconds.

Partition Statistics

Partition # Examples
Training 16,404 (85%)
Validation 1,447 (7.5%)
Testing 1,448 (7.5%)
Total 19,299

YTSeg (Audio)

The audio config provides the complete dataset with embedded audio files. Each video is represented with the same fields as the text config, plus an audio field containing the preprocessed audio data.

Audio

Field Description
audio Audio data preprocessed into .mp3 format with a standardized sample rate of 16,000 Hz and a single channel (mono).

All other fields (transcripts, target representations, and metadata) are identical to the Text config described above.

Partition Statistics

Partition # Examples Size (GB)
Training 16,404 (85%) ~57.9 GB
Validation 1,447 (7.5%) ~5.1 GB
Testing 1,448 (7.5%) ~5.3 GB
Total 19,299 ~68.3 GB

YTSeg (Titles)

Each chapter of a video is represented as a JSON object with the following fields:

Field Description
text_section_ref The complete chapter/section text.
text_section_prev_titles_ref The complete chapter/section text with previous section titles prepended.
target_title The target chapter title.
channel_id The YouTube channel ID which this chapter's video belongs to.
video_id The YouTube video ID which this chapter belongs to.
chapter_idx The index and placement of the chapter in the video (e.g., the first chapter has index 0).
Partition # Examples
Training 146,907 (84.8%)
Validation 13,206 (7.6%)
Testing 13,082 (7.6%)
Total 173,195

Video Data

A download script for the video and audio data is provided.

python download_videos.py

In the script, you can further specify a target folder (default is ./video) and target formats in a priority list.

Loading Data

The dataset can be loaded directly using the HuggingFace datasets library:

from datasets import load_dataset

# Load the audio config (with embedded audio)
dataset = load_dataset("retkowski/ytseg", "audio", split="test")

# Load the text config (text-only)
dataset = load_dataset("retkowski/ytseg", "text", split="test")

# Load the titles config
dataset = load_dataset("retkowski/ytseg", "titles", split="test")

Note on Binary Labels: The binary segmentation labels (e.g., target_binary_ref) are prefixed with |= to force the field to be stored as a string, preventing leading zeros from being lost during processing. For actual usage, strip the |= prefix:

binary_labels = dataset['target_binary_ref'].lstrip('|=')

Citing

We kindly request you to cite our corresponding EACL 2024 paper if you use our dataset.

@inproceedings{retkowski-waibel-2024-text,
    title = "From Text Segmentation to Smart Chaptering: A Novel Benchmark for Structuring Video Transcriptions",
    author = "Retkowski, Fabian  and Waibel, Alexander",
    editor = "Graham, Yvette  and Purver, Matthew",
    booktitle = "Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = mar,
    year = "2024",
    address = "St. Julian{'}s, Malta",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.eacl-long.25",
    pages = "406--419",
    abstract = "Text segmentation is a fundamental task in natural language processing, where documents are split into contiguous sections. However, prior research in this area has been constrained by limited datasets, which are either small in scale, synthesized, or only contain well-structured documents. In this paper, we address these limitations by introducing a novel benchmark YTSeg focusing on spoken content that is inherently more unstructured and both topically and structurally diverse. As part of this work, we introduce an efficient hierarchical segmentation model MiniSeg, that outperforms state-of-the-art baselines. Lastly, we expand the notion of text segmentation to a more practical {``}smart chaptering{''} task that involves the segmentation of unstructured content, the generation of meaningful segment titles, and a potential real-time application of the models.",
}

Changelog

  • 20.01.2025 -- Major data and format update:
    • Added ASR transcripts (Whisper-tiny and Whisper-large), structured transcript targets with timestamps, and metadata for finer-grained analysis (speaker category, dominant speaker proportion, number of speakers, duration)
    • Added audio config with HuggingFace Audio feature for seamless loading with embedded audio
    • Updated to use HuggingFace datasets library for data loading (replacing local pandas scripts and use proper HF configs)
    • Updated YTSeg[Titles] field names for clarity
  • 25.07.2024 -- Added complete list of chapter titles to YTSeg (YTSeg[Titles] is a filtered subset)
  • 09.04.2024 -- Added audio data
  • 27.02.2024 -- Initial release

License

The dataset is available under the Creative Commons Attribution-NonCommercial-ShareAlike (CC BY-NC-SA) 4.0 license. We note that we do not own the copyright of the videos and as such opted to release the dataset with a non-commercial license, with the intended use to be in research and education.

Downloads last month
1,053

Paper for retkowski/ytseg