Dataset Viewer
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code: FeaturesError
Exception: ArrowInvalid
Message: Schema at index 1 was different:
parameter: string
value: double
vs
branch_id: int64
f_bus: int64
t_bus: int64
r_pu: double
x_pu: double
b_pu: double
rate_a_pu: double
tap_ratio: double
shift_rad: double
angmin_rad: double
angmax_rad: double
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4408, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2679, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2861, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2395, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 580, in _iter_arrow
yield new_key, pa.Table.from_batches(chunks_buffer)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "pyarrow/table.pxi", line 5040, in pyarrow.lib.Table.from_batches
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: Schema at index 1 was different:
parameter: string
value: double
vs
branch_id: int64
f_bus: int64
t_bus: int64
r_pu: double
x_pu: double
b_pu: double
rate_a_pu: double
tap_ratio: double
shift_rad: double
angmin_rad: double
angmax_rad: doubleNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ML-OPF-Bench
AC/DC optimal power flow samples, reference solutions, dual labels, and network constraints for the IEEE 30-, 118-, and 300-bus systems.
Layout
ac_dataset/acopf_datasets/: AC loads, solutions, and duals.ac_dataset/acopf_constraints/: AC network parameters and limits.dc_dataset/dcopf_datasets/: DC loads, solutions, and duals.dc_dataset/dcopf_constraints/: DC network parameters, limits, and PTDF matrices.
The 118-bus data include larger-variance and API scenarios. Load the corresponding scenario constraints through the benchmark code.
hf download xinyi-liu/ML-OPF-Bench --repo-type dataset --local-dir ./ML-OPF-Bench-data
- Downloads last month
- 357