CoolFace
Datasetpublic

LeMaterial/LeMat-Rho

LeMat-Rho LeMat-Rho is a dataset of ~69,000 inorganic crystal structures computed with the r2SCAN meta-GGA functional in VASP, featuring charge densities, Bader charges, forces, stresses, and energies. It is part of the LeMaterial ecosystem. Dataset Summary Property Value Materials 69,117 Functional r2SCAN Sources AFLOW (agm), OQMD (oqmd-), Materials Project (mp-) Bader charge coverage 86.2% (59,613 materials) Charge density grid 15×15×15 (lossy… See the full description on the dataset page: https://huggingface.co/datasets/LeMaterial/LeMat-Rho.

sourceHugging Facecc-by-4.0updated 3mo agoView on Hugging Face
2likes159downloads
Dataset Card

LeMat-Rho

LeMat-Rho is a dataset of ~69,000 inorganic crystal structures computed with the r2SCAN meta-GGA functional in VASP, featuring charge densities, Bader charges, forces, stresses, and energies. It is part of the LeMaterial ecosystem.

Dataset Summary

PropertyValue
Materials69,117
Functionalr2SCAN
SourcesAFLOW (agm), OQMD (oqmd-), Materials Project (mp-)
Bader charge coverage86.2% (59,613 materials)
Charge density grid15×15×15 (lossy compressed via pyrho)
DDEC6 chargesPlanned for future release

Sources

SourceMaterials
AFLOW (agm*)38,925
OQMD (oqmd-*)29,611
Materials Project (mp-*)581

Workflow

Each material was computed with a 4-step VASP pipeline:

  1. 1.PreStaticMaker — initial single-point on unrelaxed geometry
  2. 2.RelaxMaker_1 — geometry relaxation (r2SCAN)
  3. 3.RelaxMaker_2 — second relaxation pass (r2SCAN)
  4. 4.StaticMaker — final NSW=0 single-point; source of all reported properties

Forces, stresses, and energies are from the final static calculation. Charge densities (CHGCAR, AECCAR0, AECCAR1, AECCAR2) are from the StaticMaker output.

Bader charges were computed using the Bader charge analysis code (Henkelman group) with AECCAR0+AECCAR2 as the reference charge density.

Columns

ColumnTypeUnitDescription
immutable_idstringUnique material identifier (e.g. agm001234567)
elementslist[string]Element symbols present
nelementsintNumber of distinct elements
nsitesintNumber of atoms in the unit cell
chemical_formula_reducedstringReduced formula (e.g. Fe2O3)
chemical_formula_anonymousstringAnonymous formula (e.g. A2B3)
chemical_formula_descriptivestringFull descriptive formula
lattice_vectorslist[list[float]]Å3×3 lattice matrix
cartesian_site_positionslist[list[float]]ÅAtomic positions
species_at_siteslist[string]Element at each site
functionalstringDFT functional (r2scan)
energyfloateVTotal DFT energy (final static)
energy_correctedfloateVEnergy with MP2020 corrections (equals energy for r2SCAN)
forceslist[list[float]]eV/ÅPer-atom forces from final static
stress_tensorlist[list[float]]kBar3×3 stress tensor from final static
bader_chargeslist[float]eBader net charges per atom (positive = cationic); null if AECCAR files absent
bader_atomic_volumelist[float]ųBader atomic volumes per atom
ddec6_chargeslist[float]eDDEC6 net charges per atom (null in current release; planned)
compressed_charge_densitystringLossy-compressed CHGCAR (15×15×15 grid, JSON-encoded via pyrho)
compressed_aeccar0stringLossy-compressed AECCAR0 (core charge density)
compressed_aeccar1stringLossy-compressed AECCAR1
compressed_aeccar2stringLossy-compressed AECCAR2 (valence charge density)
charge_density_grid_shapelist[int]Grid dimensions [nx, ny, nz]
space_group_it_numberintInternational Tables space group number
bawl_fingerprintstringStructure fingerprint (BAWL hasher)
magnetic_momentslist[float]μ_BPer-atom magnetic moments (null if not spin-polarized)
total_magnetizationfloatμ_BTotal cell magnetization
cross_compatibilityboolCross-compatibility flag with other LeMaterial datasets

Usage

python
from datasets import load_dataset

ds = load_dataset("LeMaterial/LeMat-Rho", split="train")

# Filter to materials with Bader charges
with_bader = ds.filter(lambda x: x["bader_charges"] is not None)
print(f"Materials with Bader charges: {len(with_bader)}")

# Access a material
row = ds[0]
print(row["chemical_formula_reduced"], row["bader_charges"])

Notes

  • Charge density compression: The stored charge densities are lossy-compressed to a 15×15×15 grid using pyrho. This is suitable for qualitative analysis and ML feature extraction but not for quantitative integration (e.g. re-running Bader). The raw CHGCAR files are available on request.
  • Bader coverage: ~13.8% of materials lack Bader charges because their AECCAR files are absent from the source S3 data. This is consistent across all three source databases and reflects an upstream calculation issue.
  • DDEC6 charges: ddec6_charges is null in this release. A follow-up patch run is planned.
  • r2SCAN functional: All calculations use the r2SCAN meta-GGA functional. MP2020 energy corrections are PBE-specific and do not apply; energy_corrected equals energy for all rows.

Citation

If you use this dataset, please cite the underlying databases:

  • AFLOW: Curtarolo et al., Computational Materials Science 58, 218–226 (2012)
  • OQMD: Saal et al., JOM 65, 1501–1509 (2013); Kirklin et al., npj Computational Materials 1, 15010 (2015)
  • Materials Project: Jain et al., APL Materials 1, 011002 (2013)
  • Bader analysis: Henkelman et al., Computational Materials Science 36, 354–360 (2006)
  • r2SCAN functional: Furness et al., J. Phys. Chem. Lett. 11, 8208–8215 (2020)
  • pyrho: Shen, J.-X. et al. (2022). Sci Data, 9(661), 1–7. doi: 10.1038/s41597-022-01746-z