Datasets:
Commit ·
9249392
1
Parent(s): 568d825
maint: update readme, add agents.md
Browse files
AGENTS.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# AGENTS.md
|
| 2 |
+
|
| 3 |
+
Guidance for coding agents working in this repository.
|
| 4 |
+
|
| 5 |
+
## What this repo is
|
| 6 |
+
|
| 7 |
+
This is the **BeyondArena Datasets** Hugging Face dataset repository — a flat bundle of 142 curated
|
| 8 |
+
tabular datasets used by [TabArena](https://tabarena.ai/). It is **not** a Python package or
|
| 9 |
+
application. There is no build, no tests, no CI pipeline to run here.
|
| 10 |
+
|
| 11 |
+
The repo is consumed by [Data Foundry](https://github.com/TabArena/data-foundry), which resolves
|
| 12 |
+
each `(unique_name, uuid)` pointer to one of the directories below and loads its six artifact files
|
| 13 |
+
into a `CuratedContainer`. Any change to this repo's layout, naming, or file contents is a breaking
|
| 14 |
+
change for Data Foundry — treat it as a data release, not source code.
|
| 15 |
+
|
| 16 |
+
## Layout
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
<dataset_name>/<uuid>/... # default (132 datasets)
|
| 20 |
+
<dataset_name>/versions/<uuid>/... # versioned wrapper (10 large non-IID datasets)
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
Each leaf `<uuid>/` directory contains exactly six files and nothing else:
|
| 24 |
+
|
| 25 |
+
```
|
| 26 |
+
dataset.parquet # the table
|
| 27 |
+
dtypes.json # column name → pandas dtype
|
| 28 |
+
container_metadata.json # uuid + sha256 checksum
|
| 29 |
+
dataset_metadata.dataset-mold-v1.json # provenance & curation notes
|
| 30 |
+
task_metadata.predictive-ml-task-mold-v1.json # target, problem type, metric, split keys
|
| 31 |
+
experiment_metadata.predictive-ml-splits-mold-v1.json # CV fold indices
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
Top-level files: `README.md` (the Hugging Face dataset card), `LICENSE`, `dataset_references.bib`,
|
| 35 |
+
and this file.
|
| 36 |
+
|
| 37 |
+
## Editing rules
|
| 38 |
+
|
| 39 |
+
- **Do not rename, move, or delete dataset directories or any of the six artifact files inside
|
| 40 |
+
them.** UUIDs are pinned references from Data Foundry's `final_uuid_list.py`; renaming silently
|
| 41 |
+
breaks downstream consumers.
|
| 42 |
+
- **Do not regenerate `dataset.parquet`, `container_metadata.json`, or any `*_metadata.*.json` by
|
| 43 |
+
hand.** They are produced by `CuratedContainer.save()` in Data Foundry. If a dataset needs to
|
| 44 |
+
change, the change happens in a Data Foundry curation notebook and the new artifact is uploaded
|
| 45 |
+
here — the checksum in `container_metadata.json` must match the parquet.
|
| 46 |
+
- **The README's YAML frontmatter `configs:` block routes Hugging Face's `datasets` loader to each
|
| 47 |
+
`dataset.parquet`.** When adding a dataset, add a matching `config_name` entry; preserve the
|
| 48 |
+
`versions/*/` glob for versioned datasets.
|
| 49 |
+
- **Keep the per-dataset table in the README sorted by `N` (rows).** That's the convention; don't
|
| 50 |
+
re-sort by name or year.
|
| 51 |
+
- **`dataset_references.bib` must contain one entry per unique `academic_reference_bibtex_key`
|
| 52 |
+
referenced in the per-dataset `dataset_metadata.dataset-mold-v1.json` files.** Some datasets cite
|
| 53 |
+
multiple keys — list them comma-separated in the README's `BibKey(s)` column.
|
| 54 |
+
|
| 55 |
+
## What to do for common requests
|
| 56 |
+
|
| 57 |
+
- **"Add a dataset"** — don't. New datasets are curated in Data Foundry
|
| 58 |
+
(`datasets/_dev/<topic>/<unique_name>/<unique_name>.ipynb`), reviewed there, and uploaded to this
|
| 59 |
+
repo by maintainers. Point the user at
|
| 60 |
+
[CONTRIBUTING_DATASETS.md](https://github.com/TabArena/data-foundry/blob/main/CONTRIBUTING_DATASETS.md).
|
| 61 |
+
- **"Update a dataset"** — same answer: re-curate in Data Foundry, upload the new UUID directory
|
| 62 |
+
here, update `configs:` in the README and the per-dataset row.
|
| 63 |
+
- **"Update the README"** — fine. Edit `README.md` directly. The dataset card is rendered on
|
| 64 |
+
Hugging Face, so preserve the YAML frontmatter and keep markdown compatible with HF's renderer
|
| 65 |
+
(GitHub-flavored, supports `<details>`).
|
| 66 |
+
- **"Fix a checksum / metadata mismatch"** — investigate the source curation notebook in Data
|
| 67 |
+
Foundry. Do not edit `container_metadata.json` by hand to match a parquet you regenerated; the
|
| 68 |
+
parquet itself is wrong.
|
| 69 |
+
|
| 70 |
+
## Git
|
| 71 |
+
|
| 72 |
+
The git remote is the Hugging Face dataset hub
|
| 73 |
+
(`huggingface.co/datasets/TabArena/BeyondArena`-style URL). Parquet files are LFS-tracked. Commits
|
| 74 |
+
are visible publicly the moment they're pushed — do not commit unreviewed dataset edits.
|
README.md
CHANGED
|
@@ -594,17 +594,13 @@ Datasets from BeyondArena, a unified, holistic benchmark for tabular data that s
|
|
| 594 |
across sample size and feature dimensionality scales, with diverse feature types (with text, with high cardinality) from a
|
| 595 |
broad range of disciplines.
|
| 596 |
|
| 597 |
-
We introduce BeyondArena and its datasets in: [
|
| 598 |
|
| 599 |
<details>
|
| 600 |
<summary><b>Click for BibTeX!</b></summary>
|
| 601 |
|
| 602 |
```text
|
| 603 |
-
|
| 604 |
-
title = {X},
|
| 605 |
-
author = {X},
|
| 606 |
-
year = {2026}
|
| 607 |
-
}
|
| 608 |
```
|
| 609 |
</details>
|
| 610 |
|
|
@@ -614,52 +610,45 @@ More details:
|
|
| 614 |
|
| 615 |
## Quickstart
|
| 616 |
|
| 617 |
-
We
|
|
|
|
|
|
|
| 618 |
|
| 619 |
-
```
|
| 620 |
-
|
| 621 |
```
|
| 622 |
|
| 623 |
-
### Loading a single dataset directly
|
| 624 |
-
|
| 625 |
-
Each per-dataset config in this card's frontmatter routes only `dataset.parquet`, which is enough to get
|
| 626 |
-
the table but **not** the sibling metadata files (`dtypes.json`, `task_metadata.*`, `experiment_metadata.*`
|
| 627 |
-
with the CV folds, `dataset_metadata.*`, `container_metadata.json`). Because the benchmark protocol depends
|
| 628 |
-
on those files, the recommended path is to download the whole dataset folder with `huggingface_hub`:
|
| 629 |
-
|
| 630 |
```python
|
| 631 |
-
from
|
| 632 |
-
|
| 633 |
-
local_dir = snapshot_download(
|
| 634 |
-
repo_id="TabArena/BeyondArena",
|
| 635 |
-
repo_type="dataset",
|
| 636 |
-
allow_patterns=["churn/**"], # one or more <dataset_name>/** globs
|
| 637 |
-
)
|
| 638 |
-
# local_dir/<dataset_name>/<uuid>/ now contains all six files for that dataset.
|
| 639 |
-
```
|
| 640 |
-
|
| 641 |
-
For the 10 datasets that use the `versions/` wrapper (see [Dataset Structure](#dataset-structure)), the layout
|
| 642 |
-
is `<dataset_name>/versions/<uuid>/...` — the `<dataset_name>/**` glob already covers both layouts.
|
| 643 |
|
| 644 |
-
|
|
|
|
|
|
|
|
|
|
| 645 |
|
| 646 |
-
|
| 647 |
-
|
| 648 |
|
| 649 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 650 |
```
|
| 651 |
|
| 652 |
-
|
| 653 |
|
| 654 |
```python
|
| 655 |
-
from
|
| 656 |
|
| 657 |
-
|
| 658 |
-
|
| 659 |
-
|
| 660 |
-
)
|
| 661 |
```
|
| 662 |
|
|
|
|
|
|
|
|
|
|
| 663 |
## Datasets
|
| 664 |
|
| 665 |
BeyondArena comes with 142 datasets. BeyondArena covers tabular classification and regression tasks.
|
|
@@ -871,6 +860,46 @@ Each directory contains exactly six files:
|
|
| 871 |
|
| 872 |
For details on files and the metadata structure, checkout [DataFoundry](https://github.com/TabArena/data-foundry)!
|
| 873 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 874 |
## Licensing
|
| 875 |
|
| 876 |
This collection is released under the terms in [LICENSE](LICENSE) (`copyright-at-original-authors`).
|
|
@@ -880,10 +909,12 @@ Individual datasets retain their original licenses; see each dataset metadata fo
|
|
| 880 |
|
| 881 |
If you use BeyondArena, please cite:
|
| 882 |
|
|
|
|
|
|
|
| 883 |
**BibTeX:**
|
| 884 |
|
| 885 |
```bibtex
|
| 886 |
-
|
| 887 |
```
|
| 888 |
|
| 889 |
|
|
@@ -893,4 +924,4 @@ If you use individual datasets, please also cite their original authors. BibTeX
|
|
| 893 |
|
| 894 |
## Changelog
|
| 895 |
|
| 896 |
-
- **[
|
|
|
|
| 594 |
across sample size and feature dimensionality scales, with diverse feature types (with text, with high cardinality) from a
|
| 595 |
broad range of disciplines.
|
| 596 |
|
| 597 |
+
We introduce BeyondArena and its datasets in: [PLACEHOLDER]
|
| 598 |
|
| 599 |
<details>
|
| 600 |
<summary><b>Click for BibTeX!</b></summary>
|
| 601 |
|
| 602 |
```text
|
| 603 |
+
PLACEHOLDER
|
|
|
|
|
|
|
|
|
|
|
|
|
| 604 |
```
|
| 605 |
</details>
|
| 606 |
|
|
|
|
| 610 |
|
| 611 |
## Quickstart
|
| 612 |
|
| 613 |
+
We recommend using the datasets via [Data Foundry](https://github.com/TabArena/data-foundry), which
|
| 614 |
+
resolves a curated container (table + dtypes + task metadata + outer CV splits) by name and caches it
|
| 615 |
+
locally:
|
| 616 |
|
| 617 |
+
```bash
|
| 618 |
+
pip install data-foundry
|
| 619 |
```
|
| 620 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 621 |
```python
|
| 622 |
+
from data_foundry.collections import BEYOND_ARENA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 623 |
|
| 624 |
+
container = BEYOND_ARENA.get_dataset("airfoil_self_noise")
|
| 625 |
+
print(container.describe()) # full identity + dtypes + task + splits
|
| 626 |
+
print(container.dataset.shape) # the actual DataFrame
|
| 627 |
+
print(container.task_metadata.split_regime) # "iid", "temporal_non_iid", or "grouped_non_iid"
|
| 628 |
|
| 629 |
+
df = container.dataset
|
| 630 |
+
target = container.task_metadata.target_column_name
|
| 631 |
|
| 632 |
+
for repeat_id, folds in container.experiment_metadata.splits.items():
|
| 633 |
+
for fold_id, (train_idx, test_idx) in folds.items():
|
| 634 |
+
X_train, y_train = df.iloc[train_idx].drop(columns=target), df.iloc[train_idx][target]
|
| 635 |
+
X_test, y_test = df.iloc[test_idx].drop(columns=target), df.iloc[test_idx][target]
|
| 636 |
+
# ... fit, evaluate ...
|
| 637 |
```
|
| 638 |
|
| 639 |
+
To pre-download the entire collection in a single network round-trip:
|
| 640 |
|
| 641 |
```python
|
| 642 |
+
from data_foundry.collections import BEYOND_ARENA
|
| 643 |
|
| 644 |
+
BEYOND_ARENA.prefetch() # warms the cache once
|
| 645 |
+
for container in BEYOND_ARENA.iter_containers(): # now hits disk only
|
| 646 |
+
print(container.dataset_metadata.unique_name, container.dataset.shape)
|
|
|
|
| 647 |
```
|
| 648 |
|
| 649 |
+
See [Data Foundry's examples](https://github.com/TabArena/data-foundry/tree/main/examples) for a full
|
| 650 |
+
benchmarking walkthrough, the three split regimes (IID / temporal / grouped), and the curation flow.
|
| 651 |
+
|
| 652 |
## Datasets
|
| 653 |
|
| 654 |
BeyondArena comes with 142 datasets. BeyondArena covers tabular classification and regression tasks.
|
|
|
|
| 860 |
|
| 861 |
For details on files and the metadata structure, checkout [DataFoundry](https://github.com/TabArena/data-foundry)!
|
| 862 |
|
| 863 |
+
### Loading a single dataset directly
|
| 864 |
+
|
| 865 |
+
Each per-dataset config in this card's frontmatter routes only `dataset.parquet`, which is enough to get
|
| 866 |
+
the table but **not** the sibling metadata files (`dtypes.json`, `task_metadata.*`, `experiment_metadata.*`
|
| 867 |
+
with the CV folds, `dataset_metadata.*`, `container_metadata.json`). Because the benchmark protocol depends
|
| 868 |
+
on those files, the recommended path is to download the whole dataset folder with `huggingface_hub`:
|
| 869 |
+
|
| 870 |
+
```python
|
| 871 |
+
from huggingface_hub import snapshot_download
|
| 872 |
+
|
| 873 |
+
local_dir = snapshot_download(
|
| 874 |
+
repo_id="TabArena/BeyondArena",
|
| 875 |
+
repo_type="dataset",
|
| 876 |
+
allow_patterns=["churn/**"], # one or more <dataset_name>/** globs
|
| 877 |
+
)
|
| 878 |
+
# local_dir/<dataset_name>/<uuid>/ now contains all six files for that dataset.
|
| 879 |
+
```
|
| 880 |
+
|
| 881 |
+
For the 10 datasets that use the `versions/` wrapper (see [Dataset Structure](#dataset-structure)), the layout
|
| 882 |
+
is `<dataset_name>/versions/<uuid>/...` — the `<dataset_name>/**` glob already covers both layouts.
|
| 883 |
+
|
| 884 |
+
If you only need the table (no folds, no metadata), the `datasets` library shortcut works:
|
| 885 |
+
|
| 886 |
+
```python
|
| 887 |
+
from datasets import load_dataset
|
| 888 |
+
|
| 889 |
+
ds = load_dataset("<org>/BeyondArena", name="churn") # any per-dataset config_name
|
| 890 |
+
```
|
| 891 |
+
|
| 892 |
+
### Downloading the full bundle
|
| 893 |
+
|
| 894 |
+
```python
|
| 895 |
+
from huggingface_hub import snapshot_download
|
| 896 |
+
|
| 897 |
+
local_dir = snapshot_download(
|
| 898 |
+
repo_id="<org>/BeyondArena",
|
| 899 |
+
repo_type="dataset",
|
| 900 |
+
)
|
| 901 |
+
```
|
| 902 |
+
|
| 903 |
## Licensing
|
| 904 |
|
| 905 |
This collection is released under the terms in [LICENSE](LICENSE) (`copyright-at-original-authors`).
|
|
|
|
| 909 |
|
| 910 |
If you use BeyondArena, please cite:
|
| 911 |
|
| 912 |
+
**PLACEHOLDER**
|
| 913 |
+
|
| 914 |
**BibTeX:**
|
| 915 |
|
| 916 |
```bibtex
|
| 917 |
+
PLACEHOLDER
|
| 918 |
```
|
| 919 |
|
| 920 |
|
|
|
|
| 924 |
|
| 925 |
## Changelog
|
| 926 |
|
| 927 |
+
- **[27th May 2026]** — Initial release: 142 curated IID and non-IID tasks.
|