Asteri2themoon commited on
Commit
ded46f1
·
verified ·
1 Parent(s): a60f0f5

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +98 -0
README.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: QMOF
4
+ tags:
5
+ - chemistry
6
+ - materials-science
7
+ - metal-organic-frameworks
8
+ ---
9
+
10
+ # QMOF
11
+
12
+ The QMOF Database (Rosen et al., 2021 and 2022), version 18: metal-organic frameworks and
13
+ coordination polymers relaxed with PBE-D3(BJ). It is the database of the
14
+ [MOF Explorer](https://materialsproject.org/mofs) of the Materials Project.
15
+
16
+ | | |
17
+ |---|---|
18
+ | Structures | 20,372 |
19
+ | Atoms | 2,312,743, 17 to 500 per structure (114 on average, median 96) |
20
+ | Elements | 79, from H to Pu |
21
+ | With a band gap at HLE17 / HSE06* / HSE06 | 10,756 / 10,811 / 10,810 |
22
+
23
+ ## Labels
24
+
25
+ | Field | Source | Unit |
26
+ |---|---|---|
27
+ | `total_energy` | `outputs.pbe.energy_total` | eV, of the cell |
28
+ | `band_gap` | `outputs.pbe.bandgap` | eV |
29
+
30
+ `formation_energy_per_atom` and `energy_above_hull` are `NaN`.
31
+
32
+ | `properties[...]` | Source | Unit |
33
+ |---|---|---|
34
+ | `band_gap_hle17`, `band_gap_hse06_10hf`, `band_gap_hse06` | `outputs.<theory>.bandgap` | eV, `NaN` when not computed |
35
+ | `energy_vdw` | `outputs.pbe.energy_vdw`, the D3(BJ) part of the energy | eV |
36
+ | `net_magmom` | `outputs.pbe.net_magmom` | μB |
37
+ | `pld`, `lcd` | pore-limiting and largest cavity diameters (Zeo++) | Å |
38
+ | `density` | `info.density` | g/cm³ |
39
+ | `synthesized` | 1 if the structure comes from an experimental database | 0 or 1 |
40
+
41
+ ## Things to know
42
+
43
+ - **Not on the scale of the crystal datasets.** `total_energy` is a raw PBE-D3(BJ) energy with
44
+ the settings of QMOF. It cannot be compared with the energies of the Materials Project or of
45
+ LeMat-Bulk, and there is no convex hull.
46
+ - **Large cells.** One structure in ten has more than 200 atoms. The radius graph lists the
47
+ pairs of atoms of each structure: use smaller batches than for MP-20.
48
+ - **Experimental and hypothetical.** `synthesized` is 0 for the hypothetical structures (from
49
+ ToBaCCo, Boyd & Woo, and others).
50
+ - **Identifiers** are not in the file. `all_index.parquet` gives for each row its `qmof_id`,
51
+ its name in the source database, its formula, its DOI and its MOFid.
52
+ - The partial charges, bond orders and magnetic moments per atom of the source are not in
53
+ the file.
54
+ - No structure with partial occupancy was found in the database.
55
+ - **Licence**: CC BY 4.0. Cite the two papers of the database.
56
+
57
+ ## Format
58
+
59
+ HDF5 files of flat concatenated arrays, the format of the other datasets of
60
+ [materials-toolkits](https://huggingface.co/materials-toolkits):
61
+
62
+ | Dataset | Shape | Type | Content |
63
+ |---|---|---|---|
64
+ | `lattice` | (n_struct, 3, 3) | float32 | lattice vectors as rows, in Å; the identity for a molecule |
65
+ | `num_atoms` | (n_struct,) | int64 | number of atoms of each structure |
66
+ | `ptr` | (n_struct,) | int64 | index of the first atom of each structure in `x` and `z` |
67
+ | `x` | (n_atoms, 3) | float32 | fractional coordinates; positions in Å for a molecule |
68
+ | `z` | (n_atoms,) | int64 | atomic numbers |
69
+ | `pbc` | (n_struct, 3) | bool | whether the structure is periodic along each lattice vector |
70
+ | `total_energy`, `formation_energy_per_atom`, `energy_above_hull`, `band_gap` | (n_struct,) | float32 | labels, NaN when unknown |
71
+ | `properties/<name>` | (n_struct,) | float32 | the properties listed above, NaN when unknown |
72
+
73
+ The position of an atom in Å is `x @ lattice`. The lattice of a crystal is rebuilt from the
74
+ lengths and the angles of its cell, in the standard orientation (first vector along x), and
75
+ its fractional coordinates are wrapped into the cell. The `batch` array is an artefact of the
76
+ writer and is not used when reading. Row *i* of an index file describes structure *i*.
77
+
78
+ ## Usage
79
+
80
+ ```python
81
+ from torchms.data import HDF5Dataset
82
+
83
+ dataset = HDF5Dataset.from_hub("materials-toolkits/qmof", "all.hdf5")
84
+ structures = dataset[:32] # batched Structures
85
+ structures.properties # the named properties, one value per structure
86
+ ```
87
+
88
+ Built with [torchms](https://gitlab.univ-artois.fr/astrid.klipfel/torch-ms).
89
+
90
+ ## Source and checks
91
+
92
+ - [QMOF Database](https://doi.org/10.6084/m9.figshare.13147324.v18), figshare, version 18:
93
+ `qmof.json` and `qmof_structure_data.json` of `qmof_database.zip`, checked with its MD5.
94
+ - Built by `scripts/build_qmof.py`. Every structure was compared with the database, read by
95
+ pymatgen: number of atoms, elements, coordinates, lattice, total energy, the four band gaps
96
+ and the largest cavity diameter.
97
+ - Repository: [materials-toolkits/qmof](https://huggingface.co/datasets/materials-toolkits/qmof),
98
+ file `all.hdf5`.