Sankek commited on
Commit
a49df98
·
verified ·
1 Parent(s): 4bc5100

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +156 -1
README.md CHANGED
@@ -59,7 +59,7 @@ dataset_info:
59
  dtype: float64
60
  - name: e_electronic
61
  dtype: float64
62
- - name: n
63
  dtype: float64
64
  - name: universal_anisotropy
65
  dtype: float64
@@ -88,4 +88,159 @@ configs:
88
  data_files:
89
  - split: train
90
  path: data/train-*
 
 
 
 
 
 
 
 
91
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  dtype: float64
60
  - name: e_electronic
61
  dtype: float64
62
+ - name: 'n'
63
  dtype: float64
64
  - name: universal_anisotropy
65
  dtype: float64
 
88
  data_files:
89
  - split: train
90
  path: data/train-*
91
+ license: cc-by-4.0
92
+ pretty_name: Materials Project
93
+ size_categories:
94
+ - 100K<n<1M
95
+ tags:
96
+ - materials-science
97
+ - crystal-structures
98
+ - pymatgen
99
  ---
100
+
101
+
102
+ # Dataset Card for xpanceo-team/materials-project
103
+
104
+ ## Dataset Summary
105
+
106
+ This dataset is a snapshot of the **Materials Project (MP)** materials database, exported from the MP **Summary** endpoint using `mp-api`.
107
+
108
+ Snapshot date: **2026-01-18**.
109
+
110
+ The `structure` column stores **pymatgen `Structure` JSON** serialized as a string.
111
+
112
+ Important: For several rich/large MP sub-documents (e.g. XAS, DOS, band structure), this dataset stores only *availability flags* (`*_is_available`) rather than the full objects.
113
+
114
+ ## Source
115
+
116
+ Upstream data source: the Materials Project database and API documentation.
117
+
118
+ Materials Project is an open resource for computed materials properties and structures, built using high-throughput DFT workflows and a curated data model.
119
+
120
+ ## Preprocessing
121
+
122
+ Structures and properties were downloaded using `mp-api` (version `0.45.15`) with `MPRester.materials.summary.search()`.
123
+
124
+ The export used a fixed field list:
125
+ - “regular” scalar fields (energetics, electronic structure, magnetism, elasticity-related, dielectric-related),
126
+ - `material_id`, `structure`, and symmetry (used to derive `space_group_number` and `crystal_system`),
127
+ - availability checks for selected Emmet (internal document model) sub-documents: `xas`, `bandstructure`, `dos`, `decomposes_to`, `types_of_magnetic_species`.
128
+
129
+ ## Dataset Structure
130
+
131
+ ### Data Instances
132
+
133
+ Each row corresponds to one Materials Project entry identified by `material_id` (e.g., `mp-149`), with an associated crystal structure and computed properties.
134
+
135
+ ### Data Fields
136
+
137
+ - `material_id` (string): Materials Project material identifier (e.g., `mp-149`).
138
+ - `structure` (string): **pymatgen `Structure` JSON** (serialized) for the entry’s structure.
139
+ - `deprecated` (bool): Whether the entry is marked deprecated upstream.
140
+ - `space_group_number` (int): International space group number from `mp_doc.symmetry.number`.
141
+ - `crystal_system` (string): Crystal system label from `mp_doc.symmetry.crystal_system`.
142
+
143
+ Energetics / thermodynamics:
144
+ - `uncorrected_energy_per_atom` (float)
145
+ - `energy_per_atom` (float)
146
+ - `formation_energy_per_atom` (float)
147
+ - `energy_above_hull` (float)
148
+ - `is_stable` (bool)
149
+ - `equilibrium_reaction_energy_per_atom` (float)
150
+
151
+ Electronic structure:
152
+ - `band_gap` (float)
153
+ - `cbm` (float)
154
+ - `vbm` (float)
155
+ - `efermi` (float)
156
+ - `is_gap_direct` (bool)
157
+ - `is_metal` (bool)
158
+
159
+ Magnetism (when available):
160
+ - `is_magnetic` (bool)
161
+ - `ordering` (string)
162
+ - `total_magnetization` (float)
163
+ - `total_magnetization_normalized_vol` (float)
164
+ - `total_magnetization_normalized_formula_units` (float)
165
+ - `num_magnetic_sites` (int)
166
+ - `num_unique_magnetic_sites` (int)
167
+
168
+ Additional properties (when available):
169
+ - `universal_anisotropy` (float)
170
+ - `homogeneous_poisson` (float)
171
+ - `e_total` (float)
172
+ - `e_ionic` (float)
173
+ - `e_electronic` (float)
174
+ - `n` (float)
175
+ - `e_ij_max` (float)
176
+
177
+ Composition helpers:
178
+ - `possible_species` (list[string])
179
+ - `theoretical` (bool)
180
+
181
+ Availability flags (full objects are not included in this dataset):
182
+ - `xas_is_available` (bool)
183
+ - `bandstructure_is_available` (bool)
184
+ - `dos_is_available` (bool)
185
+ - `decomposes_to_is_available` (bool)
186
+ - `types_of_magnetic_species_is_available` (bool)
187
+
188
+ Note: Numeric fields are preserved as-is from the MP Summary documents. Refer to official Materials Project documentation for definitions and conventions.
189
+
190
+ ### Data Splits
191
+
192
+ Single split:
193
+ - `train`: 210,579 examples
194
+
195
+ ## Usage
196
+
197
+ Load the dataset:
198
+
199
+ ```python
200
+ from datasets import load_dataset
201
+
202
+ ds = load_dataset("xpanceo-team/materials-project", split="train")
203
+ print(ds)
204
+ print(ds.column_names)
205
+ ```
206
+
207
+ Convert to pandas (may be heavy depending on memory):
208
+
209
+ ```python
210
+ df = ds.to_pandas()
211
+ ```
212
+
213
+ Parse `structure` with pymatgen:
214
+
215
+ ```python
216
+ from pymatgen.core import Structure
217
+
218
+ row = ds[0]
219
+ structure = Structure.from_str(row["structure"], fmt="json")
220
+
221
+ print(structure.composition, len(structure))
222
+ ```
223
+
224
+ ## Citation
225
+
226
+ If you use this dataset, please cite the upstream Materials Project publication and acknowledge this Hugging Face repackaging.
227
+
228
+ ```bibtex
229
+ @article{Jain2013MaterialsProject,
230
+ title = {Commentary: The Materials Project: A materials genome approach to accelerating materials innovation},
231
+ author = {Jain, Anubhav and Ong, Shyue Ping and Hautier, Geoffroy and Chen, Wei and Richards, William Davidson and Dacek, Stephen and Cholia, Shreyas and Gunter, Dan and Skinner, David and Ceder, Gerbrand and Persson, Kristin A.},
232
+ journal = {APL Materials},
233
+ year = {2013},
234
+ volume = {1},
235
+ number = {1},
236
+ pages = {011002},
237
+ doi = {10.1063/1.4812323}
238
+ }
239
+ ```
240
+
241
+ ## License
242
+
243
+
244
+ This dataset is distributed under **Creative Commons Attribution 4.0 (CC BY 4.0)**, consistent with Materials Project’s CC BY 4.0 terms..
245
+
246
+ If you use or redistribute this dataset (including derivatives), please **cite Materials Project** (see **Citation**) and **indicate if you made changes**, as required by CC BY 4.0.