pratyushkarna18/AudioShield
Audio Classification • Updated
Error code: DatasetGenerationError
Exception: UnicodeDecodeError
Message: 'utf-8' codec can't decode byte 0xff in position 1148: invalid start byte
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 650, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/text/text.py", line 98, in _generate_tables
batch = f.read(self.config.chunksize)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 838, in read_with_retries
out = read(*args, **kwargs)
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 1148: invalid start byte
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 1409, 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 985, 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 1702, 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 1887, 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.
text string |
|---|
File: readme.doc, updated 10/12/90 |
The DARPA TIMIT Acoustic-Phonetic Continuous Speech Corpus |
(TIMIT) |
Training and Test Data |
NIST Speech Disc CD1-1.1 |
The TIMIT corpus of read speech has been designed to provide speech data for |
the acquisition of acoustic-phonetic knowledge and for the development and |
evaluation of automatic speech recognition systems. TIMIT has resulted from |
the joint efforts of several sites under sponsorship from the Defense Advanced |
Research Projects Agency - Information Science and Technology Office |
(DARPA-ISTO). Text corpus design was a joint effort among the Massachusetts |
Institute of Technology (MIT), Stanford Research Institute (SRI), and Texas |
Instruments (TI). The speech was recorded at TI, transcribed at MIT, and has |
been maintained, verified, and prepared for CD-ROM production by the National |
Institute of Standards and Technology (NIST). This file contains a brief |
description of the TIMIT Speech Corpus. Additional information including the |
referenced material and some relevant reprints of articles may be found in the |
printed documentation which is also available from NTIS (NTIS# PB91-100354). |
1. Corpus Speaker Distribution |
-- --------------------------- |
TIMIT contains a total of 6300 sentences, 10 sentences spoken by each of 630 |
speakers from 8 major dialect regions of the United States. Table 1 shows the |
number of speakers for the 8 dialect regions, broken down by sex. The |
percentages are given in parentheses. A speaker's dialect region is the |
geographical area of the U.S. where they lived during their childhood years. |
The geographical areas correspond with recognized dialect regions in U.S. |
(Language Files, Ohio State University Linguistics Dept., 1982), with the |
exception of the Western region (dr7) in which dialect boundaries are not |
known with any confidence and dialect region 8 where the speakers moved around |
a lot during their childhood. |
Table 1: Dialect distribution of speakers |
Dialect |
Region(dr) #Male #Female Total |
---------- --------- --------- ---------- |
1 31 (63%) 18 (27%) 49 (8%) |
2 71 (70%) 31 (30%) 102 (16%) |
3 79 (67%) 23 (23%) 102 (16%) |
4 69 (69%) 31 (31%) 100 (16%) |
5 62 (63%) 36 (37%) 98 (16%) |
6 30 (65%) 16 (35%) 46 (7%) |
7 74 (74%) 26 (26%) 100 (16%) |
8 22 (67%) 11 (33%) 33 (5%) |
------ --------- --------- ---------- |
8 438 (70%) 192 (30%) 630 (100%) |
The dialect regions are: |
dr1: New England |
dr2: Northern |
dr3: North Midland |
dr4: South Midland |
dr5: Southern |
dr6: New York City |
dr7: Western |
dr8: Army Brat (moved around) |
2. Corpus Text Material |
-- -------------------- |
The text material in the TIMIT prompts (found in the file "prompts.doc") |
consists of 2 dialect "shibboleth" sentences designed at SRI, 450 |
phonetically-compact sentences designed at MIT, and 1890 phonetically-diverse |
sentences selected at TI. The dialect sentences (the SA sentences) were meant |
to expose the dialectal variants of the speakers and were read by all 630 |
speakers. The phonetically-compact sentences were designed to provide a good |
coverage of pairs of phones, with extra occurrences of phonetic contexts |
thought to be either difficult or of particular interest. Each speaker read 5 |
of these sentences (the SX sentences) and each text was spoken by 7 different |
speakers. The phonetically-diverse sentences (the SI sentences) were selected |
from existing text sources - the Brown Corpus (Kuchera and Francis, 1967) and |
the Playwrights Dialog (Hultzen, et al., 1964) - so as to add diversity in |
sentence types and phonetic contexts. The selection criteria maximized the |
variety of allophonic contexts found in the texts. Each speaker read 3 of |
these sentences, with each sentence being read only by a single speaker. |
Table 2 summarizes the speech material in TIMIT. |
Table 2: TIMIT speech material |
Sentence Type #Sentences #Speakers Total #Sentences/Speaker |
------------- ---------- --------- ----- ------------------ |
Dialect (SA) 2 630 1260 2 |
Compact (SX) 450 7 3150 5 |