---
title: "LeMaterial: an open source initiative to accelerate materials discovery and research"
description: "LeMat-Bulk unifies Materials Project, Alexandria and OQMD into a single Optimade-formatted dataset of 6.7M entries with 7 properties across PBE, PBESol and SCAN functionals, with subsets for calculation-compatible mixing and de-duplicated materials."
url: "https://swe.quest/articles/lematerial-an-open-source-initiative-to-accelerate-materials-discovery-and-2df2183afcbbdac0"
canonical: "https://huggingface.co/blog/lematerial"
source: "Hugging Face"
published: "2024-12-10"
difficulty: "hard"
kind: "Announcement"
reading_minutes: 10
tags: ["scientific-computing","machine-learning","data-pipelines","algorithms","open-source"]
---

# LeMaterial: an open source initiative to accelerate materials discovery and research

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-12-10, 10 min read, Announcement. Original: [https://huggingface.co/blog/lematerial](https://huggingface.co/blog/lematerial)

## Summary

LeMat-Bulk unifies Materials Project, Alexandria and OQMD into a single Optimade-formatted dataset of 6.7M entries with 7 properties across PBE, PBESol and SCAN functionals, with subsets for calculation-compatible mixing and de-duplicated materials. A material fingerprint built from a bonding graph (e.g. EconNN), hashed with Weisfeiler-Lehman and combined with composition and space group, enables fast novelty and duplicate detection. Deduplicating Carbon-24 took 100 seconds with the hash versus 17 hours with Pymatgen's StructureMatcher, and the hash caught equivalent structures StructureMatcher missed, though it does not yet handle disordered structures.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Scientific computing](https://swe.quest/tags/scientific-computing.md) (Domains)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Algorithms](https://swe.quest/tags/algorithms.md) (Architecture & design)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- density functional theory basics
- crystal structures
- ML for materials science ([easy posts on Machine learning](https://swe.quest/tags/machine-learning.md?difficulty=easy))

## Keywords

LeMaterial, LeMat-Bulk, Materials Project, OQMD, Alexandria, Optimade, Pymatgen, Weisfeiler-Lehman

## Related posts

- [Large-scale Near-deduplication Behind BigCode](https://swe.quest/articles/large-scale-near-deduplication-behind-bigcode-db7192844c316bd2.md): Hugging Face · 2023-05-16 · Medium · 18 min read · Data pipelines, Model training, Algorithms, LLMs
  BigCode deduplicates massive code and text corpora for LLM training with MinHash plus locality-sensitive hashing: word n-gram shingles, permuted-hash fingerprints, banding into LSH buckets, then clustering candidate pairs into connected components.
- [Finding leaked passwords with AI: How we built Copilot secret scanning](https://swe.quest/articles/finding-leaked-passwords-with-ai-how-we-built-copilot-secret-scanning-26ede51a550b66b2.md): GitHub Engineering · 2025-03-04 · Medium · 8 min read · LLMs, Evaluation, Security, Capacity planning
  GitHub replaced regex-based detection of generic passwords with an LLM prompt that judges candidate secrets from their file context.
- [Introducing the Data Measurements Tool: an Interactive Tool for Looking at Datasets](https://swe.quest/articles/introducing-the-data-measurements-tool-an-interactive-tool-for-looking-at-28723606ed6df7ae.md): Hugging Face · 2021-11-29 · Easy · 7 min read · Machine learning, Model training, Python, Open source
  Hugging Face's Data Measurements Tool is an open-source Python library and no-code Streamlit interface for measuring, exploring and comparing NLP datasets on the Hub.
- [Space efficient machine learning feature stores using probabilistic data structures - a benchmark](https://swe.quest/articles/space-efficient-machine-learning-feature-stores-using-probabilistic-data-be147985e009951b.md): Zalando Engineering · 2021-10-04 · Medium · 9 min read · ML platforms, Data structures, Recommendations & ranking, Machine learning
  A Bloom-filter-backed in-process feature store matched a conventional key-value feature store's click-prediction accuracy (AUC ≈0.7997 vs ≈0.80) using about 3% of the memory (470MB vs 15GB).
- [Project Lighthouse — Part 3: Introducing project-lighthouse-anonymize](https://swe.quest/articles/project-lighthouse-part-3-introducing-project-lighthouse-anonymize-df592a142a535f24.md): Airbnb Engineering · 2026-08-25 · Easy · 4 min read · Privacy, Python, Open source, Algorithms
  Airbnb has open-sourced project-lighthouse-anonymize, the Python library behind Project Lighthouse's anonymization of perceived race data, alongside two new arXiv papers.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
