Datasets:
Add paper link and task category
Browse filesThis PR improves the dataset card by:
- Adding the `visual-document-retrieval` task category to the YAML metadata.
- Including a link to the original research paper on the Hugging Face Hub.
- Adding a link to the official GitHub repository.
- Including the BibTeX citation for the dataset.
README.md
CHANGED
|
@@ -1,74 +1,79 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
- en
|
| 4 |
-
|
| 5 |
-
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
-
|
| 16 |
-
|
| 17 |
-
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
- name:
|
| 26 |
-
dtype: string
|
| 27 |
-
- name:
|
| 28 |
-
dtype:
|
| 29 |
-
- name:
|
| 30 |
-
dtype:
|
| 31 |
-
- name:
|
| 32 |
-
dtype: string
|
| 33 |
-
- name:
|
| 34 |
-
dtype: string
|
| 35 |
-
- name:
|
| 36 |
-
dtype: string
|
| 37 |
-
- name:
|
| 38 |
-
dtype: string
|
| 39 |
-
- name:
|
| 40 |
-
|
| 41 |
-
- name:
|
| 42 |
-
|
| 43 |
-
- name:
|
| 44 |
-
dtype: string
|
| 45 |
-
- name:
|
| 46 |
-
dtype: string
|
| 47 |
-
- name:
|
| 48 |
-
dtype: string
|
| 49 |
-
- name:
|
| 50 |
-
dtype: string
|
| 51 |
-
- name:
|
| 52 |
-
dtype: string
|
| 53 |
-
- name:
|
| 54 |
-
dtype: string
|
| 55 |
-
- name:
|
| 56 |
-
dtype: string
|
| 57 |
-
- name:
|
| 58 |
-
dtype: string
|
| 59 |
-
- name:
|
| 60 |
-
dtype: string
|
| 61 |
-
- name:
|
| 62 |
-
dtype: string
|
| 63 |
-
- name:
|
| 64 |
-
dtype: string
|
| 65 |
-
- name:
|
| 66 |
-
dtype:
|
| 67 |
-
-
|
|
|
|
|
|
|
| 68 |
|
| 69 |
# DiagramBank
|
| 70 |
|
| 71 |
-
[**DiagramBank**](https://github.com/csml-rpi/DiagramBank) is a large-scale dataset designed for **Retrieval-Augmented Generation (RAG)** on scientific figures. It aggregates
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
## Dataset Structure
|
| 74 |
|
|
@@ -118,7 +123,7 @@ print(dataset[0]['figure_caption'])
|
|
| 118 |
You can download the diagrams and automatically reconstruct the folder structure using our setup script.
|
| 119 |
```bash
|
| 120 |
# 1. Download the setup script directly from this repo
|
| 121 |
-
wget
|
| 122 |
```
|
| 123 |
```bash
|
| 124 |
# 2. Run it (downloads ~60GB of diagrams from accepted papers)
|
|
@@ -126,7 +131,7 @@ wget [https://huggingface.co/datasets/zhangt20/DiagramBank/resolve/main/download
|
|
| 126 |
export FIG_RAG_DIR=<a scratch folder with at least 60 GB of space>
|
| 127 |
```
|
| 128 |
|
| 129 |
-
```
|
| 130 |
# 1. Default: Download Accepted papers + Core files (DBs/FAISS)
|
| 131 |
python download_diagrambank.py
|
| 132 |
|
|
@@ -143,4 +148,19 @@ python download_diagrambank.py
|
|
| 143 |
# python download_diagrambank.py --subset all --no-core
|
| 144 |
```
|
| 145 |
|
| 146 |
-
For a more detailed usage, see [https://github.com/csml-rpi/DiagramBank](https://github.com/csml-rpi/DiagramBank)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
size_categories:
|
| 5 |
+
- 10K<n<100K
|
| 6 |
+
pretty_name: DiagramBank
|
| 7 |
+
task_categories:
|
| 8 |
+
- visual-document-retrieval
|
| 9 |
+
tags:
|
| 10 |
+
- diagrams
|
| 11 |
+
- scientific papers
|
| 12 |
+
- retrieval augmented generation
|
| 13 |
+
- multimodal retrieval
|
| 14 |
+
- ICLR
|
| 15 |
+
- ICML
|
| 16 |
+
- NeurIPS
|
| 17 |
+
- TMLR
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data.jsonl
|
| 23 |
+
dataset_info:
|
| 24 |
+
features:
|
| 25 |
+
- name: platform
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: venue
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: year
|
| 30 |
+
dtype: int32
|
| 31 |
+
- name: title
|
| 32 |
+
dtype: string
|
| 33 |
+
- name: abstract
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: keywords
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: areas
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: tldr
|
| 40 |
+
dtype: string
|
| 41 |
+
- name: scores
|
| 42 |
+
sequence: int32
|
| 43 |
+
- name: decision
|
| 44 |
+
dtype: string
|
| 45 |
+
- name: authors
|
| 46 |
+
dtype: string
|
| 47 |
+
- name: author_ids
|
| 48 |
+
dtype: string
|
| 49 |
+
- name: cdate
|
| 50 |
+
dtype: string
|
| 51 |
+
- name: url
|
| 52 |
+
dtype: string
|
| 53 |
+
- name: platform_id
|
| 54 |
+
dtype: string
|
| 55 |
+
- name: bibtex
|
| 56 |
+
dtype: string
|
| 57 |
+
- name: figure_path
|
| 58 |
+
dtype: string
|
| 59 |
+
- name: figure_number
|
| 60 |
+
dtype: string
|
| 61 |
+
- name: figure_caption
|
| 62 |
+
dtype: string
|
| 63 |
+
- name: figure_context
|
| 64 |
+
dtype: string
|
| 65 |
+
- name: figure_type
|
| 66 |
+
dtype: string
|
| 67 |
+
- name: confidence
|
| 68 |
+
dtype: float32
|
| 69 |
+
---
|
| 70 |
|
| 71 |
# DiagramBank
|
| 72 |
|
| 73 |
+
[**DiagramBank**](https://github.com/csml-rpi/DiagramBank) is a large-scale dataset designed for **Retrieval-Augmented Generation (RAG)** on scientific figures. It aggregates 89,422 schematic diagrams curated from top-tier AI publications (ICLR, ICML, NeurIPS, TMLR), providing rich metadata including review scores, acceptance decisions, and figure captions.
|
| 74 |
+
|
| 75 |
+
Paper: [DiagramBank: A Large-scale Dataset of Diagram Design Exemplars with Paper Metadata for Retrieval-Augmented Generation](https://huggingface.co/papers/2604.20857)
|
| 76 |
+
Code: [https://github.com/csml-rpi/DiagramBank](https://github.com/csml-rpi/DiagramBank)
|
| 77 |
|
| 78 |
## Dataset Structure
|
| 79 |
|
|
|
|
| 123 |
You can download the diagrams and automatically reconstruct the folder structure using our setup script.
|
| 124 |
```bash
|
| 125 |
# 1. Download the setup script directly from this repo
|
| 126 |
+
wget https://huggingface.co/datasets/zhangt20/DiagramBank/resolve/main/download_diagrambank.py
|
| 127 |
```
|
| 128 |
```bash
|
| 129 |
# 2. Run it (downloads ~60GB of diagrams from accepted papers)
|
|
|
|
| 131 |
export FIG_RAG_DIR=<a scratch folder with at least 60 GB of space>
|
| 132 |
```
|
| 133 |
|
| 134 |
+
```bash
|
| 135 |
# 1. Default: Download Accepted papers + Core files (DBs/FAISS)
|
| 136 |
python download_diagrambank.py
|
| 137 |
|
|
|
|
| 148 |
# python download_diagrambank.py --subset all --no-core
|
| 149 |
```
|
| 150 |
|
| 151 |
+
For a more detailed usage, see [https://github.com/csml-rpi/DiagramBank](https://github.com/csml-rpi/DiagramBank)
|
| 152 |
+
|
| 153 |
+
## Citation
|
| 154 |
+
|
| 155 |
+
```bibtex
|
| 156 |
+
@misc{zhang2026diagrambank,
|
| 157 |
+
title = {DiagramBank: A Large-scale Dataset of Diagram Design Exemplars with Paper Metadata for Retrieval-Augmented Generation},
|
| 158 |
+
author = {Zhang, Tingwen and Yue, Ling and Xu, Zhen and Pan, Shaowu},
|
| 159 |
+
year = {2026},
|
| 160 |
+
month = feb,
|
| 161 |
+
howpublished = {Research Square},
|
| 162 |
+
note = {Preprint (Version 1)},
|
| 163 |
+
doi = {10.21203/rs.3.rs-8917857/v1},
|
| 164 |
+
url = {https://doi.org/10.21203/rs.3.rs-8917857/v1}
|
| 165 |
+
}
|
| 166 |
+
```
|