Dataset Viewer
Duplicate
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:    ParserError
Message:      Error tokenizing data. C error: Expected 2 fields in line 6, saw 4

Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 4195, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2533, in _head
                  return next(iter(self.iter(batch_size=n)))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2711, in iter
                  for key, pa_table in ex_iterable.iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2249, in _iter_arrow
                  yield from 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/csv/csv.py", line 198, in _generate_tables
                  for batch_idx, df in enumerate(csv_file_reader):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 1843, in __next__
                  return self.get_chunk()
                         ^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 1985, in get_chunk
                  return self.read(nrows=size)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/readers.py", line 1923, in read
                  ) = self._engine.read(  # type: ignore[attr-defined]
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 234, in read
                  chunks = self._reader.read_low_memory(nrows)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pandas/_libs/parsers.pyx", line 850, in pandas._libs.parsers.TextReader.read_low_memory
                File "pandas/_libs/parsers.pyx", line 905, in pandas._libs.parsers.TextReader._read_rows
                File "pandas/_libs/parsers.pyx", line 874, in pandas._libs.parsers.TextReader._tokenize_rows
                File "pandas/_libs/parsers.pyx", line 891, in pandas._libs.parsers.TextReader._check_tokenize_status
                File "pandas/_libs/parsers.pyx", line 2061, in pandas._libs.parsers.raise_parser_error
              pandas.errors.ParserError: Error tokenizing data. C error: Expected 2 fields in line 6, saw 4

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Bottleneck Oracle Graph Dataset

Model: https://huggingface.co/username/heterogat-v2 License: MIT


Overview

The Bottleneck Oracle Dataset is a graph-based benchmark designed for bottleneck detection and performance analysis in computational workloads.

It consists of 501 directed acyclic graphs (DAGs) derived from PyTorch profiler traces of Transformer models, with additional synthetic augmentation to improve structural diversity.

Each graph represents an execution trace where:

  • Nodes → computational operations
  • Edges → dependency relationships

Repository Structure

raw/
 └── traces_backup.zip          # Raw profiler traces

processed/
 └── graphs_v2.pkl             # Training-ready graph dataset

results/
 └── graphrag_results.csv      # Results from GraphRAG optimizer notebook

Dataset Structure

Graph Format

  • PyTorch Geometric HeteroData
  • Directed Acyclic Graphs (DAGs)

Statistics

  • Total graphs: 501
  • Average nodes per graph: ~22–25
  • Minimum nodes: 10 (after filtering)

Data Source

Traces are generated using PyTorch profiler on Transformer architectures:

Config d_model nhead num_layers
Tiny 64 2 1
Small 128 4 2
Medium 256 8 4
  • Each configuration contributes 167 traces
  • Total: 501 graphs

Synthetic DAGs are added when required to maintain dataset diversity.


Graph Semantics

  • Nodes: Computational operations (e.g., matrix ops, attention blocks)
  • Edges: depends_on relationships
  • Graphs preserve real execution behavior including parallelism and fork-join patterns

Features

Each node contains:

  1. Duration (normalized per graph)
  2. Start time (normalized)
  3. In-degree
  4. Out-degree
  5. Critical path indicator (binary)
  6. Topological rank (normalized)

⚠️ Slack is intentionally excluded to prevent label leakage.


Targets

Node-Level Target (y_slack)

  • Computed using Critical Path Method (CPM)
  • Z-score normalized per graph
  • Slack = 0 → node lies on critical path

Graph-Level Target (y_step)

  • Total execution time
  • Transformed using log₁p + z-score normalization

Data Processing

Filtering

  • Removed near-chain graphs (critical path ratio > 0.80)
  • Removed low-variance slack graphs (std < 0.05)
  • Minimum node threshold: 10

Normalization

  • Per-graph z-score normalization applied to features and targets

Splits

  • Train: ~70%
  • Validation: ~15%
  • Test: ~15%

Pipeline

The dataset is generated using the following notebook pipeline:

nb2 → nb4 → nb3
  • nb4 produces the final processed dataset
  • graphs_v2.pkl is directly used for training and evaluation

Usage

import pickle

with open("processed/graphs_v2.pkl", "rb") as f:
    graphs = pickle.load(f)

Notes

  • graphs_v2.pkl is the final processed dataset — no intermediate steps required for usage
  • Raw traces are preserved for reproducibility
  • GraphRAG results are available for downstream evaluation and comparison

Downloads last month
5

Collection including archi829/bottleneck-oracle-data