nielsr HF Staff commited on
Commit
021a59d
·
verified ·
1 Parent(s): fab5be4

Add paper link and task category

Browse files

This 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.

Files changed (1) hide show
  1. README.md +91 -71
README.md CHANGED
@@ -1,74 +1,79 @@
1
- ---
2
- language:
3
- - en
4
- tags:
5
- - diagrams
6
- - scientific papers
7
- - retrieval augemented generation
8
- - multimodal retrieval
9
- - ICLR
10
- - ICML
11
- - NeurIPS
12
- - TMLR
13
- pretty_name: DiagramBank
14
- size_categories:
15
- - 10K<n<100K
16
- configs:
17
- - config_name: default
18
- data_files:
19
- - split: train
20
- path: data.jsonl
21
- dataset_info:
22
- features:
23
- - name: platform
24
- dtype: string
25
- - name: venue
26
- dtype: string
27
- - name: year
28
- dtype: int32
29
- - name: title
30
- dtype: string
31
- - name: abstract
32
- dtype: string
33
- - name: keywords
34
- dtype: string
35
- - name: areas
36
- dtype: string
37
- - name: tldr
38
- dtype: string
39
- - name: scores
40
- sequence: int32
41
- - name: decision
42
- dtype: string
43
- - name: authors
44
- dtype: string
45
- - name: author_ids
46
- dtype: string
47
- - name: cdate
48
- dtype: string
49
- - name: url
50
- dtype: string
51
- - name: platform_id
52
- dtype: string
53
- - name: bibtex
54
- dtype: string
55
- - name: figure_path
56
- dtype: string
57
- - name: figure_number
58
- dtype: string
59
- - name: figure_caption
60
- dtype: string
61
- - name: figure_context
62
- dtype: string
63
- - name: figure_type
64
- dtype: string
65
- - name: confidence
66
- dtype: float32
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 papers and their corresponding diagrams from top AI conferences (ICLR, ICML, NeurIPS, TMLR), providing rich metadata including review scores, acceptance decisions, and figure captions.
 
 
 
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 [https://huggingface.co/datasets/zhangt20/DiagramBank/resolve/main/download_diagrambank.py](https://huggingface.co/datasets/zhangt20/DiagramBank/resolve/main/download_diagrambank.py)
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
+ ```