Willy030125/whisper_large_v3_turbo_noise_redux_v1
Automatic Speech Recognition
•
Updated
•
1
Error code: ConfigNamesError
Exception: RuntimeError
Message: Dataset scripts are no longer supported, but found ambient_noise_audio.py
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
config_names = get_dataset_config_names(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
dataset_module = dataset_module_factory(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1031, in dataset_module_factory
raise e1 from None
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 989, in dataset_module_factory
raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
RuntimeError: Dataset scripts are no longer supported, but found ambient_noise_audio.pyNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This dataset is useful for reducing ASR model Hallucinations (especially Whisper), by default Whisper often transcribing non-speech audio as hallucination transcriptions.
This dataset attempts to improve ASR model that have hallucinations on non-speech audio.
Collected several audio from source:
Dataset info:
num_rows: 288
Each example is a dictionary with the following fields:
{
"path": "audio/ambient_noise_(1).wav",
"audio": {
"path": "audio/ambient_noise_(1).wav",
"array": [...],
"sampling_rate": 16000
},
"sentence": "<|nospeech|>"
}
Use HuggingFace datasets v2.18:
pip install datasets==2.18.0
Use HuggingFace datasets to load:
from datasets import load_dataset, Audio
try:
dataset = load_dataset("Willy030125/ambient_noise_audio", trust_remote_code=True, encoding="utf-8", errors="ignore")
except:
dataset = load_dataset("Willy030125/ambient_noise_audio", trust_remote_code=True)