# RFD4-Proteina Training Mixture and Benchmarks

## Facts

- Provider: NVIDIA
- License: cc-by-4.0
- Records: Training sampling indices, published rows vs rows that actually pass the published filter (from dataset-inventory.json): afdb_monomer 1,186,995 -> 914,831; pdb_interfaces 13,938,465 -> 8,431,727
- Format: NumPy (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/nvidia/RFD4-Proteina
- Access: public, readable without an account
- Category: Structural Biology
- Source: https://huggingface.co/datasets/nvidia/RFD4-Proteina
- Page: https://scigantic.com/archive/b1e86317-b918-5912-a8ee-0fcfa5637453
- Keywords: Structural Biology, protein structure, benchmark, Hugging Face

## About

The training mixture and held-out evaluation sets released with RFD4-Proteina, the RosettaCommons/NVIDIA biomolecular design model (Didi et al., 2026). Two halves that are used very differently. train_datasets/ is a 238 GB streaming corpus: five Parquet sampling indices (AFDB monomers, PDB interfaces, antibody and TCR immune interfaces, PDB-DNA interfaces) whose rows point into opaque .bin blob shards. The published rows are NOT pre-filtered: the manifest records a deposition-before-2024 and resolution-below-9A filter that the training sampler applies at runtime, and load_dataset does not apply it, so 14% of a pdb_interfaces sample is deposited inside the benchmark's own temporal window. benchmarks/ is small and directly usable: 640 annotated mmCIF reconstruction examples (128 each of protein-ligand, NCAA/PTM, glycan, DNA and RNA, all deposited on or after 2024-01-01) plus 160 nanobody cross-grafting cases. Structures were parsed from a frozen 2026-01-06 RCSB mirror with AtomWorks and TMol, with waters and hydrogens removed, selenomethionine converted to methionine, and missing side-chain atoms imputed by Dunbrack packing and flagged per atom.

## Load the data

```python
# Mounted read-only at /mnt/archive. Start in benchmarks/ — train_datasets/ is a 238 GB
# index-plus-blob store, not openable structures.
# pip install zstandard gemmi
import zstandard as zstd, gemmi, glob

p = sorted(glob.glob('/mnt/archive/benchmarks/ae_pdb_temporal_holdout_2026_10_04/protein_ligand/*.cif.zst'))
print(len(p), "protein-ligand holdout complexes")   # 128

# .cif.zst is Zstandard, not gzip.
cif = zstd.ZstdDecompressor().decompress(open(p[0], 'rb').read(), max_output_size=50_000_000).decode()
st = gemmi.read_structure_string(cif, format=gemmi.CoorFormat.Mmcif)
st.setup_entities()
print(st[0].count_atom_sites(), "atoms;", [ch.name for ch in st[0]])

# Non-polymer entities are the ligands and metal ions.
# gemmi.Residue has no .is_amino_acid(); go through find_tabulated_residue.
for ch in st[0]:
    for res in ch:
        info = gemmi.find_tabulated_residue(res.name)
        if info is None or not info.is_amino_acid():
            print("non-polymer:", ch.name, res.name, len(res))
```

Written for a Scigantic notebook, where /mnt/archive (SCIGANTIC_MOUNT_PATH) is the mounted dataset.

## Data structure

File types in sampled files: NumPy

| Field | Type |
| --- | --- |
| `pdb_id` | string — source RCSB entry. Present in the TRAINING parquet only; the benchmark CIFs do not carry it. |
| `example_id` | string — composite key, a Python repr not JSON: "{['pdb', 'interfaces']}{6hkt}{1}{['I_1', 'J_1']}" |
| `path` | string — logical blob name ("hk/6hkt/6hkt.cif"), two-char shard prefix; resolves inside blob/, not the filesystem |
| `altloc_seed` | int64 in pdb_interfaces, FLOAT64 in pdb_dna_interface, null when the entry had no real altlocs |
| `deposition_date` | string YYYY-MM-DD — the train/benchmark split axis (train < 2024-01-01, benchmark >= 2024-01-01) |
| `n_imputed` | int64 — count of atoms whose coordinates were filled in by TMol, not observed experimentally |
| `interface_cluster` | string pair, e.g. "(91d850433d7, 91d850433d7)" — cluster ids for leakage-aware splitting |
| `ig_type` | string 'antibody' \| 'tcr' — immune configs only; THE field that separates the two shared-file configs |
| `resolution / method` | float64 / string — experimental provenance, inherited from the deposition |
| `passes_* flags` | bool — inherited selection metadata (protein_ligand_quality, bond_filters, ligand_identity), NOT recertified |

Files:

```text
HuggingFace dataset nvidia/RFD4-Proteina, FUSE-mounted read-only at /mnt/archive. 238 GB / 4,251 objects in train_datasets/, and a small directly-usable benchmarks/ tree. Treat them as two different archives:

benchmarks/   (801 files, small, start here)
  ae_pdb_temporal_holdout_2026_10_04/{protein_ligand,ptm,glycan,dna,rna}/*.cif.zst
      640 autoencoder reconstruction examples, exactly 128 per modality. Annotated mmCIF, Zstandard level 3.
      All deposited ON OR AFTER 2024-01-01 — this is the temporal holdout. There is NO protein-only panel.
  nanobody/vhh_{original,cross}_<pdbid>_target__<VHH>_cdr123.cif.zst
      160 CDR-grafting cases: 40 target structures x 4 VHH frameworks (caplacizumab, ozoralizumab,
      vobarilizumab, h-NbBCII10). "original" = native pairing, "cross" = grafted onto a different target.

train_datasets/streaming-latest/   (4,251 objects, 238 GB, NOT directly loadable structures)
  <set>/sampling/*.parquet   a sampling INDEX: one row per training example, with a `path` column
                             (e.g. "hk/6hkt/6hkt.cif") that is a logical name, not a file on disk.
  <set>/blob/data/*.bin      the actual serialized structures, in opaque packed shards.
  dataset-inventory.json     (repo root) the authoritative manifest: per-set published_examples,
                             passing_filters, the exact filter expression, blob directory and caveats.
                             Read this BEFORE touching train_datasets/.
```

Example file: `/mnt/archive/benchmarks/ae_pdb_temporal_holdout_2026_10_04/protein_ligand/protein_ligand_0000.cif.zst  (~41 KB compressed, ~154 KB of annotated mmCIF; Cu/Zn superoxide dismutase its only non-polymer entity is a single CU ion)`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/b1e86317-b918-5912-a8ee-0fcfa5637453
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/b1e86317-b918-5912-a8ee-0fcfa5637453
- Over MCP: `get_schema_card` with id `b1e86317-b918-5912-a8ee-0fcfa5637453` at https://api.scigantic.com/mcp

## Related topics

- [Benchmark datasets](https://scigantic.com/topics/benchmark)
- [Structural Biology datasets](https://scigantic.com/topics/structural-biology)
- [Protein structure datasets](https://scigantic.com/topics/protein-structure)
