Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 10 min read Announcement hardMaster

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

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.

Assumes: density functional theory basicscrystal structuresML for materials science

Related posts

  • Large-scale Near-deduplication Behind BigCode

    Hugging Face mediumAdept

    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. Experiments on The Stack showed that treating all LSH candidate pairs as duplicates, without verifying exact Jaccard similarity, gave the best downstream model performance and saved time. For clustering, a union-find structure works for medium datasets. At larger scale the pipeline moves to Spark, using distributed groupBy and a connected-components algorithm, while keeping a Datasketch-compatible hashing implementation. Parameter tables compare deduplication setups across datasets such as C4, ROOTS, CodeParrot and The Stack.

  • Finding leaked passwords with AI: How we built Copilot secret scanning

    GitHub Engineering mediumAdept

    GitHub replaced regex-based detection of generic passwords with an LLM prompt that judges candidate secrets from their file context. The first GPT-3.5-Turbo few-shot prompt broke on unusual file types in customer repos. GitHub responded by expanding offline evals with customer reports and GPT-4-generated cases, adding GPT-4 as a confirming scanner, and adopting Microsoft's MetaReflection hybrid chain-of-thought/few-shot prompt. To scale full-history scans, they excluded low-value files and built a workload-aware rate limiter in which workloads borrow unused LLM capacity from each other. Mirror testing on preview repos showed up to a 94% drop in false positives with little recall loss.

  • Introducing the Data Measurements Tool: an Interactive Tool for Looking at Datasets

    Hugging Face easyNovice

    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. It reports dataset basics (missing values), descriptive statistics (vocabulary, label balance, instance lengths, duplicates), and fit to Zipf's law. As a rule of thumb, an alpha above 2 or a minimum rank above 10 suggests unnatural text such as leftover HTML. It also shows hierarchical clusters built from Sentence-Transformer embeddings and nPMI between identity terms to surface stereotypes. The alpha version covers a handful of English datasets like SQuAD, IMDb and C4, with support for user datasets and custom nPMI terms planned.

  • Space efficient machine learning feature stores using probabilistic data structures - a benchmark

    Zalando Engineering mediumAdept

    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). It kept 90% of the history uplift at roughly 40MB, with no measurable throughput cost. Features are stored as composite user^value keys and reconstructed by probing every possible value, so false positives inject tunable noise in exchange for space. The approach suits cases where an extra network call or many lookups per request are too expensive. It is not a drop-in replacement, though: you must know the full feature domain, high-volume real-time updates must hit every node, and deletions or expiry require rebuilding the filter from scratch.

  • Project Lighthouse — Part 3: Introducing project-lighthouse-anonymize

    Airbnb Engineering easyNovice

    Airbnb has open-sourced project-lighthouse-anonymize, the Python library behind Project Lighthouse's anonymization of perceived race data, alongside two new arXiv papers. Core Mondrian extends the classic Mondrian k-anonymity algorithm with a Strategy Pattern architecture, a hybrid recursive-queue parallel execution model, NaN-pattern pre-partitioning and dynamic suppression budgets. The data quality paper defines three metrics (Pearson correlation, RILM and NMIv1) and validates their thresholds by framing quality assessment as a classification problem on synthetic data. The library exposes k_anonymize, p_sensitize and threshold checks, and the default thresholds are offered as starting points for similar systems.

The quest for software engineering knowledge.

Look:
Layout: