Fidel-TS
Collection
Fidel-TS: A High-Fidelity Multimodal Benchmark for Time Series Forecasting • 6 items • Updated
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
all_except_battery: struct<len: int64, sensor_downtime: struct<0: struct<time: list<item: timestamp[s]>, index: list<ite (... 357 chars omitted)
child 0, len: int64
child 1, sensor_downtime: struct<0: struct<time: list<item: timestamp[s]>, index: list<item: int64>>, 1: struct<time: list<ite (... 320 chars omitted)
child 0, 0: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 1, 1: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 2, 2: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 3, 3: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 4, 4: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: ti
...
t<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 1, 1: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 2, 2: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 3, 3: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 4, 4: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 5, 5: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
to
{'all': {'len': Value('int64'), 'sensor_downtime': {'0': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '1': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '2': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '3': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '4': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '5': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}}}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
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 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
all_except_battery: struct<len: int64, sensor_downtime: struct<0: struct<time: list<item: timestamp[s]>, index: list<ite (... 357 chars omitted)
child 0, len: int64
child 1, sensor_downtime: struct<0: struct<time: list<item: timestamp[s]>, index: list<item: int64>>, 1: struct<time: list<ite (... 320 chars omitted)
child 0, 0: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 1, 1: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 2, 2: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 3, 3: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 4, 4: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: ti
...
t<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 1, 1: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 2, 2: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 3, 3: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 4, 4: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
child 5, 5: struct<time: list<item: timestamp[s]>, index: list<item: int64>>
child 0, time: list<item: timestamp[s]>
child 0, item: timestamp[s]
child 1, index: list<item: int64>
child 0, item: int64
to
{'all': {'len': Value('int64'), 'sensor_downtime': {'0': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '1': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '2': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '3': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '4': {'time': List(Value('timestamp[s]')), 'index': List(Value('int64'))}, '5': {'time': List(Value('timestamp[s]')), 'index': List(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.
The dataset is organized into the following structure:
|-- subdataset1
| |-- raw_data # Original data files
| |-- time_series # Rule-based Imputed data files
| | |-- all_version_1.parquet # Time series data for each subject can be multivariate, can be in csv, parquet, etc.
| | |-- all_version_2.parquet
| | |-- ...
| | |-- id_info.json # Metadata for each subject
| |-- weather
| | |-- location_1
| | | |-- raw_data
| | | | |-- daily_weather_raw_????.json
| | | | |-- ...
| | | | |-- daily_weather_????.csv
| | | | |-- ...
| | | | |-- hourly_weather_????.csv
| | | | |-- ...
| | | |-- weather_report (can be flattened and use regex to extract the version)
| | | | |-- version_1
| | | | | |-- xxx_weather_report_????.json
| | | | | |-- ...
| | | | |-- version_2
| | | | |-- ...
| | | |-- report_embedding # embedding for the weather report
| | | | |-- version_1
| | | | | |-- xxx_report_embedding_????.pkl
| | | | | |-- ...
| | | | |-- version_2
| | | | |-- ...
| | |-- location_2
| | |-- ...
| | |-- merged_report_embedding # merged embedding for multiple needed locations (optional)
| | | |-- xxx_embeddings_????.pkl
| | | |-- ...
| | |-- merged_general_report # merged general report for multiple needed locations (optional)
| | | |-- xxx_report.json
| | | |-- ...
| |-- scripts # Scripts for data processing, model training, and evaluation
| |-- id_info.json # Metadata for whole dataset without preprocessing
| |-- static_info.json # Static information for this dataset, including the dataset information, channel information, downtime reasons.
| |-- static_info_embeddings.pkl
|-- subdataset2
|-- ......
The id_info.json file contains metadata for each subject in the dataset. Extracted from the raw dataset. The structure is as follows:
{
"id_1": {
"len": 1000, # Length of the time series data
"sensor_downtime": {
1: {
"time": [yyyy-mm-dd hh:mm:ss, yyyy-mm-dd hh:mm:ss],
"index": [start_index, end_index]
},
2: {
"time": [yyyy-mm-dd hh:mm:ss, yyyy-mm-dd hh:mm:ss],
"index": [start_index, end_index]
},
...
},
"other_info_1": "value_1", # Other information about the subject customizable entry
"other_info_2": "value_2",
...
},
"id_2": ...
}
The static_info.json file contains static information for the whole dataset. The structure is as follows:
{
"general_info": "description of the dataset",
"downtime_prompt": "",
"channel_info": {
"id_1": {
"channel_1": "channel 1 is xxx",
"channel_2": "channel 2 is xxx"
},
"id_2": {
"channel_1": "channel 1 is xxx",
"channel_2": "channel 2 is xxx"
},
...
},
}