Datasets:
Commit ·
61510bb
0
Parent(s):
Duplicate from songjhPKU/U-RxnDiagram-15k
Browse files- .gitattributes +60 -0
- README.md +196 -0
- README_ZH.md +197 -0
- test_set.zip +3 -0
- train_set.zip +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# U-RxnDiagram-15k Dataset
|
| 2 |
+
|
| 3 |
+
## Dataset Overview
|
| 4 |
+
|
| 5 |
+
U-RxnDiagram-15k Dataset is a large-scale dataset specifically designed for chemical reaction diagram parsing, containing chemical reaction images extracted from scientific literature PDFs along with detailed annotations. This dataset aims to support research in cheminformatics, document analysis, and computer vision fields.
|
| 6 |
+
|
| 7 |
+
## Dataset Statistics
|
| 8 |
+
|
| 9 |
+
- **Total Images**: 15,400 images
|
| 10 |
+
- Train set: 15,000 images
|
| 11 |
+
- Test set: 400 images
|
| 12 |
+
- **Total Reactions**: 48,255 reactions
|
| 13 |
+
- Train set: 45,426 reactions
|
| 14 |
+
- Test set: 2,829 reactions
|
| 15 |
+
- **Data Source**: Scientific literature PDF files
|
| 16 |
+
- **Image Format**: PNG
|
| 17 |
+
- **Total Annotations**: Approximately 165,468 annotation instances
|
| 18 |
+
|
| 19 |
+
## Dataset Structure
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
U-RxnDiagram-15k/
|
| 23 |
+
├── train_set/
|
| 24 |
+
│ ├── ground_truth.json # Train set annotation file
|
| 25 |
+
│ └── images/ # Train set image directory
|
| 26 |
+
└── test_set/
|
| 27 |
+
├── ground_truth.json # Test set annotation file
|
| 28 |
+
└── images/ # Test set image directory
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Annotation Category Definitions
|
| 32 |
+
|
| 33 |
+
The dataset defines 4 main categories, each containing multiple fine-grained attributes:
|
| 34 |
+
|
| 35 |
+
### 1. Structure - category_id: 1
|
| 36 |
+
- **P-reactant**: Reactant molecular structures
|
| 37 |
+
- **P-product**: Product molecular structures
|
| 38 |
+
- **P-reaction condition**: Reaction condition molecular structures
|
| 39 |
+
|
| 40 |
+
### 2. Text - category_id: 2
|
| 41 |
+
- **T-reaction condition**: Reaction condition text
|
| 42 |
+
- **T-reactant**: Reactant text
|
| 43 |
+
- **T-product**: Product text
|
| 44 |
+
|
| 45 |
+
### 3. Identifier - category_id: 3
|
| 46 |
+
- Chemical identifiers and numbers
|
| 47 |
+
|
| 48 |
+
### 4. Supplement - category_id: 4
|
| 49 |
+
- Other supplementary information
|
| 50 |
+
|
| 51 |
+
## Annotation Statistics
|
| 52 |
+
|
| 53 |
+
### Train Set
|
| 54 |
+
| Attribute Type | Annotation Count | Percentage |
|
| 55 |
+
|---------------|------------------|------------|
|
| 56 |
+
| T-reaction condition | 56,377 | 35.84% |
|
| 57 |
+
| P-reactant | 31,779 | 20.20% |
|
| 58 |
+
| P-product | 30,808 | 28.79% |
|
| 59 |
+
| T-reactant | 6,433 | 6.02% |
|
| 60 |
+
| T-product | 3,804 | 2.42% |
|
| 61 |
+
| P-reaction condition | 6,230 | 3.96% |
|
| 62 |
+
|
| 63 |
+
### Test Set
|
| 64 |
+
| Attribute Type | Annotation Count | Percentage |
|
| 65 |
+
|---------------|------------------|------------|
|
| 66 |
+
| T-reaction condition | 3,011 | 36.92% |
|
| 67 |
+
| P-reactant | 1,521 | 18.65% |
|
| 68 |
+
| P-product | 2,348 | 28.79% |
|
| 69 |
+
| T-reactant | 491 | 6.02% |
|
| 70 |
+
| T-product | 388 | 4.76% |
|
| 71 |
+
| P-reaction condition | 397 | 4.87% |
|
| 72 |
+
|
| 73 |
+
## Data Format
|
| 74 |
+
|
| 75 |
+
### Image File Naming
|
| 76 |
+
Image filenames are hashed (SHA-256, first 8 hex chars).
|
| 77 |
+
Example: `a1b2c3d4.png`.
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
### Annotation File Format (ground_truth.json)
|
| 81 |
+
|
| 82 |
+
The annotation file follows COCO format and contains the following main fields:
|
| 83 |
+
|
| 84 |
+
```json
|
| 85 |
+
{
|
| 86 |
+
"licenses": [...],
|
| 87 |
+
"info": {
|
| 88 |
+
"description": "A dataset for chemical visual diagram analysis",
|
| 89 |
+
"version": "v1",
|
| 90 |
+
"year": "2025"
|
| 91 |
+
},
|
| 92 |
+
"categories": [
|
| 93 |
+
{"id": 1, "name": "structure"},
|
| 94 |
+
{"id": 2, "name": "text"},
|
| 95 |
+
{"id": 3, "name": "identifier"},
|
| 96 |
+
{"id": 4, "name": "supplement"}
|
| 97 |
+
],
|
| 98 |
+
"images": [
|
| 99 |
+
{
|
| 100 |
+
"id": 2,
|
| 101 |
+
"class": "figure",
|
| 102 |
+
"confidence": 0.9148465991020203,
|
| 103 |
+
"bbox": [x1, y1, x2, y2],
|
| 104 |
+
"original_id": 0,
|
| 105 |
+
"width": 1008.7104797363281,
|
| 106 |
+
"height": 471.88232421875,
|
| 107 |
+
"file_name": "ays765k9.png",
|
| 108 |
+
"bboxes": [
|
| 109 |
+
{
|
| 110 |
+
"id": 0,
|
| 111 |
+
"bbox": [x, y, width, height],
|
| 112 |
+
"category_id": 1,
|
| 113 |
+
"category": "P",
|
| 114 |
+
"attribute": "P-reactants",
|
| 115 |
+
"region_id": ["akzkPsql"]
|
| 116 |
+
}
|
| 117 |
+
]
|
| 118 |
+
}
|
| 119 |
+
]
|
| 120 |
+
}
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
### Annotation Field Descriptions
|
| 124 |
+
|
| 125 |
+
- **id**: Unique annotation identifier
|
| 126 |
+
- **bbox**: Bounding box coordinates [x1, y1, x2, y2] for image-level bbox, [x, y, width, height] for bboxes list
|
| 127 |
+
- **category_id**: Category ID (1-4)
|
| 128 |
+
- **category**: Category abbreviation (P=Structure, T=Text)
|
| 129 |
+
- **attribute**: Specific attribute name
|
| 130 |
+
- **region_id**: List of region identifiers
|
| 131 |
+
|
| 132 |
+
## Use Cases
|
| 133 |
+
|
| 134 |
+
This dataset is suitable for the following research tasks:
|
| 135 |
+
|
| 136 |
+
1. **Chemical Structure Recognition**: Identify and locate molecular structures in chemical reactions
|
| 137 |
+
2. **Text Information Extraction**: Extract text information from chemical diagrams
|
| 138 |
+
3. **Reaction Condition Analysis**: Identify and analyze reaction conditions
|
| 139 |
+
4. **Document Understanding**: Understand chemical information in scientific literature
|
| 140 |
+
5. **Multimodal Learning**: Combine visual and text information for chemical analysis
|
| 141 |
+
|
| 142 |
+
## Data Quality
|
| 143 |
+
|
| 144 |
+
- All images are sourced from high-quality scientific literature
|
| 145 |
+
- Annotations are professionally verified for accuracy
|
| 146 |
+
- Contains samples of various chemical reaction types and complexities
|
| 147 |
+
- Supports fine-grained chemical information analysis
|
| 148 |
+
|
| 149 |
+
<!-- ## Citation
|
| 150 |
+
|
| 151 |
+
If you use this dataset in your research, please cite the relevant paper:
|
| 152 |
+
|
| 153 |
+
```bibtex
|
| 154 |
+
@dataset{rxncaption15k_2025,
|
| 155 |
+
title={U-RxnDiagram-15k: A Dataset for Chemical Reaction Diagram Parsing},
|
| 156 |
+
author={[Authors]},
|
| 157 |
+
year={2025},
|
| 158 |
+
version={v1},
|
| 159 |
+
description={A large-scale dataset for chemical reaction visual analysis extracted from scientific literature PDFs}
|
| 160 |
+
}
|
| 161 |
+
``` -->
|
| 162 |
+
|
| 163 |
+
## License
|
| 164 |
+
|
| 165 |
+
This dataset is licensed under the [Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/).
|
| 166 |
+
|
| 167 |
+
### Terms of Use
|
| 168 |
+
|
| 169 |
+
You are free to:
|
| 170 |
+
- **Share** — copy and redistribute the material in any medium or format
|
| 171 |
+
- **Adapt** — remix, transform, and build upon the material
|
| 172 |
+
|
| 173 |
+
Under the following terms:
|
| 174 |
+
- **Attribution** — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
| 175 |
+
- **NonCommercial** — You may not use the material for commercial purposes. Commercial use is prohibited without explicit permission from the licensor.
|
| 176 |
+
|
| 177 |
+
### Citation
|
| 178 |
+
|
| 179 |
+
If you use this dataset in your research, please cite it as follows:
|
| 180 |
+
|
| 181 |
+
```bibtex
|
| 182 |
+
@article{song2025rxncaption,
|
| 183 |
+
title={RxnCaption: Reformulating Reaction Diagram Parsing as Visual Prompt Guided Captioning},
|
| 184 |
+
author={Song, Jiahe and Wang, Chuang and Jiang, Bowen and Wang, Yinfan and Zheng, Hao and Wei, Xingjian and Liu, Chengjin and Nie, Rui and Gao, Junyuan and Sun, Jiaxing and others},
|
| 185 |
+
journal={arXiv preprint arXiv:2511.02384},
|
| 186 |
+
year={2025}
|
| 187 |
+
}
|
| 188 |
+
```
|
| 189 |
+
|
| 190 |
+
## Contact
|
| 191 |
+
|
| 192 |
+
For questions or suggestions, please contact songjiahe@pjlab.org.cn
|
| 193 |
+
|
| 194 |
+
---
|
| 195 |
+
|
| 196 |
+
*Last updated: 2025*
|
README_ZH.md
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# U-RxnDiagram-15k 数据集
|
| 2 |
+
|
| 3 |
+
## 数据集概述
|
| 4 |
+
|
| 5 |
+
U-RxnDiagram-15k 数据集是一个专门用于化学反应图表解析的大规模数据集,包含从科学文献PDF中提取的化学反应图像及其详细标注。该数据集旨在支持化学信息学、文档分析和计算机视觉领域的研究。
|
| 6 |
+
|
| 7 |
+
## 数据集统计信息
|
| 8 |
+
|
| 9 |
+
- **总图像数量**: 15,400 张
|
| 10 |
+
- 训练集: 15,000 张图像
|
| 11 |
+
- 测试集: 400 张图像
|
| 12 |
+
- **总反应数量**: 48,255 个反应
|
| 13 |
+
- 训练集: 45,426 个反应
|
| 14 |
+
- 测试集: 2,829 个反应
|
| 15 |
+
- **数据来源**: 科学文献PDF文件
|
| 16 |
+
- **图像格式**: PNG
|
| 17 |
+
- **标注总数**: 约 165,468 个标注实例
|
| 18 |
+
|
| 19 |
+
## 数据集结构
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
U-RxnDiagram-15k/
|
| 23 |
+
├── train_set/
|
| 24 |
+
│ ├── ground_truth.json # 训练集标注文件
|
| 25 |
+
│ └── images/ # 训练集图像目录
|
| 26 |
+
└── test_set/
|
| 27 |
+
├── ground_truth.json # 测试集标注文件
|
| 28 |
+
└── images/ # 测试集图像目录
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## 标注类别定义
|
| 32 |
+
|
| 33 |
+
数据集定义了4个主要类别,每个类别包含多个细分的属性:
|
| 34 |
+
|
| 35 |
+
### 1. Structure (分子结构) - category_id: 1
|
| 36 |
+
- **P-reactants**: 反应物分子
|
| 37 |
+
- **P-product**: 产物分子
|
| 38 |
+
- **P-reaction conditions**: 反应条件
|
| 39 |
+
|
| 40 |
+
### 2. Text (文本) - category_id: 2
|
| 41 |
+
- **T-reaction conditions**: 反应条件文本
|
| 42 |
+
- **T-reactants**: 反应物文本
|
| 43 |
+
- **T-product**: 产物文本
|
| 44 |
+
|
| 45 |
+
### 3. Identifier (标识符) - category_id: 3
|
| 46 |
+
- 化学标识符和编号
|
| 47 |
+
|
| 48 |
+
### 4. Supplement (补充信息) - category_id: 4
|
| 49 |
+
- 其他补充信息
|
| 50 |
+
|
| 51 |
+
## 标注统计
|
| 52 |
+
|
| 53 |
+
### 训练集
|
| 54 |
+
| 属性类型 | 标注数量 | 占比 |
|
| 55 |
+
|---------|---------|------|
|
| 56 |
+
| T-reaction condition | 56,377 | 35.84% |
|
| 57 |
+
| P-reactant | 31,779 | 20.20% |
|
| 58 |
+
| P-product | 30,808 | 28.79% |
|
| 59 |
+
| T-reactant | 6,433 | 6.02% |
|
| 60 |
+
| T-product | 3,804 | 2.42% |
|
| 61 |
+
| P-reaction condition | 6,230 | 3.96% |
|
| 62 |
+
|
| 63 |
+
### 测试集
|
| 64 |
+
| 属性类型 | 标注数量 | 占比 |
|
| 65 |
+
|---------|---------|------|
|
| 66 |
+
| T-reaction condition | 3,011 | 36.92% |
|
| 67 |
+
| P-reactant | 1,521 | 18.65% |
|
| 68 |
+
| P-product | 2,348 | 28.79% |
|
| 69 |
+
| T-reactant | 491 | 6.02% |
|
| 70 |
+
| T-product | 388 | 4.76% |
|
| 71 |
+
| P-reaction condition | 397 | 4.87% |
|
| 72 |
+
|
| 73 |
+
## 数据格式
|
| 74 |
+
|
| 75 |
+
### 图像文件命名
|
| 76 |
+
图像文件名已进行哈希处理(SHA-256 前 8 位)。
|
| 77 |
+
例如:`a1b2c3d4.png`。
|
| 78 |
+
|
| 79 |
+
### 标注文件格式 (ground_truth.json)
|
| 80 |
+
|
| 81 |
+
标注文件采用COCO格式,包含以下主要字段:
|
| 82 |
+
|
| 83 |
+
```json
|
| 84 |
+
{
|
| 85 |
+
"licenses": [...],
|
| 86 |
+
"info": {
|
| 87 |
+
"description": "A dataset for chemical visual diagram analysis",
|
| 88 |
+
"version": "v1",
|
| 89 |
+
"year": "2025"
|
| 90 |
+
},
|
| 91 |
+
"categories": [
|
| 92 |
+
{"id": 1, "name": "structure"},
|
| 93 |
+
{"id": 2, "name": "text"},
|
| 94 |
+
{"id": 3, "name": "identifier"},
|
| 95 |
+
{"id": 4, "name": "supplement"}
|
| 96 |
+
],
|
| 97 |
+
"images": [
|
| 98 |
+
{
|
| 99 |
+
"id": 2,
|
| 100 |
+
"class": "figure",
|
| 101 |
+
"confidence": 0.9148465991020203,
|
| 102 |
+
"bbox": [x1, y1, x2, y2],
|
| 103 |
+
"original_id": 0,
|
| 104 |
+
"width": 1008.7104797363281,
|
| 105 |
+
"height": 471.88232421875,
|
| 106 |
+
"file_name": "ays765k9.png",
|
| 107 |
+
"bboxes": [
|
| 108 |
+
{
|
| 109 |
+
"id": 0,
|
| 110 |
+
"bbox": [x, y, width, height],
|
| 111 |
+
"category_id": 1,
|
| 112 |
+
"category": "P",
|
| 113 |
+
"attribute": "P-reactants",
|
| 114 |
+
"region_id": ["akzkPsql"]
|
| 115 |
+
}
|
| 116 |
+
]
|
| 117 |
+
}
|
| 118 |
+
]
|
| 119 |
+
}
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
### 标注字段说明
|
| 123 |
+
|
| 124 |
+
- **id**: 标注唯一标识符
|
| 125 |
+
- **bbox**: 边界框坐标 [x1, y1, x2, y2] 用于图像级bbox,[x, y, width, height] 用于bboxes列表
|
| 126 |
+
- **category_id**: 类别ID (1-4)
|
| 127 |
+
- **category**: 类别简称 (P=结构, T=文本)
|
| 128 |
+
- **attribute**: 具体属性名称
|
| 129 |
+
- **region_id**: 区域标识符列表
|
| 130 |
+
|
| 131 |
+
## 使用场景
|
| 132 |
+
|
| 133 |
+
该数据集适用于以下研究任务:
|
| 134 |
+
|
| 135 |
+
1. **化学结构识别**: 识别和定位化学反应中的分子结构
|
| 136 |
+
2. **文本信息提取**: 从化学图表中提取文本信息
|
| 137 |
+
3. **反应条件分析**: 识别和分析反应条件
|
| 138 |
+
4. **文档理解**: 理解科学文献中的化学信息
|
| 139 |
+
5. **多模态学习**: 结合视觉和文本信息进行化学分析
|
| 140 |
+
|
| 141 |
+
## 数据质量
|
| 142 |
+
|
| 143 |
+
- 所有图像均来自高质量的科学文献
|
| 144 |
+
- 标注经过专业验证,确保准确性
|
| 145 |
+
- 包含多种化学反应类型和复杂度的样本
|
| 146 |
+
- 支持细粒度的化学信息分析
|
| 147 |
+
|
| 148 |
+
## 引用
|
| 149 |
+
|
| 150 |
+
如果您在研究中使用了此数据集,请引用相关论文:
|
| 151 |
+
|
| 152 |
+
```bibtex
|
| 153 |
+
@article{song2025rxncaption,
|
| 154 |
+
title={RxnCaption: Reformulating Reaction Diagram Parsing as Visual Prompt Guided Captioning},
|
| 155 |
+
author={Song, Jiahe and Wang, Chuang and Jiang, Bowen and Wang, Yinfan and Zheng, Hao and Wei, Xingjian and Liu, Chengjin and Nie, Rui and Gao, Junyuan and Sun, Jiaxing and others},
|
| 156 |
+
journal={arXiv preprint arXiv:2511.02384},
|
| 157 |
+
year={2025}
|
| 158 |
+
}
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
## 许可证
|
| 162 |
+
|
| 163 |
+
本数据集采用 [Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/) 许可证。
|
| 164 |
+
|
| 165 |
+
### 使用条款
|
| 166 |
+
|
| 167 |
+
您可以自由地:
|
| 168 |
+
- **共享** — 以任何媒介或格式复制和重新分发材料
|
| 169 |
+
- **改编** — 对材料进行混��、转换和构建
|
| 170 |
+
|
| 171 |
+
在以下条件下:
|
| 172 |
+
- **署名** — 您必须给出适当的署名,提供指向本许可协议的链接,同时标明是否对原始作品作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可方认可您或您的使用。
|
| 173 |
+
- **非商业性使用** — 您不得将本材料用于商业目的。未经许可方明确许可,禁止商业使用。
|
| 174 |
+
|
| 175 |
+
### 引用格式
|
| 176 |
+
|
| 177 |
+
如果您在研究中使用了本数据集,请按以下格式引用:
|
| 178 |
+
|
| 179 |
+
<!-- ```bibtex
|
| 180 |
+
@dataset{rxncaption11k_2025,
|
| 181 |
+
title={RxnCaption-11k: A Dataset for Chemical Reaction Diagram Parsing},
|
| 182 |
+
author={[Authors]},
|
| 183 |
+
year={2025},
|
| 184 |
+
version={v1},
|
| 185 |
+
license={CC BY 4.0},
|
| 186 |
+
url={[Dataset URL]},
|
| 187 |
+
description={A large-scale dataset for chemical reaction visual analysis extracted from scientific literature PDFs}
|
| 188 |
+
} -->
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
## 联系方式
|
| 192 |
+
|
| 193 |
+
如有问题或建议,请联系 songjiahe@pjlab.org.cn
|
| 194 |
+
|
| 195 |
+
---
|
| 196 |
+
|
| 197 |
+
*最后更新: 2025年*
|
test_set.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbfee9c03deaa04bac10bd753ff1290009549813439f8eb9c3801cc4d942be8f
|
| 3 |
+
size 267237317
|
train_set.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd80e742fcefc42732273768a718bbd003c8aa5590d9e0d803e1e54e01b023ae
|
| 3 |
+
size 5071947310
|