community-datasets/youtube_caption_corrections
收藏资源简介:
--- annotations_creators: - expert-generated - machine-generated language_creators: - machine-generated language: - en license: - mit multilinguality: - monolingual size_categories: - 10K<n<100K source_datasets: - original task_categories: - other - text-generation - fill-mask task_ids: - slot-filling pretty_name: YouTube Caption Corrections tags: - token-classification-of-text-errors dataset_info: features: - name: video_ids dtype: string - name: default_seq sequence: string - name: correction_seq sequence: string - name: diff_type sequence: class_label: names: '0': NO_DIFF '1': CASE_DIFF '2': PUNCUATION_DIFF '3': CASE_AND_PUNCUATION_DIFF '4': STEM_BASED_DIFF '5': DIGIT_DIFF '6': INTRAWORD_PUNC_DIFF '7': UNKNOWN_TYPE_DIFF '8': RESERVED_DIFF splits: - name: train num_bytes: 355978891 num_examples: 10769 download_size: 49050406 dataset_size: 355978891 configs: - config_name: default data_files: - split: train path: data/train-* --- # Dataset Card for YouTube Caption Corrections ## Table of Contents - [Dataset Description](#dataset-description) - [Dataset Summary](#dataset-summary) - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards) - [Languages](#languages) - [Dataset Structure](#dataset-structure) - [Data Instances](#data-instances) - [Data Fields](#data-fields) - [Data Splits](#data-splits) - [Dataset Creation](#dataset-creation) - [Curation Rationale](#curation-rationale) - [Source Data](#source-data) - [Annotations](#annotations) - [Personal and Sensitive Information](#personal-and-sensitive-information) - [Considerations for Using the Data](#considerations-for-using-the-data) - [Social Impact of Dataset](#social-impact-of-dataset) - [Discussion of Biases](#discussion-of-biases) - [Other Known Limitations](#other-known-limitations) - [Additional Information](#additional-information) - [Dataset Curators](#dataset-curators) - [Licensing Information](#licensing-information) - [Citation Information](#citation-information) - [Contributions](#contributions) ## Dataset Description - **Homepage:** https://github.com/2dot71mily/youtube_captions_corrections - **Repository:** https://github.com/2dot71mily/youtube_captions_corrections - **Paper:** [N/A] - **Leaderboard:** [N/A] - **Point of Contact:** Emily McMilin ### Dataset Summary This dataset is built from pairs of YouTube captions where both an auto-generated and a manually-corrected caption are available for a single specified language. It currently only in English, but scripts at repo support other languages. The motivation for creating it was from viewing errors in auto-generated captions at a recent virtual conference, with the hope that there could be some way to help correct those errors. The dataset in the repo at https://github.com/2dot71mily/youtube_captions_corrections records in a non-destructive manner all the differences between an auto-generated and a manually-corrected caption for thousands of videos. The dataset here focuses on the subset of those differences which are mutual and have the same size in token length difference, which means it excludes token insertion or deletion differences between the two captions. Therefore dataset here remains a non-destructive representation of the original auto-generated captions, but excludes some of the differences that are found in the manually-corrected captions. ### Supported Tasks and Leaderboards - `token-classification`: The tokens in `default_seq` are from the auto-generated YouTube captions. If `diff_type` is labeled greater than `0` at a given index, then the associated token in same index in the `default_seq` was found to be different to the token in the manually-corrected YouTube caption, and therefore we assume it is an error. A model can be trained to learn when there are errors in the auto-generated captions. - `slot-filling`: The `correction_seq` is sparsely populated with tokens from the manually-corrected YouTube captions in the locations where there was found to be a difference to the token in the auto-generated YouTube captions. These 'incorrect' tokens in the `default_seq` can be masked in the locations where `diff_type` is labeled greater than `0`, so that a model can be trained to hopefully find a better word to fill in, rather than the 'incorrect' one. End to end, the models could maybe first identify and then replace (with suitable alternatives) errors in YouTube and other auto-generated captions that are lacking manual corrections ### Languages English ## Dataset Structure ### Data Instances If `diff_type` is labeled greater than `0` at a given index, then the associated token in same index in the `default_seq` was found to have a difference to the token in the manually-corrected YouTube caption. The `correction_seq` is sparsely populated with tokens from the manually-corrected YouTube captions at those locations of differences. `diff_type` labels for tokens are as follows: 0: No difference 1: Case based difference, e.g. `hello` vs `Hello` 2: Punctuation difference, e.g. `hello` vs `hello` 3: Case and punctuation difference, e.g. `hello` vs `Hello,` 4: Word difference with same stem, e.g. `thank` vs `thanked` 5: Digit difference, e.g. `2` vs `two` 6: Intra-word punctuation difference, e.g. `autogenerated` vs `auto-generated` 7: Unknown type of difference, e.g. `laughter` vs `draft` 8: Reserved for unspecified difference { 'video_titles': '_QUEXsHfsA0', 'default_seq': ['you', 'see', "it's", 'a', 'laughter', 'but', 'by', 'the', 'time', 'you', 'see', 'this', 'it', "won't", 'be', 'so', 'we', 'have', 'a', 'big'] 'correction_seq': ['', 'see,', '', '', 'draft,', '', '', '', '', '', 'read', 'this,', '', '', 'be.', 'So', '', '', '', ''] 'diff_type': [0, 2, 0, 0, 7, 0, 0, 0, 0, 0, 7, 2, 0, 0, 2, 1, 0, 0, 0, 0] } ### Data Fields - 'video_ids': Unique ID used by YouTube for each video. Can paste into `https://www.youtube.com/watch?v=<{video_ids}` to see video - 'default_seq': Tokenized auto-generated YouTube captions for the video - 'correction_seq': Tokenized manually-corrected YouTube captions only at those locations, where there is a difference between the auto-generated and manually-corrected captions - 'diff_type': A value greater than `0` at every token where there is a difference between the auto-generated and manually-corrected captions ### Data Splits No data splits ## Dataset Creation ### Curation Rationale It was created after viewing errors in auto-generated captions at a recent virtual conference, with the hope that there could be some way to help correct those errors. ### Source Data #### Initial Data Collection and Normalization All captions are requested via `googleapiclient` and `youtube_transcript_api` at the `channel_id` and language granularity, using scripts written at https://github.com/2dot71mily/youtube_captions_corrections. The captions are tokenized on spaces and the manually-corrected sequence has here been reduced to only include differences between it and the auto-generated sequence. #### Who are the source language producers? Auto-generated scripts are from YouTube and the manually-corrected scripts are from creators, and any support they may have (e.g. community or software support) ### Annotations #### Annotation process Scripts at repo, https://github.com/2dot71mily/youtube_captions_corrections take a diff of the two captions and use this to create annotations. #### Who are the annotators? YouTube creators, and any support they may have (e.g. community or software support) ### Personal and Sensitive Information All content publicly available on YouTube ## Considerations for Using the Data ### Social Impact of Dataset [More Information Needed] ### Discussion of Biases [More Information Needed] ### Other Known Limitations [More Information Needed] ## Additional Information ### Dataset Curators Emily McMilin ### Licensing Information MIT License ### Citation Information https://github.com/2dot71mily/youtube_captions_corrections ### Contributions Thanks to [@2dot71mily](https://github.com/2dot71mily) for adding this dataset.
该数据集名为YouTube Caption Corrections,包含自动生成的YouTube字幕与人工校正后的字幕对,主要用于英语文本生成和填充掩码等任务。数据集通过video_ids、default_seq、correction_seq和diff_type等字段记录了两种字幕之间的差异。此数据集由Emily McMilin策划,遵循MIT许可证。
数据集概述
数据集摘要
该数据集包含YouTube视频的字幕修正信息,包括自动生成的字幕和手动修正的字幕。数据集目前仅支持英语,但脚本支持其他语言。数据集的创建动机是希望找到一种方法来修正自动生成字幕中的错误。
支持的任务和排行榜
token-classification:识别自动生成字幕中的错误。slot-filling:在自动生成字幕中找到错误并替换为更合适的词。
语言
英语
数据集结构
数据实例
数据实例包含视频ID、自动生成字幕序列、手动修正字幕序列和差异类型。差异类型标签如下:
- 0: 无差异
- 1: 大小写差异
- 2: 标点差异
- 3: 大小写和标点差异
- 4: 词干相同但词形不同
- 5: 数字差异
- 6: 词内标点差异
- 7: 未知类型差异
- 8: 保留未指定差异
数据字段
video_ids:YouTube视频的唯一ID。default_seq:视频的自动生成字幕序列。correction_seq:手动修正字幕序列,仅在自动生成字幕和手动修正字幕存在差异的位置包含内容。diff_type:标记自动生成字幕和手动修正字幕之间差异的类型。
数据分割
数据集未进行分割。
数据集创建
数据收集和规范化
字幕通过googleapiclient和youtube_transcript_api从YouTube获取,并使用脚本进行处理。
数据来源
自动生成字幕来自YouTube,手动修正字幕来自视频创作者及其支持团队。
标注过程
使用脚本对自动生成字幕和手动修正字幕进行差异比较,并生成标注。
标注者
视频创作者及其支持团队。
使用数据的注意事项
数据集的社会影响
[更多信息待补充]
数据集的偏见讨论
[更多信息待补充]
其他已知限制
[更多信息待补充]
附加信息
数据集创建者
Emily McMilin
许可信息
MIT许可证
引用信息
贡献
感谢@2dot71mily添加此数据集。



