Rename configs to VFIG-Bench / VFIG-Bench-OOD (proper capitalization)
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ size_categories:
|
|
| 12 |
- n<1K
|
| 13 |
arxiv: 2603.24575
|
| 14 |
dataset_info:
|
| 15 |
-
- config_name:
|
| 16 |
features:
|
| 17 |
- name: filename
|
| 18 |
dtype: string
|
|
@@ -24,7 +24,7 @@ dataset_info:
|
|
| 24 |
num_examples: 400
|
| 25 |
download_size: 756845
|
| 26 |
dataset_size: 2532483
|
| 27 |
-
- config_name:
|
| 28 |
features:
|
| 29 |
- name: filename
|
| 30 |
dtype: string
|
|
@@ -37,14 +37,14 @@ dataset_info:
|
|
| 37 |
download_size: 23321600
|
| 38 |
dataset_size: 23528361.0
|
| 39 |
configs:
|
| 40 |
-
- config_name:
|
| 41 |
data_files:
|
| 42 |
- split: test
|
| 43 |
-
path:
|
| 44 |
-
- config_name:
|
| 45 |
data_files:
|
| 46 |
- split: test
|
| 47 |
-
path:
|
| 48 |
---
|
| 49 |
|
| 50 |
# VFIG-Bench Dataset Card
|
|
@@ -53,13 +53,13 @@ configs:
|
|
| 53 |
|
| 54 |
**VFIG-Bench** is the evaluation benchmark accompanying [VFIG-Data](https://huggingface.co/datasets/QijiaHe/VFIG-Data), used to assess vision-language models on the task of vectorizing complex academic figures into SVG. It comprises two complementary test sets:
|
| 55 |
|
| 56 |
-
- **
|
| 57 |
-
- **
|
| 58 |
|
| 59 |
| Config | Split | Rows | Schema |
|
| 60 |
|---|---|---|---|
|
| 61 |
-
| `
|
| 62 |
-
| `
|
| 63 |
|
| 64 |
- **License:** ODC-BY 1.0
|
| 65 |
- **Paper:** [VFIG: Vectorizing Complex Figures in SVG with Vision-Language Models](https://arxiv.org/abs/2603.24575)
|
|
@@ -70,17 +70,17 @@ configs:
|
|
| 70 |
from datasets import load_dataset
|
| 71 |
|
| 72 |
# In-distribution test (figure-SVG pairs)
|
| 73 |
-
ds = load_dataset("QijiaHe/VFIG-Bench", "
|
| 74 |
print(ds[0]["filename"], len(ds[0]["svg"]))
|
| 75 |
|
| 76 |
# Out-of-distribution test (image only)
|
| 77 |
-
ds_ood = load_dataset("QijiaHe/VFIG-Bench", "
|
| 78 |
print(ds_ood[0]["filename"], ds_ood[0]["image"].size)
|
| 79 |
```
|
| 80 |
|
| 81 |
## Notes on the OOD config
|
| 82 |
|
| 83 |
-
The `
|
| 84 |
|
| 85 |
## License
|
| 86 |
|
|
|
|
| 12 |
- n<1K
|
| 13 |
arxiv: 2603.24575
|
| 14 |
dataset_info:
|
| 15 |
+
- config_name: VFIG-Bench
|
| 16 |
features:
|
| 17 |
- name: filename
|
| 18 |
dtype: string
|
|
|
|
| 24 |
num_examples: 400
|
| 25 |
download_size: 756845
|
| 26 |
dataset_size: 2532483
|
| 27 |
+
- config_name: VFIG-Bench-OOD
|
| 28 |
features:
|
| 29 |
- name: filename
|
| 30 |
dtype: string
|
|
|
|
| 37 |
download_size: 23321600
|
| 38 |
dataset_size: 23528361.0
|
| 39 |
configs:
|
| 40 |
+
- config_name: VFIG-Bench
|
| 41 |
data_files:
|
| 42 |
- split: test
|
| 43 |
+
path: VFIG-Bench/test-*
|
| 44 |
+
- config_name: VFIG-Bench-OOD
|
| 45 |
data_files:
|
| 46 |
- split: test
|
| 47 |
+
path: VFIG-Bench-OOD/test-*
|
| 48 |
---
|
| 49 |
|
| 50 |
# VFIG-Bench Dataset Card
|
|
|
|
| 53 |
|
| 54 |
**VFIG-Bench** is the evaluation benchmark accompanying [VFIG-Data](https://huggingface.co/datasets/QijiaHe/VFIG-Data), used to assess vision-language models on the task of vectorizing complex academic figures into SVG. It comprises two complementary test sets:
|
| 55 |
|
| 56 |
+
- **VFIG-Bench** — 400 in-distribution figure–SVG pairs (held-out from VFIG-Data).
|
| 57 |
+
- **VFIG-Bench-OOD** — 198 out-of-distribution figures (image-only, no SVG ground truth) sourced from well-known academic figures, used to probe generalization.
|
| 58 |
|
| 59 |
| Config | Split | Rows | Schema |
|
| 60 |
|---|---|---|---|
|
| 61 |
+
| `VFIG-Bench` | test | 400 | `{filename: string, svg: string}` |
|
| 62 |
+
| `VFIG-Bench-OOD` | test | 198 | `{filename: string, image: Image}` |
|
| 63 |
|
| 64 |
- **License:** ODC-BY 1.0
|
| 65 |
- **Paper:** [VFIG: Vectorizing Complex Figures in SVG with Vision-Language Models](https://arxiv.org/abs/2603.24575)
|
|
|
|
| 70 |
from datasets import load_dataset
|
| 71 |
|
| 72 |
# In-distribution test (figure-SVG pairs)
|
| 73 |
+
ds = load_dataset("QijiaHe/VFIG-Bench", "VFIG-Bench", split="test")
|
| 74 |
print(ds[0]["filename"], len(ds[0]["svg"]))
|
| 75 |
|
| 76 |
# Out-of-distribution test (image only)
|
| 77 |
+
ds_ood = load_dataset("QijiaHe/VFIG-Bench", "VFIG-Bench-OOD", split="test")
|
| 78 |
print(ds_ood[0]["filename"], ds_ood[0]["image"].size)
|
| 79 |
```
|
| 80 |
|
| 81 |
## Notes on the OOD config
|
| 82 |
|
| 83 |
+
The `VFIG-Bench-OOD` config contains **only PNG images** — there is no SVG ground truth. It is intended for evaluating a model's ability to vectorize unseen, real-world academic figures, judged via downstream metrics (rendering fidelity, code cleanliness, etc.) rather than direct SVG comparison.
|
| 84 |
|
| 85 |
## License
|
| 86 |
|
{vfig-bench-ood → VFIG-Bench-OOD}/test-00000-of-00001.parquet
RENAMED
|
File without changes
|
{vfig-bench → VFIG-Bench}/test-00000-of-00001.parquet
RENAMED
|
File without changes
|