File size: 4,731 Bytes
7db4de8
 
 
 
 
 
 
 
 
 
7852e32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7db4de8
 
 
 
7852e32
 
 
7db4de8
7852e32
 
 
7db4de8
7852e32
7db4de8
7852e32
 
 
 
 
 
 
 
 
 
7db4de8
 
7852e32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7db4de8
7852e32
 
 
 
7db4de8
7852e32
 
 
7db4de8
7852e32
7db4de8
7852e32
 
 
7db4de8
 
 
 
 
 
 
 
 
 
7852e32
 
 
 
 
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
license: mit
task_categories:
  - text-generation
  - fill-mask
tags:
  - biology
  - protein-design
  - ligand-binding
  - antibody-design
configs:
  - config_name: stage1
    data_files:
      - split: train
        path: stage1/train.jsonl
      - split: validation
        path: stage1/valid.jsonl
      - split: test
        path: stage1/test.jsonl
  - config_name: ligand
    data_files:
      - split: train
        path: ligand/train.jsonl
      - split: validation
        path: ligand/valid.jsonl
      - split: test
        path: ligand/test_ligand.jsonl
      - split: test_unseen
        path: ligand/test_ligand_unseen.jsonl
  - config_name: antibody
    data_files:
      - split: train
        path: antibody/train.jsonl
      - split: validation
        path: antibody/valid.jsonl
      - split: test
        path: antibody/final_antibody_test.jsonl
---

# InstructPro2Bench

Training and evaluation data for
[InstructPro2](https://huggingface.co/charlesnovak/InstructPro2), which
designs proteins from natural-language function descriptions.

[Paper](https://arxiv.org/abs/2610.19592) ·
[Code](https://github.com/chovak/InstructPro2) ·
[Model](https://huggingface.co/charlesnovak/InstructPro2)

## Contents

```
stage1/            instruction-following pretraining
  train.jsonl  valid.jsonl  test.jsonl
ligand/            ligand-binding protein design
  train.jsonl  valid.jsonl  test_ligand.jsonl  test_ligand_unseen.jsonl
antibody/          antibody HCDR design
  train.jsonl  valid.jsonl  final_antibody_test.jsonl
eval_structures/   ground-truth structures for Stage 1 evaluation
  cluster_<id>/    predicted structures for one cluster
  targets.csv      row -> cluster manifest
```

| Split | Rows | |
| --- | ---: | --- |
| `stage1/train` | 200,000 | sample of 205,727,986 |
| `stage1/valid` | 1,000 | complete |
| `stage1/test` | 1,000 | complete |
| `ligand/train` | 50,000 | sample of 8,727,514 |
| `ligand/valid` | 3,263 | complete |
| `ligand/test_ligand` | 1,500 | complete |
| `ligand/test_ligand_unseen` | 127 | complete; held-out ligands |
| `antibody/train` | 21,384 | complete |
| `antibody/valid` | 433 | complete |
| `antibody/final_antibody_test` | 444 | complete |

The two Stage 1 and ligand training splits are samples of much larger
datasets, the full sets are available on request. Every other split is
complete.

About a third of the antibody training rows (7,068 of 21,384) carry an
antigen. The rest are heavy chains without a paired structure, and train
the infilling behaviour alone.

Every row is one JSON object per line:

| Field | Present in | |
| --- | --- | --- |
| `instruction` | stage1 | the natural-language design request |
| `text` | ligand, antibody | the same, under a different name |
| `tokenized_instruction` | all | the request as PubMedBERT token ids, which is what the model reads |
| `output` | stage1 | the reference protein |
| `target_protein` | ligand, antibody | the same, under a different name |
| `ligand` | ligand | SMILES strings |
| `antigen` | antibody | antigen chain sequences |
| `task_type` | stage1 | `autoregressive` or `infilling` |
| `modality_type` | ligand, antibody | `ligand` or `antibody` |
| `metadata` | all | provenance: UniProt or PDB id, InterPro annotations, cluster id, CDR positions |

A target may contain `<SEP>` and `<M1>`–`<M30>`, which mark spans to
infill: the scaffold precedes the separator and the spans that fill it
follow. Antibody targets use this to mark HCDR1-3 in a heavy chain.

## Evaluation structures

`eval_structures/` holds the ground truth for Stage 1 scoring: 1,000
cluster folders, each with the structures of related proteins, and
`targets.csv` mapping each test row to its cluster. A design is scored
against every member of the cluster, and the best match is reported.

Ground-truth structures for the ligand and antibody tasks are not included.

## Usage

```bash
huggingface-cli download charlesnovak/InstructPro2Bench \
    --repo-type dataset --local-dir $WORK_ROOT/data
```

The [code repository](https://github.com/chovak/InstructPro2) reads this
layout directly. To design proteins from your own descriptions instead, see
its README — you do not need this dataset for that.

## Notes

Proteins longer than 1,024 tokens are outside the model's context and are
skipped at generation time, so some test rows produce no design and have no
ground-truth structure.

## Citation

```bibtex
@article{instructpro2,
  title   = {InstructPro2: Natural Language and Biological Grounding Guided De Novo Protein Design},
  author  = {Charles Novak and Zhenqiao Song and Chuan Li and Jianwen Xie and Lei Li},
  journal = {arXiv preprint arXiv:2610.19592},
  year    = {2026}
}
```

## License

MIT.