Datasets:
Add dataset card with full column descriptions and usage
Browse files
README.md
CHANGED
|
@@ -1,64 +1,112 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
tags:
|
| 4 |
+
- materials-science
|
| 5 |
+
- dft
|
| 6 |
+
- charge-density
|
| 7 |
+
- r2scan
|
| 8 |
+
- bader
|
| 9 |
+
- crystal-structure
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# LeMat-Rho
|
| 13 |
+
|
| 14 |
+
**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](https://huggingface.co/LeMaterial) ecosystem.
|
| 15 |
+
|
| 16 |
+
## Dataset Summary
|
| 17 |
+
|
| 18 |
+
| Property | Value |
|
| 19 |
+
|---|---|
|
| 20 |
+
| Materials | 69,117 |
|
| 21 |
+
| Functional | r2SCAN |
|
| 22 |
+
| Sources | AFLOW (agm), OQMD (oqmd-), Materials Project (mp-) |
|
| 23 |
+
| Bader charge coverage | 86.2% (59,613 materials) |
|
| 24 |
+
| Charge density grid | 15×15×15 (lossy compressed via pyrho) |
|
| 25 |
+
| DDEC6 charges | Planned for future release |
|
| 26 |
+
|
| 27 |
+
## Sources
|
| 28 |
+
|
| 29 |
+
| Source | Materials |
|
| 30 |
+
|---|---|
|
| 31 |
+
| AFLOW (`agm*`) | 38,925 |
|
| 32 |
+
| OQMD (`oqmd-*`) | 29,611 |
|
| 33 |
+
| Materials Project (`mp-*`) | 581 |
|
| 34 |
+
|
| 35 |
+
## Workflow
|
| 36 |
+
|
| 37 |
+
Each material was computed with a 4-step VASP pipeline:
|
| 38 |
+
|
| 39 |
+
1. **PreStaticMaker** — initial single-point on unrelaxed geometry
|
| 40 |
+
2. **RelaxMaker_1** — geometry relaxation (r2SCAN)
|
| 41 |
+
3. **RelaxMaker_2** — second relaxation pass (r2SCAN)
|
| 42 |
+
4. **StaticMaker** — final NSW=0 single-point; source of all reported properties
|
| 43 |
+
|
| 44 |
+
Forces, stresses, and energies are from the final static calculation. Charge densities (CHGCAR, AECCAR0, AECCAR1, AECCAR2) are from the StaticMaker output.
|
| 45 |
+
|
| 46 |
+
Bader charges were computed using the [Bader charge analysis code](http://theory.cm.utexas.edu/henkelman/code/bader/) (Henkelman group) with AECCAR0+AECCAR2 as the reference charge density.
|
| 47 |
+
|
| 48 |
+
## Columns
|
| 49 |
+
|
| 50 |
+
| Column | Type | Unit | Description |
|
| 51 |
+
|---|---|---|---|
|
| 52 |
+
| `immutable_id` | string | — | Unique material identifier (e.g. `agm001234567`) |
|
| 53 |
+
| `elements` | list[string] | — | Element symbols present |
|
| 54 |
+
| `nelements` | int | — | Number of distinct elements |
|
| 55 |
+
| `nsites` | int | — | Number of atoms in the unit cell |
|
| 56 |
+
| `chemical_formula_reduced` | string | — | Reduced formula (e.g. `Fe2O3`) |
|
| 57 |
+
| `chemical_formula_anonymous` | string | — | Anonymous formula (e.g. `A2B3`) |
|
| 58 |
+
| `chemical_formula_descriptive` | string | — | Full descriptive formula |
|
| 59 |
+
| `lattice_vectors` | list[list[float]] | Å | 3×3 lattice matrix |
|
| 60 |
+
| `cartesian_site_positions` | list[list[float]] | Å | Atomic positions |
|
| 61 |
+
| `species_at_sites` | list[string] | — | Element at each site |
|
| 62 |
+
| `functional` | string | — | DFT functional (`r2scan`) |
|
| 63 |
+
| `energy` | float | eV | Total DFT energy (final static) |
|
| 64 |
+
| `energy_corrected` | float | eV | Energy with MP2020 corrections (equals `energy` for r2SCAN) |
|
| 65 |
+
| `forces` | list[list[float]] | eV/Å | Per-atom forces from final static |
|
| 66 |
+
| `stress_tensor` | list[list[float]] | kBar | 3×3 stress tensor from final static |
|
| 67 |
+
| `bader_charges` | list[float] | e | Bader net charges per atom (positive = cationic); null if AECCAR files absent |
|
| 68 |
+
| `bader_atomic_volume` | list[float] | ų | Bader atomic volumes per atom |
|
| 69 |
+
| `ddec6_charges` | list[float] | e | DDEC6 net charges per atom (null in current release; planned) |
|
| 70 |
+
| `compressed_charge_density` | string | — | Lossy-compressed CHGCAR (15×15×15 grid, JSON-encoded via pyrho) |
|
| 71 |
+
| `compressed_aeccar0` | string | — | Lossy-compressed AECCAR0 (core charge density) |
|
| 72 |
+
| `compressed_aeccar1` | string | — | Lossy-compressed AECCAR1 |
|
| 73 |
+
| `compressed_aeccar2` | string | — | Lossy-compressed AECCAR2 (valence charge density) |
|
| 74 |
+
| `charge_density_grid_shape` | list[int] | — | Grid dimensions [nx, ny, nz] |
|
| 75 |
+
| `space_group_it_number` | int | — | International Tables space group number |
|
| 76 |
+
| `bawl_fingerprint` | string | — | Structure fingerprint (BAWL hasher) |
|
| 77 |
+
| `magnetic_moments` | list[float] | μ_B | Per-atom magnetic moments (null if not spin-polarized) |
|
| 78 |
+
| `total_magnetization` | float | μ_B | Total cell magnetization |
|
| 79 |
+
| `cross_compatibility` | bool | — | Cross-compatibility flag with other LeMaterial datasets |
|
| 80 |
+
|
| 81 |
+
## Usage
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from datasets import load_dataset
|
| 85 |
+
|
| 86 |
+
ds = load_dataset("LeMaterial/LeMat-Rho", split="train")
|
| 87 |
+
|
| 88 |
+
# Filter to materials with Bader charges
|
| 89 |
+
with_bader = ds.filter(lambda x: x["bader_charges"] is not None)
|
| 90 |
+
print(f"Materials with Bader charges: {len(with_bader)}")
|
| 91 |
+
|
| 92 |
+
# Access a material
|
| 93 |
+
row = ds[0]
|
| 94 |
+
print(row["chemical_formula_reduced"], row["bader_charges"])
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
## Notes
|
| 98 |
+
|
| 99 |
+
- **Charge density compression**: The stored charge densities are lossy-compressed to a 15×15×15 grid using [pyrho](https://github.com/materialsproject/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.
|
| 100 |
+
- **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.
|
| 101 |
+
- **DDEC6 charges**: `ddec6_charges` is null in this release. A follow-up patch run is planned.
|
| 102 |
+
- **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.
|
| 103 |
+
|
| 104 |
+
## Citation
|
| 105 |
+
|
| 106 |
+
If you use this dataset, please cite the underlying databases:
|
| 107 |
+
|
| 108 |
+
- **AFLOW**: Curtarolo et al., *Computational Materials Science* 58, 218–226 (2012)
|
| 109 |
+
- **OQMD**: Saal et al., *JOM* 65, 1501–1509 (2013); Kirklin et al., *npj Computational Materials* 1, 15010 (2015)
|
| 110 |
+
- **Materials Project**: Jain et al., *APL Materials* 1, 011002 (2013)
|
| 111 |
+
- **Bader analysis**: Henkelman et al., *Computational Materials Science* 36, 354–360 (2006)
|
| 112 |
+
- **r2SCAN functional**: Furness et al., *J. Phys. Chem. Lett.* 11, 8208–8215 (2020)
|