inelgnu commited on
Commit
f0ddda6
1 Parent(s): 6b64604

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +121 -0
README.md CHANGED
@@ -257,4 +257,125 @@ configs:
257
  data_files:
258
  - split: train
259
  path: non_compatible/train-*
 
 
 
 
 
 
260
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  data_files:
258
  - split: train
259
  path: non_compatible/train-*
260
+ license: apache-2.0
261
+ tags:
262
+ - chemistry
263
+ size_categories:
264
+ - 1M<n<10M
265
+ pretty_name: LeMatBulk
266
  ---
267
+
268
+
269
+ ## Dataset Description
270
+
271
+ - **Homepage:** https://www.lematerial.org/
272
+ - **Repository:** https://github.com/lematerial/lematerial
273
+ - **Point of Contact:** contact@lematerial.org
274
+
275
+
276
+ **Motivation**: check out the blog post [link] to hear more about the motivation behind the creation of this dataset.
277
+
278
+ ## Download and use within Python
279
+ ```python
280
+ from datasets import load_dataset
281
+
282
+ dataset = load_dataset('LeMaterial/LeMat-Bulk', compatible_pbe')
283
+
284
+ # convert to Pandas, if you prefer working with this type of object:
285
+ df = dataset['compatible_pbe'].to_pandas()
286
+ ```
287
+
288
+ ## Data fields
289
+
290
+ | **Feature name** | **Data type** | **Description** | **Optimade required field** |
291
+ | --- | --- | --- | --- |
292
+ | **elements** | Sequence[String] | A list of elements in the structure. For example a structure with composition Li2O7 will have `[”Li”,”O”]` in its elements. Notes: Currently not necessarily sorted but future iteration will be sorted by alphabetic order. | ✅ |
293
+ | **nsites** | Integer | The total number of sites in the structure. For example a structure with an un-reduced composition of Li4O2 will have a total of `6` sites. | ✅ |
294
+ | **chemical_formula_anonymous** | String | Anonymous formula for a chemical structure, sorted by largest contributing species, and reduced by greatest common divisor. For example a structure with a O2Li4 un-reduced composition will have a anonymous formula of `A2B`. “1”’s at the end of an element composition are dropped (ie not A2B1) | ✅ |
295
+ | **chemical_formula_reduced** | String | Reduced by the greatest common divisor chemical composition. For example a structure with a un-reduced composition of O2Li4 will have a reduced composition of `Li2O`. Elements with a reduced composition of 1 have the “1” dropped. Elements are sorted by alphabetic ordering. Notes: Not using the same method of Pymatgen’s composition reduction method which takes into account certain elements existing in diatomic states. | ✅ |
296
+ | **chemical_formula_descriptive** | String | A more descriptive chemical formula for the structure, for example a fictive structure of a 6-fold hydrated Na ion might have a descriptive chemical formula of Na(H2O)6, or a Titanium chloride organic dimer might have a descriptive formula of [(C5H5)2TiCl]2. Note: this field is absolutely not standardized across the database. Where possible if available we scrapped as is from the respective databases. Where not possible this may be the same as the chemical formula reduced. | ✅ Note: not standardized in naming approach. |
297
+ | **nelements** | Integer | Total number of different elements in a structure. For example Li4O2 has only `2` separate elements. | ✅ |
298
+ | **dimension_types** | Sequence[Integer], shape = 3x1 | Periodic boundary conditions for a given structure. Because all of our materials are bulk materials for this database it is `[1, 1, 1]`, meaning it is periodic in x, y, and z dimensions. | ✅ |
299
+ | **nperiodic_dimensions** | Integer | The number of repeating periodic boundary conditions, because all our structures in this database are bulk structures, they are repeating in x, y, and z dimensions and thus they have `3` periodic dimensions. | ✅ |
300
+ | **lattice_vectors** | Sequence[Sequence[Floats]], shape = 3x3 | The matrix of the structures. For example a cubic system with a lattice a=4.5 will have a `[[4.5,0,0],[0,4.5,0],[0,0,4.5]]` lattice vector entry. | ✅ |
301
+ | **immutable_id** | String | The material ID associated with the structure from the respective database. Note: OQMD IDs are simply integers, thus we converted them to be “oqmd-YYY” | ✅ |
302
+ | **cartesian_site_positions** | Sequence[Sequence[Floats]], shape = Nx3 | In cartesian units (not fractional units) the coordinates of the species. These match the ordering of all site based properties such as `species_at_sites`, `magneitc_moments` and `forces`. For example a material with a single element placed at a fractional coordinate of [0.5, 0.5, 0.5] with a cubic lattice with a=2, will have a cartesian_site_positions of `[1, 1, 1]`. | ✅ |
303
+ | **species** | JSON | An optimade field that includes information about the species themselves, such as their mass, their name, their labels, etc. Note: we have not currently filled out the mass portion of the species. Additionally, none of our inputted structures should be solid solution thus the on-site concentration for all our species should be [1]. This is an Optimade field. | ✅ |
304
+ | **species_at_sites** | Sequence[String] | An array of the chemical elements belonging to each site, for example a structure with an un-reduced composition of Li2O2 may have an entry of `[”Li”, “Li”, “O”, “O”]` for this field, where each species should match the other site based properties such as `cartesian_site_positions`. | ✅ |
305
+ | **last_modified** | Date/time | The date that the entry was last modified from the respective database it was pulled from. Note: we could not find this information in OQMD so we used the date of the latest database release as the input for this field. | ✅ |
306
+ | **elements_ratios** | Dictionary | The fractional composition for a given structure in dictionary format. For example a structure with an unreduced composition of Li2O4 would have an entry of `{’Li’:0.3333, ‘O’:0.6667}` | ✅ |
307
+ | **stress_tensor** | Sequence[Sequence[Float]], shape = 3x3 | The full 3x3 vector for stress tensor in units of kB. Note: for OQMD stress tensor were given in Voigt notation, and were converted to the full tensor. | |
308
+ | **energy** | Float | The uncorrected energy from VASP in eV. | |
309
+ | **magnetic_moments** | Sequence[Floats] | The magnetic moment per site given in µB. | |
310
+ | **forces** | Sequence[Sequence[Floats]], shape = 3xN | The force per site, in the proper order of the sites based on other site specific fields for each site in the x, y and z directions, given in eV/A. | |
311
+ | **total_magnetization** | Float | The total magnetization of the structure in µB. Note: the sum of the magnetic moments is not always the total magnetization of the structure reported. | |
312
+ | **functional** | String, either ‘pbe’, ‘pbesol’ or ‘scan’ | What functional was used to calculate the data point in the row. | |
313
+ | **cross_compatibility** | Boolean | Whether or not this data can be mixed with other rows from a DFT calculation parameter perspective. More information on our approach below. | |
314
+
315
+
316
+ ## Available splits
317
+
318
+ To better support the diverse communities that may utilize this dataset, we are providing the following splits of our database:
319
+
320
+ - **Compatible, PBE (default)**: This split includes rows filtered to ensure cross-compatibility from a DFT perspective. For details on the filtering methodology, see the section below. Only PBE records are included. We designate this as the default split to prevent accidental training of models on non-compatible data.
321
+ - **Compatible, PBESol**: Similar to the Compatible, PBE split, but includes only PBESol data.
322
+ - **Compatible, SCAN**: Similar to the Compatible, PBE split, but includes only SCAN data.
323
+ - **All**: This split includes all records formatted as described above. **Disclaimer**: Researchers must carefully evaluate the suitability of individual rows for their specific applications.
324
+
325
+
326
+ ## Method for compatibility compliance
327
+
328
+ To ensure compatibility of rows from a DFT perspective, we implemented the following compatibility scheme:
329
+
330
+ - **Pseudopotentials**: Calculations were verified to use consistent pseudopotentials. Notably, most pseudopotentials were aligned between MP and Alexandria, except for vanadium (where Alexandria used V_sv and MP used V_pv) and cesium (where Alexandria used a later version of the generic pseudopotential). For OQMD, this resulted in incompatibilities across records involving the following elements: `Ca, Ti, V, Cr, Mn, Ru, Rh, Ce, Eu, Yb`. We note that at the time of this release Materials Project deprecated all Yb containing materials due to the use of a pseudopotential that led to different than expected results. Thus no Yb containing materials from MP are in our database.
331
+ - **Hubbard U Parameters**: To ensure uniformity in Hubbard U parameters, we excluded records containing oxygen (O) and any of the following elements: `V, Cr, Mn, Fe, Ni, Cu, Th, U, Np, Pu, Mo, W`. Similarly, records containing fluorine (F) and any of the following elements: Co, Cr, Fe, Mn, Mo, Ni, V, W were also excluded. This exclusion applied specifically to OQMD, which used different Hubbard U parameters compared to MP and Alexandria. However, records from OQMD containing `O` and `Co` were retained, as their Hubbard U parameter differed by only 0.02 eV.
332
+ - **Spin Polarization**: OQMD only considered spin-polarized calculations for structures with d or f electrons. While non-spin-polarized calculations are not inherently incompatible (as they represent higher-energy magnetic phases compared to the ground state), we decided to exclude non-spin-polarized calculations for this release. This led to the removal of structures containing only the following elements: `H, Li, Be, Na, Mg, K, Ca, Rb, Sr, Cs, Ba, Fr, Ra, B, C, N, O, F, Ne, He, Al, Si, P, S, Cl, Ar, Ga, Ge, As, Se, Br, Kr, In, Sn, Sb, Te, I, Xe, Tl, Pb, Bi, Po, At, Rn` from OQMD.
333
+ - **Convergence Criteria**: OQMD typically used a larger plane-wave cutoff but a less dense k-point grid. Despite these differences, we did not exclude records based on these parameters, assuming that OQMD, Alexandria, and MP operated within acceptable convergence zones for energy calculations. A similar approach was applied to other VASP parameters, though we welcome feedback on this assumption.
334
+ - **Convergence**: Across all databases, we identified numerous records with potentially non-convergent calculations or high-energy configurations, often evidenced by significant atomistic forces. We chose not to exclude these records, as users can filter them easily using the “forces” tag if needed.
335
+ - **Energy Above the Hull**: We opted not to filter materials with high energy above the hull, given the current scope of the dataset.
336
+
337
+ The “all” split does not contain any filtering based on this approach, so all records can be downloaded.
338
+
339
+ ## De-duplication method and our materials fingerprint
340
+
341
+ For our methods for finding duplicates across databases we creating a hasher function which works the following way:
342
+
343
+ - We compute bonds using the EconNN algorithm already built in Pymatgen
344
+ - We create a structure graph from this, encoding the species in the node
345
+ - We hash this graph using Weisfeller-Lehman algorithm
346
+ - We add symmetry and composition
347
+
348
+ Any structure which has a duplicate based on this method is dropped, only keeping the lowest energy structure. We benchmarked this to be robust to small gaussian noise on atomic positions, lattice vectors, and to respect detected symmetries in a structure. In searching for this method we tried to select one of the more sensitive bonding algorithms that would leave to the least amount of duplicates. We plan on releasing more information on this, as well as code to properly benchmark other fingerprint methods soon.
349
+
350
+ ## Check out these helpful spaces to understand the database
351
+
352
+ | **Phase Diagram** | **Materials Explorer** |
353
+ | --- | --- |
354
+ | https://huggingface.co/spaces/LeMaterial/phase_diagram | https://huggingface.co/spaces/LeMaterial/materials_explorer |
355
+ | **Disclaimer**: the phase diagram uses energy correction scrapped from Materials Project and Alexandria. We found that some Alexandria corrections did not match the latest version of the MP2020 compatibility scheme. OQMD did not have any correction scheme applied. We use the MP2020 compatibility scheme to calculate a correction term for OQMD, but currently this phase diagram uses slightly mixed correction scheme between MP, Alexandria and OQMD. This will be corrected very soon in a future release. For now, we urge the community to take the results from certain systems in the phase diagram with extra caution. | |
356
+
357
+ ## Stay tuned for future updates
358
+
359
+ We plan to release very soon:
360
+
361
+ - Band gap information on all materials, including direct and indirect band gaps.
362
+ - Unification of energy corrections (currently a beta version of this is available for the purpose of the phase diagram application, but please see the disclaimer above).
363
+ - Bader charges for all Materials Project materials where possible and the addition of charge data from Alexandria and OQMD
364
+ - R2SCAN data from Materials Project
365
+
366
+ In the longer run we plan to release additional datasets including trajectories and surface, adsorbates, and molecules.
367
+
368
+ And more! Stay tuned.
369
+
370
+ ## **Support**
371
+
372
+ If you run into any issues regarding feel free to post your questions or comments on any of the following platforms:
373
+
374
+ - [**HF Discussions**](https://huggingface.co/datasets/LeMaterial/LeMat-Bulk/discussions)
375
+ - [**Github Issues**](https://github.com/LeMaterial/lematerial/issues)
376
+
377
+ ## License
378
+
379
+ This database is licensed by [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0).
380
+
381
+ Disclaimer: it is made up of Alexandria materials which are licensed by [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), Materials Project with [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/) and OQMD also with a [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/).