Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,34 +1,96 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
- name: train
|
| 20 |
-
num_bytes: 9505505623
|
| 21 |
-
num_examples: 742183
|
| 22 |
-
- name: val
|
| 23 |
-
num_bytes: 97110036
|
| 24 |
-
num_examples: 7496
|
| 25 |
-
download_size: 7790839278
|
| 26 |
-
dataset_size: 9602615659
|
| 27 |
-
configs:
|
| 28 |
-
- config_name: default
|
| 29 |
-
data_files:
|
| 30 |
-
- split: train
|
| 31 |
-
path: data/train-*
|
| 32 |
-
- split: val
|
| 33 |
-
path: data/val-*
|
| 34 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: bsd-3-clause
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
task_ids:
|
| 6 |
+
- other
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- protein
|
| 11 |
+
- structure
|
| 12 |
+
- pretraining
|
| 13 |
+
- tedbench
|
| 14 |
+
- alphafold
|
| 15 |
+
- foldseek
|
| 16 |
+
pretty_name: TEDBench-AFDB (pretraining)
|
| 17 |
+
size_categories:
|
| 18 |
+
- 100K<n<1M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# TEDBench-AFDB (pretraining corpus)
|
| 22 |
+
|
| 23 |
+
Representative proteins from Foldseek-clustered AlphaFold Database (pLDDT > 80),
|
| 24 |
+
used to pretrain MiAE (Masked Invariant Autoencoders) in the TEDBench benchmark.
|
| 25 |
+
|
| 26 |
+
Part of the [TEDBench](https://github.com/BorgwardtLab/TEDBench) benchmark
|
| 27 |
+
(ICML 2026).
|
| 28 |
+
|
| 29 |
+
## Dataset statistics
|
| 30 |
+
|
| 31 |
+
| Split | Structures |
|
| 32 |
+
|-------|----------:|
|
| 33 |
+
| Train | 742,183 |
|
| 34 |
+
| Val | 7,496 |
|
| 35 |
+
| **Total** | **749,679** |
|
| 36 |
+
|
| 37 |
+
One representative structure per Foldseek sequence-similarity cluster.
|
| 38 |
+
|
| 39 |
+
## Schema
|
| 40 |
+
|
| 41 |
+
| Column | Type | Description |
|
| 42 |
+
|--------|------|-------------|
|
| 43 |
+
| `name` | `string` | AlphaFold domain identifier (e.g. `AF-Q8IYB3-F1`) |
|
| 44 |
+
| `sequence` | `string` | Amino-acid sequence (single-letter code) |
|
| 45 |
+
| `coords` | `[L, 3, 3]` float32 | Backbone N/Cα/C coordinates (Å) |
|
| 46 |
+
| `plddt` | `[L]` float32 | Per-residue AlphaFold pLDDT confidence score |
|
| 47 |
+
| `residue_index` | `[L]` int64 | Residue index in the original AlphaFold model |
|
| 48 |
+
| `seq_ids` | `[L]` int64 | ESM-tokenised sequence IDs |
|
| 49 |
+
|
| 50 |
+
No `label` column — this dataset is for **unsupervised pretraining** only.
|
| 51 |
+
|
| 52 |
+
## Usage
|
| 53 |
+
|
| 54 |
+
### Load from HuggingFace
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
import torch
|
| 59 |
+
|
| 60 |
+
afdb = load_dataset("TEDBench/afdb", split="train")
|
| 61 |
+
sample = afdb[0]
|
| 62 |
+
|
| 63 |
+
coords = torch.tensor(sample["coords"]) # [L, 3, 3]
|
| 64 |
+
plddt = torch.tensor(sample["plddt"]) # [L]
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### Pretrain MiAE using this dataset
|
| 68 |
+
|
| 69 |
+
```bash
|
| 70 |
+
python main_pretrain.py datamodule=hf_afdbfs
|
| 71 |
+
|
| 72 |
+
# Multi-GPU (effective batch size 4096)
|
| 73 |
+
python main_pretrain.py \
|
| 74 |
+
experiment=tedbench_base_n4g8
|
| 75 |
+
datamodule=hf_afdbfs \
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
## Source data
|
| 79 |
+
|
| 80 |
+
- [Foldseek](https://afdb-cluster.steineggerlab.workers.dev) cluster representatives
|
| 81 |
+
from AlphaFold Database v4 (pLDDT > 80)
|
| 82 |
+
|
| 83 |
+
## Citation
|
| 84 |
+
|
| 85 |
+
```bibtex
|
| 86 |
+
@inproceedings{chen2026tedbench,
|
| 87 |
+
title={Protein Fold Classification at Scale: Benchmarking and Pretraining},
|
| 88 |
+
author={Chen, Dexiong and Manolache, Andrei and Niepert, Mathias and Borgwardt, Karsten},
|
| 89 |
+
booktitle={Proceedings of the 43rd International Conference on Machine Learning (ICML)},
|
| 90 |
+
year={2026}
|
| 91 |
+
}
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## License
|
| 95 |
+
|
| 96 |
+
BSD-3-Clause
|