name stringclasses 3
values | domain stringclasses 3
values | description stringclasses 3
values | num_tables int64 4 13 | num_rows int64 2.73M 16.9M | num_cols int64 21 174 | num_tasks int64 4 8 | tasks_binary_classification int64 0 3 | tasks_regression int64 0 2 | tasks_multiclass_classification int64 0 8 | start_timestamp stringdate 2000-04-02 00:00:00 2018-01-02 09:22:47 | val_timestamp stringdate 2018-09-01 00:00:00 2022-01-01 00:00:00 | test_timestamp stringdate 2020-01-01 00:00:00 2023-01-01 00:00:00 | size_gb float64 0.15 2.86 | license stringclasses 1
value | source_url stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rel-arxiv | Academic citations (arXiv) | arXiv scholarly papers: papers, authors, citations, and subject categories. | 6 | 2,733,846 | 21 | 4 | 1 | 1 | 1 | 2018-01-01 00:00:00 | 2022-01-01 00:00:00 | 2023-01-01 00:00:00 | 0.2232 | CC BY-SA 4.0 | https://relbench.stanford.edu |
rel-ratebeer | Beverage reviews | RateBeer reviews: users, beers, brewers, places, and time-stamped ratings. | 13 | 16,874,623 | 174 | 8 | 3 | 2 | 0 | 2000-04-02 00:00:00 | 2018-09-01 00:00:00 | 2020-01-01 00:00:00 | 2.8643 | CC BY-SA 4.0 | https://relbench.stanford.edu |
rel-salt | Enterprise B2B sales (SALT) | SAP SALT sales documents: sales orders, line items, customers, and addresses. | 4 | 4,748,942 | 31 | 8 | 0 | 0 | 8 | 2018-01-02 09:22:47 | 2020-02-01 00:00:00 | 2020-07-01 00:00:00 | 0.1485 | CC BY-SA 4.0 | https://relbench.stanford.edu |
RelBench v2 extras
Everything RelBench v2 added on top of v1: the v2-only databases (with their tasks), and the v2-only tasks defined on the v1 databases. The v1 databases and tasks stay in stanford-star/relbench.
Same self-describing manifest layout (plain parquet + manifest.yaml):
<dataset>/
manifest.yaml # tables, primary keys, foreign-key graph, val/test timestamps
schema.svg # ER diagram
db/*.parquet # relational tables (plain parquet)
tasks/<task>/manifest.yaml # task spec (+ duckdb SQL for `forecast` tasks)
tasks/<task>/{train,val,test}.parquet
A v2-only task on a v1 database is a tasks/ subtree with no db/ or manifest.yaml next to
it -- its database is the one of the same name in stanford-star/relbench. RelBench resolves
that for you, so both kinds load by bare name:
import relbench
ds = relbench.load_dataset("rel-arxiv") # v2-only database, this repo
ds.load_task("paper-citation")
ds = relbench.load_dataset("rel-f1") # v1 database, from stanford-star/relbench
ds.load_task("results-position") # v2-only task, from this repo
load_task also takes a Hub spec ("stanford-star/relbench-v2-extra/rel-f1/tasks/results-position")
or a local task directory. Or read any subdir's parquet directly with pandas/duckdb.
- Downloads last month
- 1,612