notebooks
notebooks copied to clipboard
Load Multivariate informer
The dataset load is not working. `from datasets import load_dataset
dataset = load_dataset("monash_tsf", "traffic_hourly") Generating train split:   0%  0/862 [00:06<?, ? examples/s] /root/.cache/huggingface/modules/datasets_modules/datasets/monash_tsf/fc869f3ae1577c9def2a919ab1dd0c3d4a7a44826b8e0e8fa423bb0161b629e2/monash_tsf.py:484: FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead. freq = to_offset(freq).name
KeyError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, split_info, check_duplicate_keys, job_id) 1606 _time = time.time() -> 1607 for key, record in generator: 1608 if max_shard_size is not None and writer._num_bytes > max_shard_size:
7 frames KeyError: 'h'
The above exception was the direct cause of the following exception:
DatasetGenerationError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/datasets/builder.py in _prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, split_info, check_duplicate_keys, job_id) 1641 if isinstance(e, SchemaInferenceError) and e.context is not None: 1642 e = e.context -> 1643 raise DatasetGenerationError("An error occurred while generating the dataset") from e 1644 1645 yield job_id, True, (total_num_examples, total_num_bytes, writer._features, num_shards, shard_lengths)
DatasetGenerationError: An error occurred while generating the dataset`