dexiongc commited on
Commit
d004460
·
verified ·
1 Parent(s): 18fb6d8

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +94 -32
README.md CHANGED
@@ -1,34 +1,96 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: name
5
- dtype: string
6
- - name: sequence
7
- dtype: string
8
- - name: coords
9
- list:
10
- list:
11
- list: float32
12
- - name: plddt
13
- list: float32
14
- - name: residue_index
15
- list: int64
16
- - name: seq_ids
17
- list: int64
18
- splits:
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