Hugging Face model card for macwiatrak/bacformer-masked-MAG
Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b · Project source
What this source contributed
Records in this release that cite this source. A record can cite several sources.
Claims
Statements this source supports, each with where in the source it was checked.
- Apache-2.0 covers the Bacformer code and checkpoints: Licence Apache License 2.0 for the code and models in the Bacformer repository (Preprint 'Code and data availability': 'publicly available at https://github.com/macwiatrak/Bacformer under a permissive Apache 2.0 license'; LICENSE file at the pinned commit; model card front matter 'license: apache-2.0')
- Bacformer base parameter count printed on the model cards: Parameter count 27M (Hugging Face model card for macwiatrak/bacformer-masked-MAG: 'a 27M-parameter base transformer model')
- Bacformer context limits in proteins and amino acids: Context limits At most 6,000 proteins per genome, which the authors state covers more than 98% of the genomes in the training corpus, and at most 1,024 amino acids per protein (Hugging Face model card for macwiatrak/bacformer-masked-MAG, 'Preprocessing' and 'Pretraining details'; preprint Table S10 footnote)
- Bacformer pretraining corpus: Training data A MAG corpus of more than 1.3 million metagenome-assembled genomes, 3 billion proteins and 225 million contigs, collected across about 25,000 species and 70 environments from MGnify and SPIRE (Preprint Figure 1 legend, panel A; Methods 'Data'; model card 'Training Data')
- Bacformer pretraining objective and protein-family vocabulary: Pretraining objective Predict the protein family of masked proteins, or the next protein family, from the other proteins in the genome, over a vocabulary of 50,000 protein-family clusters obtained by unsupervised clustering of protein embeddings; 15% of proteins are masked, of which 87.5% are replaced by the mask token and 12.5% are left unchanged (Hugging Face model card for macwiatrak/bacformer-masked-MAG, 'Pretraining' and 'Pretraining classification head')
- Base protein language model of Bacformer: Base protein language model ESM-2 t12 35M (facebook/esm2_t12_35M_UR50D), whose 480-dimensional mean-pooled per-protein embeddings are the input tokens (Bacformer README 'Requirements'; model card 'Architecture'; preprint Table S9 and Methods 'Bacformer')
- What Bacformer takes as input and returns: Inputs and outputs Inputs are the protein sequences encoded by a genome, embedded one by one with a base protein language model and ordered by their coordinates on the chromosome and plasmids; outputs are contextual protein embeddings, a mean-pooled genome embedding, and protein-family predictions from the pretraining head (Bacformer README opening paragraph and 'Usage'; model card 'Architecture'; preprint Methods 'Bacformer')
Models, benchmarks and other records
Models (2)
Evidence
Source checking verifies the cited claim or transcription. It does not establish independent reproduction.
Evidence table
Inspect claims, sources and review details
Trace each statement to its source and review. A context-only reference supports the record generally; it does not verify an individual field. Source checking does not reproduce an experiment.
One row per statement and cited source. Multiple citations are not independent evaluations. Shared locators are labelled explicitly.
27 evidence rows matching the loaded filters
| Property and statement | Original source and location | Review and provenance |
|---|---|---|
| Access note The repository metadata served alongside the card gives a safetensors parameter total of 50,852,241 for this checkpoint. That total is served by the API rather than printed in the card, and no record in this batch rests on it. Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Artifact SHA-256 d735d1b2c8caa57a9f6abf990a457b2aa084f626070e555d6c01ca4a46b6bf7c Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Artifact url https://huggingface.co/macwiatrak/bacformer-masked-MAG/raw/340a08cf5d5cd7d9f1ffac9075cde733d108a82b/README.md Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
Limitations1 values
| Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Media type text/markdown Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Publication status official_project_source Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Retrieved at 2026-11-15T23:09:36Z Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Review: artifact sha256 d735d1b2c8caa57a9f6abf990a457b2aa084f626070e555d6c01ca4a46b6bf7c Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
| Review: method note Independent review pass. Each source artifact was retrieved again at review time and its SHA-256 compared with the source record; the quoted statement was then read at the recorded locator and compared with the recorded value. Access states were rechecked rather than taken from notes.md. Source metadata | Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
Review method3 values
| Hugging Face model card for macwiatrak/bacformer-masked-MAG No field-specific location recorded Version: Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b | catalogued No individual claim review recorded Audit detailsField: Source artifact SHA-256: Hash scope: Hash scope not separately documented; inspect source record |
Sources and history
Release 2026-11-21-c8bea25e5abb · Record review: source checked
The Hugging Face model card of the bacformer-masked-MAG checkpoint, which states its size, training corpus, base protein language model and licence.
Technical metadata and extraction receipts
Stable ID: bacformer-20261115-source-hf-card-bacformer-masked-mag
- areas
- microbes-communities
- contexts
- research
- access note
- The repository metadata served alongside the card gives a safetensors parameter total of 50,852,241 for this checkpoint. That total is served by the API rather than printed in the card, and no record in this batch rests on it.
- artifact sha256
- d735d1b2c8caa57a9f6abf990a457b2aa084f626070e555d6c01ca4a46b6bf7c
- artifact url
- https://huggingface.co/macwiatrak/bacformer-masked-MAG/raw/340a08cf5d5cd7d9f1ffac9075cde733d108a82b/README.md
- limitations
- Mutable repository file; pinned here to one revision.
- media type
- text/markdown
- publication status
- official_project_source
- retrieved at
- 2026-11-15T23:09:36Z
- review
- artifact sha256: d735d1b2c8caa57a9f6abf990a457b2aa084f626070e555d6c01ca4a46b6bf7c; method: transcription; source-hash-verification; ai-assisted-source-review; method note: Independent review pass. Each source artifact was retrieved again at review time and its SHA-256 compared with the source record; the quoted statement was then read at the recorded locator and compared with the recorded value. Access states were rechecked rather than taken from notes.md.; note: Statement re-read against the pinned artifact by a reviewer who did not extract this batch. Every artifact except the two preprint PDFs was downloaded again at review time and hashed to exactly the value its source record records, and is byte-identical to the copy kept in artifacts/.; retrieval url: https://huggingface.co/macwiatrak/bacformer-masked-MAG/raw/340a08cf5d5cd7d9f1ffac9075cde733d108a82b/README.md; reviewed at: 2026-11-15T23:55:00Z; reviewer: claude; reviewer note: Claude (Opus 5) review agent, independent of the agent that extracted this batch; no human review claimed. Transcription was checked against the pinned sources. Nothing was reproduced and no value was recomputed.
- source locator
- YAML front matter and the body of the card
- url
- https://huggingface.co/macwiatrak/bacformer-masked-MAG
- version
- Repository revision 340a08cf5d5cd7d9f1ffac9075cde733d108a82b
Related records
- companion of: Bacformer preprint, bioRxiv 2025.07.20.665723 version 3