Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

json
dict
__key__
string
__url__
string
{ "id": "S00023", "start": 311.432, "end": 335.618, "text_whisper": "最高气温还将会普遍冲上25度,随后一天还将会向30度迈进,比如郑州,5号是28度,6号就会有30度,这将是今年我国北方省会城市当中的首个30度,这份如初下班的炎热呢,将会比常年提前半个月到来,而这种情况近些年也很是频繁,热得早,正逐渐成为郑州天气的常态。", "text_paraformer": "最高气温还将会普遍冲上二十五度,随后一天还将会向三十度迈进。比如郑州五号是二十八度,六号就会有三十度。这将是今年我国北方省会城市当中的首个三十度。这份如初夏般的炎热呢将会比常年提前半...
datas/--561dw9wOc/S00023
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{ "id": "S00024", "start": 335.784, "end": 355.458, "text_whisper": "又晴又暖,天气就会愈发的干燥,那么假期期间呢,我国北方大部地区都将会被代表着,这种天气干燥的橙黄色所覆盖,午后相对湿度普遍不足百分之二十,天干雾燥,再加上午后多风,那么在山西的东北部,河北北部,北京北部这一带,清明祭早,一定要特别注意应务和安全。", "text_paraformer": "又晴又暖天气就会愈发的干燥。那么假期期间呢,我国北方大部地区都将会被代表着这种天气干燥的橙黄色所覆盖,午后相对湿度普遍不足百分之二十。天干物燥,再加上午后多风。那么在山西的东北部、河北北部、...
datas/--561dw9wOc/S00024
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00025","start":355.816,"end":360.898,"text_whisper":"好,扫门屏幕上方的二维码,您(...TRUNCATED)
datas/--561dw9wOc/S00025
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00085","start":727.752,"end":730.434,"text_whisper":"悠悠万事,吃饭为大。","text_par(...TRUNCATED)
datas/--561dw9wOc/S00085
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00086","start":730.696,"end":734.914,"text_whisper":"尽管我国粮食连年丰收,但并(...TRUNCATED)
datas/--561dw9wOc/S00086
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00087","start":735.528,"end":745.858,"text_whisper":"受去年罕见秋迅影响,河北河(...TRUNCATED)
datas/--561dw9wOc/S00087
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00088","start":746.248,"end":753.698,"text_whisper":"到今年二月初,这批碗钵小麦(...TRUNCATED)
datas/--561dw9wOc/S00088
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00090","start":757.16,"end":765.282,"text_whisper":"促进晚播小麦苗情转化升级,让(...TRUNCATED)
datas/--561dw9wOc/S00090
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00002","start":13.8,"end":15.586,"text_whisper":"他的母亲走路不太方便,","text_para(...TRUNCATED)
datas/--7_NaHSXaQ/S00002
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
{"id":"S00003","start":15.944,"end":20.45,"text_whisper":"于是我就帮他准备了一张轮椅,(...TRUNCATED)
datas/--7_NaHSXaQ/S00003
hf://datasets/zyk21/VoxDub@98449bbbe275b7e637ffbb445982889629910061/av_segments_v1.tar.zst
End of preview.

VoxDub

A bilingual lip-synchronized audio-visual dataset for automatic video dubbing.

Dataset Summary

VoxDub contains approximately 766K clips and 1.58K hours of Chinese and English audio-visual recordings collected from in-the-wild videos. It is designed for automatic video dubbing (AVD), with downstream evaluations on both text-to-speech (TTS) and AVD.

The curation pipeline combines speech-centered segmentation with dual-ASR transcription checking, speech quality filtering, face visibility checks, and lip-speech synchronization verification. The public data release contains annotations; source video and audio files are retrieved separately using the provided reconstruction tools.

Quick Start

After installation, download the annotations, extract them, and reconstruct a small subset:

hf download zyk21/VoxDub av_segments_v1.tar.zst \
  --repo-type dataset \
  --local-dir annotations

python scripts/pipeline.py extract
python scripts/pipeline.py run --from-annots --limit 10 --device cpu

For a configured CUDA environment, replace --device cpu with --device cuda.

--limit 10 selects up to 10 source videos, processing their annotated segments. It does not limit the output to 10 clips.

See the GitHub README for full usage details.

DubBench

1. Overview

DubBench contains English and Mandarin Chinese subsets. Each sample pairs a target utterance with a reference utterance.

In our experiments:

  • Inputs for all systems: reference audio, reference text, and target text
  • Additional input for AVD: target video
  • Output: generated target audio
  • Evaluation reference: ground-truth target audio

2. Data Sources

Please refer to the original datasets for their papers, licenses, and usage terms.

3. Dataset Structure

3.1 Repository Layout

dubbench/
├── english/
│   ├── metadata.tsv
│   ├── target.tar
│   └── reference.tar
└── chinese/
    ├── metadata.tsv
    ├── target.tar
    └── reference.tar

The four TAR archives are uncompressed.

3.2 Extracted Files

After extraction, each language subset has the following structure:

english/ or chinese/
├── metadata.tsv
├── target/
│   ├── <utterance_id>.mp4
│   ├── <utterance_id>.wav
│   └── <utterance_id>.txt
└── reference/
    ├── <utterance_id>.wav
    └── <utterance_id>.txt

Each target utterance includes .mp4, .wav, and .txt files. Each reference utterance includes .wav and .txt files.

4. Metadata Format

Each metadata.tsv file is UTF-8 encoded, has no header row, and contains four tab-separated columns:

Column Field Description
1 target_id Extensionless path of the target utterance
2 target_text Text to be generated
3 reference_id Extensionless path of the reference utterance
4 reference_text Text associated with the reference utterance

Example:

target/-4GNkXEUOwY_6_0_3<TAB>THERE'S NOTHING TO INSTALL...<TAB>reference/-4GNkXEUOwY_0_1_0<TAB>AND WHILE IT IS EASY...

Resolve an asset by joining the language subset directory with its utterance ID and file extension:

dubbench/english/target/-4GNkXEUOwY_6_0_3.wav

Reference utterances may be reused by multiple metadata rows. Samples should therefore be resolved through the IDs in metadata.tsv rather than by directory order.

5. Usage

5.1 Download

Download DubBench with the Hugging Face CLI:

hf download zyk21/VoxDub \
  --repo-type dataset \
  --include "dubbench/**" \
  --local-dir VoxDub

5.2 Extract

Extract the English subset:

tar -xf VoxDub/dubbench/english/target.tar \
  -C VoxDub/dubbench/english

tar -xf VoxDub/dubbench/english/reference.tar \
  -C VoxDub/dubbench/english

Replace english with chinese to extract the Chinese subset.

5.3 Python Example

import csv
import tarfile
from pathlib import Path

from huggingface_hub import snapshot_download


root = Path(
    snapshot_download(
        repo_id="zyk21/VoxDub",
        repo_type="dataset",
        allow_patterns="dubbench/**",
    )
)

subset = root / "dubbench" / "english"  # or "chinese"

for role in ("target", "reference"):
    with tarfile.open(subset / f"{role}.tar") as archive:
        archive.extractall(subset)

with (subset / "metadata.tsv").open(encoding="utf-8", newline="") as file:
    rows = csv.reader(file, delimiter="\t")

    for target_id, target_text, reference_id, reference_text in rows:
        target_audio = subset / f"{target_id}.wav"
        target_video = subset / f"{target_id}.mp4"
        reference_audio = subset / f"{reference_id}.wav"

        assert target_audio.is_file()
        assert target_video.is_file()
        assert reference_audio.is_file()

        # All systems use:
        #   reference_audio, reference_text, and target_text
        #
        # AVD additionally uses target_video.
        # The generated audio is evaluated against target_audio.

6. Attribution and Terms

The English and Chinese subsets are derived from CelebV-Dub and CMLR, respectively. Please cite the corresponding datasets and publications when using DubBench.

Users must follow the licenses and usage terms of the original datasets and source media. This repository does not grant additional rights to the original audio or video.

License

  • Repository code: MIT License.
  • Dataset annotations: CC BY-NC 4.0.
  • Source media: Rights remain with the original rights holders; the annotation release does not grant rights to the source videos or audio.
Downloads last month
298

Paper for zyk21/VoxDub