The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
wav: string
tokens: string
frames: int64
duration_seconds: double
sample_rate_hz: int64
num_layers_reported: int64
seed: int64
feature_dim: int64
hidden_states_index_0based: int64
dataset: string
wav_files: int64
model: string
distance: string
split: string
iterations: int64
layer_index_1based: int64
valid_frames_extracted: int64
num_centers: int64
sampled_frames_for_fit: int64
to
{'model': Value('string'), 'dataset': Value('string'), 'split': Value('string'), 'layer_index_1based': Value('int64'), 'hidden_states_index_0based': Value('int64'), 'num_layers_reported': Value('int64'), 'feature_dim': Value('int64'), 'num_centers': Value('int64'), 'distance': Value('string'), 'iterations': Value('int64'), 'seed': Value('int64'), 'wav_files': Value('int64'), 'valid_frames_extracted': Value('int64'), 'duration_seconds': Value('float64'), 'sampled_frames_for_fit': Value('int64'), 'sample_rate_hz': Value('int64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3052, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
wav: string
tokens: string
frames: int64
duration_seconds: double
sample_rate_hz: int64
num_layers_reported: int64
seed: int64
feature_dim: int64
hidden_states_index_0based: int64
dataset: string
wav_files: int64
model: string
distance: string
split: string
iterations: int64
layer_index_1based: int64
valid_frames_extracted: int64
num_centers: int64
sampled_frames_for_fit: int64
to
{'model': Value('string'), 'dataset': Value('string'), 'split': Value('string'), 'layer_index_1based': Value('int64'), 'hidden_states_index_0based': Value('int64'), 'num_layers_reported': Value('int64'), 'feature_dim': Value('int64'), 'num_centers': Value('int64'), 'distance': Value('string'), 'iterations': Value('int64'), 'seed': Value('int64'), 'wav_files': Value('int64'), 'valid_frames_extracted': Value('int64'), 'duration_seconds': Value('float64'), 'sampled_frames_for_fit': Value('int64'), 'sample_rate_hz': Value('int64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
TIMIT SPEAR k-means tokens
Both codebooks and token sets use SPEAR XLarge v2 layer 11 to extract the frame representations that are converted to k-means tokens.
Layer numbering is 1-based: layer 11 is hidden_states[10] in the model's
13-element hidden_states list. The model expects mono 16 kHz audio. Each WAV
is processed independently, and its valid frame sequence is quantized by
squared Euclidean distance to the selected codebook.
Outputs
timit_spear_xlarge_v2_kmeans1024/centers.npy: 1,024-center codebook.timit_spear_xlarge_v2_kmeans1024/tokens/: per-WAV token IDs for all 6,300 TIMITTRAINandTESTWAVs.timit_spear_xlarge_v2_kmeans1024/training_feature_sample.npy: 500,000 layer-11 frames from TIMITTRAIN, used to fit the 1,024-center codebook.timit_spear_xlarge_v2_kmeans2048/centers.npy: 2,048-center codebook, trained on the same feature sample.timit_spear_xlarge_v2_kmeans2048/tokens/: per-WAV token IDs for all 6,300 TIMITTRAINandTESTWAVs.
Both tokens/ trees mirror the source split/region/speaker/utterance
directories and contain one uint16 token sequence per WAV. The codebooks
were fitted using only TRAIN; token extraction includes both TRAIN and
TEST.
- Downloads last month
- 66