Datasets:
Tasks:
Graph Machine Learning
Modalities:
Tabular
Languages:
English
Tags:
chemistry
organic-solar-cells
molecular-property-prediction
photovoltaics
tabular
graph-machine-learning
License:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: RingFormer Raw CSV (HOPV / PFD / NFA / PD)
|
| 3 |
+
license: other
|
| 4 |
+
task_categories:
|
| 5 |
+
- tabular-regression
|
| 6 |
+
tags:
|
| 7 |
+
- chemistry
|
| 8 |
+
- organic-solar-cells
|
| 9 |
+
- molecular-property-prediction
|
| 10 |
+
- photovoltaics
|
| 11 |
+
- graph-machine-learning
|
| 12 |
+
- ringformer
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# RingFormer Raw CSV Dataset
|
| 18 |
+
|
| 19 |
+
## Summary
|
| 20 |
+
This Hugging Face dataset repository publishes the **original/raw CSV tables** used in the RingFormer project, including four datasets: **HOPV, PFD, NFA, and PD**.
|
| 21 |
+
|
| 22 |
+
This data is used in the paper *“RingFormer: A Ring-Enhanced Graph Transformer for Organic Solar Cell Property Prediction”* (AAAI 2025) for organic solar cell (OSC) property/device-metric prediction.
|
| 23 |
+
|
| 24 |
+
| DATASET | #GRAPHS | AVG. # NODES | AVG. # EDGES | AVG. # RINGS |
|
| 25 |
+
| ------: | ------: | -----------: | -----------: | -----------: |
|
| 26 |
+
| CEPDB | 2.2M | 27.6 | 33.3 | 6.7 |
|
| 27 |
+
| HOPV | 350 | 42.7 | 49.3 | 7.5 |
|
| 28 |
+
| PFD | 1055 | 77.1 | 84.2 | 8.2 |
|
| 29 |
+
| NFA | 654 | 118.2 | 133.0 | 15.8 |
|
| 30 |
+
| PD | 277 | 80.7 | 88.2 | 8.5 |
|
| 31 |
+
|
| 32 |
+
**Important:**
|
| 33 |
+
- This repository contains *raw/tabular CSV files only*.
|
| 34 |
+
- The **processed ring-graph data** (and the code to generate it) is available in the RingFormer GitHub repository, not here. Replace the placeholder below with your actual link:
|
| 35 |
+
- GitHub: `https://github.com/TommyDzh/RingFormer`
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
## Schema (Columns)
|
| 40 |
+
|
| 41 |
+
### `hopv.csv`
|
| 42 |
+
Header:
|
| 43 |
+
`smiles,doi,inchlKEY,construction,architecture,complement,HOMO,LUMO,electrochemical_gap,optical_gap,PCE,V_OC,J_SC,fill_factor`
|
| 44 |
+
|
| 45 |
+
- `smiles`: molecule SMILES
|
| 46 |
+
- `doi`: reference DOI
|
| 47 |
+
- `inchlKEY`: InChIKey (kept as-is from the original file)
|
| 48 |
+
- `construction`: material category (e.g., polymer)
|
| 49 |
+
- `architecture`: device architecture (e.g., bulk)
|
| 50 |
+
- `complement`: complementary material (e.g., PC61BM/PC71BM)
|
| 51 |
+
- `HOMO`, `LUMO`: energy levels (commonly in eV; values appear as negatives in the file)
|
| 52 |
+
- `electrochemical_gap`, `optical_gap`: gap-related quantities (commonly in eV)
|
| 53 |
+
- `PCE`: power conversion efficiency
|
| 54 |
+
- `V_OC`: open-circuit voltage
|
| 55 |
+
- `J_SC`: short-circuit current density
|
| 56 |
+
- `fill_factor`: fill factor (raw data may store it as percent-like values)
|
| 57 |
+
|
| 58 |
+
Missing values can appear as `nan`.
|
| 59 |
+
|
| 60 |
+
### `PFD.csv`
|
| 61 |
+
Header:
|
| 62 |
+
`Nickname,PCE_max(%),PCE_ave(%),Voc,Jsc,FF,Mw,Mn,PDI,Monomer,HOMO,LUMO,bandgap,SMILES`
|
| 63 |
+
|
| 64 |
+
- `Nickname`: material/polymer nickname
|
| 65 |
+
- `PCE_max(%)`, `PCE_ave(%)`: max/average PCE (percent)
|
| 66 |
+
- `Voc`, `Jsc`, `FF`: device metrics
|
| 67 |
+
- `Mw`, `Mn`, `PDI`: molecular weight related fields
|
| 68 |
+
- `Monomer`: monomer-related field (kept as-is)
|
| 69 |
+
- `HOMO`, `LUMO`, `bandgap`: electronic properties
|
| 70 |
+
- `SMILES`: structure SMILES
|
| 71 |
+
|
| 72 |
+
### `NFA.csv` and `PD.csv`
|
| 73 |
+
Both share the same header (kept exactly as in the original CSV, including quotes/hyphens):
|
| 74 |
+
`PCE_max(%),PCE_ave(%),Jsc(mA/cm2),FF,Voc(V),HOMO_n(eV),'-LUMO_n(eV),Eg_n(eV),n(SMILES),M (g/mol),HOMO_n(eV),'-LUMO_n(eV),Eg_n(eV),p(SMILES),Mw (kg/mol),Mn(kg/mol),PDI`
|
| 75 |
+
|
| 76 |
+
This can be interpreted as a paired-material record (n / p) with device performance:
|
| 77 |
+
- `PCE_max(%)`, `PCE_ave(%)`, `Jsc(mA/cm2)`, `FF`, `Voc(V)`: device performance
|
| 78 |
+
- First group (`... n(SMILES)`): n-side material properties and SMILES
|
| 79 |
+
- `M (g/mol)`: molecular mass field (unit in header)
|
| 80 |
+
- Second group (`... p(SMILES)`): p-side material properties and SMILES (column names are not renamed in the raw file)
|
| 81 |
+
- `Mw (kg/mol)`, `Mn(kg/mol)`, `PDI`: molecular-weight related fields (units in headers)
|
| 82 |
+
|
| 83 |
+
## How to Use
|
| 84 |
+
This repository provides raw CSVs. Example:
|
| 85 |
+
|
| 86 |
+
```python
|
| 87 |
+
import pandas as pd
|
| 88 |
+
|
| 89 |
+
df_hopv = pd.read_csv("hopv.csv")
|
| 90 |
+
df_pfd = pd.read_csv("PFD.csv")
|
| 91 |
+
df_nfa = pd.read_csv("NFA.csv")
|
| 92 |
+
df_pd = pd.read_csv("PD.csv")
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
For **ring-graph construction** and **training**, use the scripts in the RingFormer GitHub repository (e.g., `generate_ring_graphs.py`, `train.py` as described in the upstream README).
|
| 96 |
+
|
| 97 |
+
## Citation
|
| 98 |
+
If you use this dataset, please cite:
|
| 99 |
+
|
| 100 |
+
```bibtex
|
| 101 |
+
@inproceedings{ding2025ringformer,
|
| 102 |
+
title={RingFormer: a ring-enhanced graph transformer for organic solar cell property prediction},
|
| 103 |
+
author={Ding, Zhihao and Zhang, Ting and Li, Yiran and Shi, Jieming and Zhang, Chen Jason},
|
| 104 |
+
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
|
| 105 |
+
volume={39},
|
| 106 |
+
number={1},
|
| 107 |
+
pages={155--163},
|
| 108 |
+
year={2025}
|
| 109 |
+
}
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
## License
|
| 113 |
+
This repository republishes the original CSV tables used by RingFormer for reproducibility and re-processing. Please refer to the upstream RingFormer GitHub repository for licensing/usage terms of the data. If the upstream repository does not clearly specify a license for the data, please verify compliance before downstream use.
|