Self-contained release: test cases with method/data, original figure and the three requests (parquet, configs diagram/plot)
Browse files- README.md +24 -17
- data/diagram.jsonl +0 -0
- data/diagram/test-00000-of-00001.parquet +3 -0
- data/plot.jsonl +0 -0
- data/plot/test-00000-of-00001.parquet +3 -0
README.md
CHANGED
|
@@ -11,18 +11,22 @@ tags:
|
|
| 11 |
source_datasets:
|
| 12 |
- dwzhu/PaperBananaBench
|
| 13 |
configs:
|
| 14 |
-
- config_name:
|
|
|
|
| 15 |
data_files:
|
| 16 |
-
- split:
|
| 17 |
-
path: data/diagram.
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
# PaperBananaBench-Intent
|
| 23 |
|
| 24 |
An intent-based version of [PaperBananaBench](https://huggingface.co/datasets/dwzhu/PaperBananaBench)
|
| 25 |
-
(all 532 test cases: 292 diagram, 240 plot).
|
|
|
|
| 26 |
caption, which already decides what to draw. Here every case carries three alternative requests that
|
| 27 |
go to the generator together with the method section (diagram) or the data (plot):
|
| 28 |
|
|
@@ -63,27 +67,30 @@ is mostly data column names, which are part of the input anyway.
|
|
| 63 |
|---|---|
|
| 64 |
| `id`, `track`, `category` | PaperBananaBench test id, `diagram` or `plot`, original category |
|
| 65 |
| `floor`, `intent`, `caption` | the three requests (see above) |
|
| 66 |
-
| `
|
| 67 |
-
| `
|
| 68 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
-
|
| 72 |
|
| 73 |
## Usage
|
| 74 |
|
| 75 |
```python
|
| 76 |
from datasets import load_dataset
|
| 77 |
-
|
| 78 |
-
|
| 79 |
|
| 80 |
-
case =
|
| 81 |
print(case["floor"], case["intent"], case["caption"], sep="\n")
|
|
|
|
| 82 |
```
|
| 83 |
|
| 84 |
-
|
| 85 |
-
the method section (diagram) or data (plot) plus one of `floor`, `intent` or `caption`, and evaluate
|
| 86 |
-
against the original figure.
|
| 87 |
|
| 88 |
## Source and license
|
| 89 |
|
|
|
|
| 11 |
source_datasets:
|
| 12 |
- dwzhu/PaperBananaBench
|
| 13 |
configs:
|
| 14 |
+
- config_name: diagram
|
| 15 |
+
default: true
|
| 16 |
data_files:
|
| 17 |
+
- split: test
|
| 18 |
+
path: data/diagram/test-*.parquet
|
| 19 |
+
- config_name: plot
|
| 20 |
+
data_files:
|
| 21 |
+
- split: test
|
| 22 |
+
path: data/plot/test-*.parquet
|
| 23 |
---
|
| 24 |
|
| 25 |
# PaperBananaBench-Intent
|
| 26 |
|
| 27 |
An intent-based version of [PaperBananaBench](https://huggingface.co/datasets/dwzhu/PaperBananaBench)
|
| 28 |
+
(all 532 test cases: 292 diagram, 240 plot). It is self-contained: every record carries the method
|
| 29 |
+
section or data, the original figure and the three requests. In PaperBananaBench the generator is given the figure
|
| 30 |
caption, which already decides what to draw. Here every case carries three alternative requests that
|
| 31 |
go to the generator together with the method section (diagram) or the data (plot):
|
| 32 |
|
|
|
|
| 67 |
|---|---|
|
| 68 |
| `id`, `track`, `category` | PaperBananaBench test id, `diagram` or `plot`, original category |
|
| 69 |
| `floor`, `intent`, `caption` | the three requests (see above) |
|
| 70 |
+
| `content` | method section (diagram) or the data as JSON (plot): model input in every condition |
|
| 71 |
+
| `image` | original figure: the evaluation reference |
|
| 72 |
+
| `path_to_gt_image` | original image path in PaperBananaBench |
|
| 73 |
+
| `paper_title` | diagram only (empty for plot) |
|
| 74 |
+
| `additional_info` | PaperBananaBench `additional_info` as JSON (aspect ratio; for plot also the ground-truth code, evaluation only) |
|
| 75 |
+
| `intent_writer`, `intent_attempts` | how the intent request was produced |
|
| 76 |
+
| `audit_words`, `audit_caption_span`, `audit_caption_word_overlap`, `audit_pass` | automatic leakage audit of the intent request |
|
| 77 |
|
| 78 |
+
Only the test cases are included. The reference pool (`ref` split) used by PaperBanana's retriever is
|
| 79 |
+
in `dwzhu/PaperBananaBench`.
|
| 80 |
|
| 81 |
## Usage
|
| 82 |
|
| 83 |
```python
|
| 84 |
from datasets import load_dataset
|
| 85 |
+
diagram = load_dataset("limhyeonseok/PaperBananaBench-Intent", "diagram", split="test")
|
| 86 |
+
plot = load_dataset("limhyeonseok/PaperBananaBench-Intent", "plot", split="test")
|
| 87 |
|
| 88 |
+
case = diagram[0]
|
| 89 |
print(case["floor"], case["intent"], case["caption"], sep="\n")
|
| 90 |
+
case["image"] # original figure (PIL image)
|
| 91 |
```
|
| 92 |
|
| 93 |
+
Give the generator `content` plus one of `floor`, `intent` or `caption`, and evaluate against `image`.
|
|
|
|
|
|
|
| 94 |
|
| 95 |
## Source and license
|
| 96 |
|
data/diagram.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/diagram/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:784cd8c3fec8add055d20e51f76585405eb32e2232a0b016ffc2c831f6bfc291
|
| 3 |
+
size 118578294
|
data/plot.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/plot/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de10946dfde1c02bccf02f3814e0bbe9d3171adc35b1926e613b24b8c9071d0a
|
| 3 |
+
size 26526212
|