ViCocktail: Automated Multi-Modal Data Collection for Vietnamese Audio-Visual Speech Recognition
Paper • 2506.04635 • Published
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 1520, in _prepare_split_single
for key, record in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 130, 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 34, 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 1405, 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 982, 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 786, 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 1369, 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 948, 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 1382, 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 1560, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
mp4 unknown | json dict | __key__ string | __url__ string |
|---|---|---|---|
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAUgpdtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {"sample_id":"s4VtywMd-Y8_00013_000000_1_-1.00","transcription":"dành cho em là mong lớn dành c(...TRUNCATED) | 0000000000 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAPg9ltZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {"sample_id":"s4VtywMd-Y8_00004_000002_1_-1.00","transcription":"dành cho em ngàn câu ca và yêu(...TRUNCATED) | 0000000001 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQADIe1tZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {"sample_id":"vXTFUuFiXWI_00005_000000_1_-1.00","transcription":"ô sờ e tờ sen tai con mờ cô(...TRUNCATED) | 0000000002 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQALrSNtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {"sample_id":"vXTFUuFiXWI_00001_000000_1_-1.00","transcription":"sâu dít tờ ô sâu vin a pô d(...TRUNCATED) | 0000000003 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQADIRZtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {
"sample_id": "vXTFUuFiXWI_00008_000000_1_-1.00",
"transcription": "tờ tia sơ hen"
} | 0000000004 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAGohhtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {
"sample_id": "vXTFUuFiXWI_00006_000000_1_-1.00",
"transcription": "i i bu tu rít sau cót"
} | 0000000005 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAD2bhtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {"sample_id":"vXTFUuFiXWI_00003_000000_1_-1.00","transcription":"lo đờ việt nên mình sẽ ra"(...TRUNCATED) | 0000000006 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAHf2NtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {"sample_id":"vXTFUuFiXWI_00004_000000_1_-1.00","transcription":"ri hao bin sa la ri com en bờ ré(...TRUNCATED) | 0000000007 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAEHIJtZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {
"sample_id": "vXTFUuFiXWI_00000_000000_1_-1.00",
"transcription": "vin a mi sờ bo nó teo ti ét"
} | 0000000008 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
"AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQABD81tZGF0AAACsAYF//+s3EXpvebZSLeWLNgg2SPu73g(...TRUNCATED) | {
"sample_id": "v9raVoJaIGU_00002_000000_1_-1.00",
"transcription": "tờ a tô"
} | 0000000009 | hf://datasets/doof-ferb/ViCocktail@580446ba1a68027ebed1fd36d8bb917cfe8a0780/train/000.tar |
official announcement: https://arxiv.org/abs/2506.04635
official download: https://huggingface.co/datasets/nguyenvulebinh/ViCocktail
DOI: 10.48550/arXiv.2506.04635
271h, 195k samples
multiple test sets:
test: Clean test settest_snr_n5_interferer_1: SNR (Signal-to-Noise Ratio) -5dB with 1 interferertest_snr_n5_interferer_2: SNR -5dB with 2 interfererstest_snr_0_interferer_1: SNR 0dB with 1 interferertest_snr_0_interferer_2: SNR 0dB with 2 interfererstest_snr_5_interferer_1: SNR 5dB with 1 interferertest_snr_5_interferer_2: SNR 5dB with 2 interfererstest_snr_10_interferer_1: SNR 10dB with 1 interferertest_snr_10_interferer_2: SNR 10dB with 2 interferersmy extraction code: https://github.com/phineas-pta/fine-tune-whisper-vi/blob/main/misc/vicocktail.py
need to do: check misspelling, restore foreign words phonetised to vietnamese