File size: 2,197 Bytes
208f788 d79b1c0 208f788 d79b1c0 208f788 d79b1c0 208f788 d79b1c0 208f788 d79b1c0 208f788 d79b1c0 208f788 d79b1c0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | ---
library_name: tedbench
license: bsd-3-clause
pipeline_tag: graph-ml
tags:
- protein
- structure
- fold-classification
- tedbench
---
# TEDBench — Pretrained autoencoder (structure only)
**Variant:** `miae_s` | **Parameters:** 29M | **Layers:** 6 | **Hidden dim:** 512 | **Attn heads:** 8
This repository contains a **pretrained MiAE** checkpoint. Use it as a feature extractor or as the starting point for fine-tuning on protein structure tasks.
MiAE (Masked Invariant Autoencoder) is an $\mathrm{SE(3)}$-invariant masked autoencoder that masks up to 90% of backbone frames and reconstructs the full structure with a lightweight decoder. It was introduced in the paper [Protein Fold Classification at Scale: Benchmarking and Pretraining](https://arxiv.org/abs/2605.18552).
- **Paper:** [Protein Fold Classification at Scale: Benchmarking and Pretraining](https://arxiv.org/abs/2605.18552)
- **Repository:** [BorgwardtLab/TEDBench](https://github.com/BorgwardtLab/TEDBench)
## Architecture sizes
| Variant | Params | Layers | Hidden dim | Attn heads |
|---------|-------:|-------:|-----------:|-----------:|
| `miae_s` | 29 M | 6 | 512 | 8 |
| `miae_b` | 102 M | 12 | 768 | 12 |
| `miae_l` | 339 M | 24 | 1 024 | 16 |
Append `+model.use_seq_input=true` to `miae_b` for the **+seq** variant.
## Usage
### Load from the HuggingFace Hub
You can load the model using the `tedbench` library:
```python
from tedbench.utils.io import load_from_hf
model = load_from_hf("TEDBench/miae-s")
model.eval()
```
Alternatively, using the library's high-level API:
```python
import tedbench
model = tedbench.load_model("miae-s")
model.eval()
```
### From a Lightning checkpoint
```python
from tedbench.model import MiAE
model = MiAE.load_from_checkpoint("model.ckpt", weights_only=False)
model.eval()
```
## Citation
```bibtex
@inproceedings{chen2026tedbench,
title={Protein Fold Classification at Scale: Benchmarking and Pretraining},
author={Chen, Dexiong and Manolache, Andrei and Niepert, Mathias and Borgwardt, Karsten},
booktitle={Proceedings of the 43rd International Conference on Machine Learning (ICML)},
year={2026}
}
``` |