caobin commited on
Commit
ac7d1e8
·
verified ·
1 Parent(s): 55dfd9b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +184 -3
README.md CHANGED
@@ -1,3 +1,184 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ extra_gated_prompt: "You agree to not use the dataset to conduct experiments that cause harm to human subjects."
3
+ extra_gated_fields:
4
+ Company: text
5
+ Name: text
6
+ Position: text
7
+ Purpose_of_data: text
8
+ Contact_Email: text
9
+ Country: country
10
+ Specific_date: date_picker
11
+
12
+ Supervisor_Name (If not applicable, please enter 'None'):
13
+ type: text
14
+
15
+ Supervisor_Email (If not applicable, please enter 'None'):
16
+ type: text
17
+
18
+ I want to use this dataset for:
19
+ type: select
20
+ options:
21
+ - Research
22
+ - Education
23
+ - label: Other
24
+ value: other
25
+
26
+ I agree to use this dataset for non-commercial use ONLY: checkbox
27
+
28
+
29
+ extra_gated_heading: "Acknowledge license to accept the repository"
30
+ extra_gated_description: "Our team may take 2–3 days to process your request"
31
+ extra_gated_button_content: "Acknowledge license"
32
+ ---
33
+
34
+
35
+
36
+
37
+ **Please provide your real name and institutional email for verification.**
38
+ If you experience any issues, contact Mr. Cao at: 📧 **bcao686@connect.hkust-gz.edu.cn**
39
+ Fake names or unverifiable information will result in your request being denied.
40
+
41
+ # CPPbenchmark
42
+
43
+
44
+ **CPPbenchmark** is a curated benchmark suite for evaluating machine learning models on crystal property prediction (CPP) tasks. It includes eight tasks—seven regression (e.g., formation energy, band gap, elastic moduli) and one classification (metal/non-metal)—using high-quality datasets derived from the Materials Project. All data is provided in ASE `.db` format, enabling easy integration with atomistic ML workflows.
45
+
46
+
47
+
48
+
49
+ ## 📝 Access Request Form
50
+
51
+ > Please fill in the form truthfully. We will review your request within **2–3 business days**.
52
+
53
+
54
+
55
+
56
+ ## 📥 Access & Usage
57
+
58
+ - All required information must be filled out truthfully.
59
+ - Personal verification typically takes **2 working days**.
60
+ - Once approved, you'll be granted download access to the full database.
61
+
62
+ ---
63
+
64
+ ## 📚 Citation & License
65
+
66
+ **Commercial use is strictly prohibited.**
67
+ All access will be logged.
68
+ If you use this dataset in your research, please cite **all** the following works:
69
+
70
+ ```bibtex
71
+
72
+
73
+
74
+ @article{jain2020materials,
75
+ title={The materials project: Accelerating materials design through theory-driven data and tools},
76
+ author={Jain, Anubhav and Montoya, Joseph and Dwaraknath, Shyam and Zimmermann, Nils ER and Dagdelen, John and Horton, Matthew and Huck, Patrick and Winston, Donny and Cholia, Shreyas and Ong, Shyue Ping and others},
77
+ journal={Handbook of Materials Modeling: Methods: Theory and Modeling},
78
+ pages={1751--1784},
79
+ year={2020},
80
+ publisher={Springer}
81
+ }
82
+
83
+ @inproceedings{binsimxrd,
84
+ title={SimXRD-4M: Big Simulated X-ray Diffraction Data and Crystal Symmetry Classification Benchmark},
85
+ author={Bin, CAO and Liu, Yang and Zheng, Zinan and Tan, Ruifeng and Li, Jia and Zhang, Tong-yi},
86
+ booktitle={The Thirteenth International Conference on Learning Representations}
87
+ }
88
+
89
+
90
+ @misc{caobin2025hkustcrystdb,
91
+ author = {Bin Cao and Tong-Yi Zhang},
92
+ title = {CPPbenchmark (Revision eaf5862)},
93
+ year = {2025},
94
+ publisher = {Hugging Face},
95
+ howpublished = {\url{https://huggingface.co/datasets/caobin/HKUST-CrystDB}},
96
+ doi = {10.57967/hf/5173}
97
+ }
98
+
99
+
100
+ ```
101
+
102
+
103
+ ## Task Overview
104
+
105
+ This benchmark includes **eight primary tasks** for evaluating CPP models in crystal property prediction, divided into regression and classification missions.
106
+
107
+ ### **Mission Settings**
108
+
109
+ #### 🔢 Regression Tasks
110
+
111
+ 1. **T1**: Formation Energy Prediction (`float`) | `eV/atom`
112
+ 2. **T2**: Band Gap Prediction (`float`) | `eV`
113
+ 3. **T3**: Bulk Modulus Prediction (`float`) | `Gpa`
114
+ 4. **T4**: Shear Modulus Prediction (`float`) | `Gpa`
115
+ 5. **T5**: Young’s Modulus Prediction (`float`) | `Gpa`
116
+ 6. **T6**: Poisson’s Ratio Prediction (`float`) | `NAN`
117
+ 7. **T7**: Pugh’s Ratio Prediction (`float`) | `NAN`
118
+
119
+ #### 🧮 Classification Task
120
+
121
+ 8. **T8**: Metal/Non-metal Classification (`int`, binary classification)
122
+
123
+ ---
124
+
125
+ ## Dataset Description
126
+
127
+ The datasets are hosted on Hugging Face and stored in ASE database (`.db`) format. Each database includes crystal structures and corresponding property labels.
128
+
129
+ ### 📁 `fe_bandg/`
130
+
131
+ * **Train:** `MP_100_bgfe_train.db` (86,071 crystals)
132
+ * **Val:** `MP_100_bgfe_val.db` (12,295 crystals)
133
+ * **Test:** `MP_100_bgfe_test.db` (24,593 crystals)
134
+ * **Tasks:** T1, T2
135
+
136
+ * Keys: `formation_energy`, `band_gap`
137
+
138
+ ### 📁 `modulus/`
139
+
140
+ * **Train:** `MP_modulus_train.db` (6,631 crystals)
141
+ * **Val:** `MP_modulus_val.db` (947 crystals)
142
+ * **Test:** `MP_modulus_test.db` (1,895 crystals)
143
+ * **Tasks:** T3–T7
144
+
145
+ * Keys: `bulk_modulus`, `shear_modulus`, `youngs_modulus`, `poissons_ratio`, `pughs_modulus_ratio`
146
+
147
+ ### 📁 `metal_nometal/`
148
+
149
+ * **Train:** `MP_100_metal_train.db` (86,071 crystals)
150
+ * **Val:** `MP_100_metal_val.db` (12,295 crystals)
151
+ * **Test:** `MP_100_metal_test.db` (24,593 crystals)
152
+ * **Task:** T8 (label: `0` or `1`)
153
+
154
+ * Keys: `metal`
155
+ ---
156
+
157
+ ## Data Format
158
+
159
+ All data is stored in **ASE database format** (`.db`). Each entry contains both the **crystal structure** and the **associated target properties**.
160
+
161
+ ---
162
+
163
+ ## 🧪 Example: Reading Data from an ASE Database
164
+
165
+ You can read data using the `ase.db` module as follows:
166
+
167
+ ```python
168
+ from ase.db import connect
169
+
170
+ # Load the database
171
+ db = connect('MP_100_bgfe_train.db')
172
+
173
+ # Iterate through entries
174
+ for row in db.select():
175
+ atoms = row.toatoms() # ASE Atoms object
176
+ formation_energy = row.formation_energy
177
+ band_gap = row.band_gap
178
+
179
+ print(f'Formula: {atoms.get_chemical_formula()}')
180
+ print(f'Formation Energy: {formation_energy:.3f} eV')
181
+ print(f'Band Gap: {band_gap:.3f} eV')
182
+ break # remove this if you want to iterate over all entries
183
+ ```
184
+