Upload folder using huggingface_hub
Browse filesFiles changed (3)
- README.mdAdded+62
- config.jsonAdded+72
- pytorch_model.binAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---library_name: tedbenchtags: - protein - structure - fold-classification - tedbenchpipeline_tag: otherlicense: bsd-3-clause---
# TEDBench — Fine-tuned from pretrained MiAE (structure only)
**Variant:** `miae_l` | **Parameters:** 339M | **Layers:** 24 | **Hidden dim:** 1024 | **Attn heads:** 16
This **MiAEClassifier** was initialised from a pretrained MiAE and fine-tuned on TEDBench for fold classification.
Part of the [TEDBench](https://github.com/BorgwardtLab/TEDBench) benchmark forprotein fold classification (ICML 2026). MiAE is an SE(3)-invariant maskedautoencoder that masks up to 90% of backbone frames and reconstructs the fullstructure with a lightweight decoder.
## 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
```pythonfrom tedbench.utils.io import load_from_hf
model = load_from_hf("TEDBench/miae-l-ft")model.eval()```
### From a Lightning checkpoint
```pythonfrom tedbench.model import MiAEClassifier
model = MiAEClassifier.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}, year={2026}}```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ "seed": 42, "debug": false, "wandb": true, "pretrained_model_path": "pretrained/new/mae_large_mask0.9_dec512d2b.ckpt", "datamodule": { "batch_size": 32, "pin_memory": true, "num_workers": 12, "train_transform": { "_target_": "tedbench.data.transform.Compose", "transforms": [ { "_target_": "tedbench.data.transform.RandomCrop", "size": 512 }, { "_target_": "tedbench.data.transform.RandomNoise", "std": 0.2, "mean": 0.0 } ] }, "_target_": "tedbench.data.TEDLightningDataset", "root": "./datasets/ted", "dataset_name": "ted" }, "trainer": { "_target_": "pytorch_lightning.Trainer", "accelerator": "auto", "max_steps": 18300, "strategy": "auto", "devices": "auto", "default_root_dir": "${logs.path}", "num_sanity_val_steps": 0, "accumulate_grad_batches": 4 }, "train": { "optimizer": { "_target_": "torch.optim.AdamW", "lr": 0.0016, "weight_decay": 0.1, "betas": [ 0.9, 0.95 ] }, "lr_scheduler": { "_target_": "tedbench.lr_schedulers.get_cosine_schedule_with_warmup", "warmup_steps": 1830, "max_steps": "${trainer.max_steps}" }, "loss": { "_target_": "torch.nn.CrossEntropyLoss", "label_smoothing": 0.0 }, "llrd": 0.8, "ckpt_path": null }, "model": { "_target_": "tedbench.model.miae_encoder_model", "name": "miae_l", "num_classes": 965, "avg_pool": false }, "logs": { "prefix": "logs/finetune/${datamodule.dataset_name}/${seed}", "path": "${logs.prefix}/runs/${now:%Y-%m-%d}_${now:%H-%M-%S}" }, "mode": {}, "_model_class": "miae_classifier"}123version https://git-lfs.github.com/spec/v1oid sha256:ad24307b24c2ef0f40057396ef6f7178b5c64078d9fa5d16b6852cf9e5512898size 1357467499README.mdAdded+62
config.jsonAdded+72
pytorch_model.binAdded+3