charlesnovak commited on
Commit
7db4de8
·
verified ·
1 Parent(s): 11341cd

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +90 -0
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ - fill-mask
6
+ tags:
7
+ - biology
8
+ - protein-design
9
+ - ligand-binding
10
+ - antibody-design
11
+ pretty_name: InstructPro2Bench
12
+ size_categories:
13
+ - 100K<n<1M
14
+ ---
15
+
16
+ # InstructPro2Bench
17
+
18
+ Training and evaluation data for **[InstructPro2: Natural Language and Biological Grounding Guided De Novo Protein Design](https://arxiv.org/abs/2610.19592)** — natural-language function descriptions paired with protein sequences, plus the ligand and antibody splits used for the two downstream design tasks.
19
+
20
+ Code: [chovak/InstructPro2](https://github.com/chovak/InstructPro2) ·
21
+ Weights: [charlesnovak/InstructPro2](https://huggingface.co/charlesnovak/InstructPro2) ·
22
+ Paper: [arXiv:2610.19592](https://arxiv.org/abs/2610.19592)
23
+
24
+ ## Download
25
+
26
+ ```bash
27
+ export WORK_ROOT=/path/to/workspace # default: ~/instructpro2
28
+ huggingface-cli download charlesnovak/InstructPro2Bench --repo-type dataset --local-dir $WORK_ROOT/data
29
+ ```
30
+
31
+ ## Files
32
+
33
+ | File | Rows | Size |
34
+ |---|---:|---:|
35
+ | `stage1/train.jsonl` | 200,000 | 603 MB |
36
+ | `stage1/valid.jsonl` | 1,000 | 2.8 MB |
37
+ | `stage1/test.jsonl` | 1,000 | 3.0 MB |
38
+ | `ligand/train.jsonl` | 50,000 | 183 MB |
39
+ | `ligand/valid.jsonl` | 3,263 | 14 MB |
40
+ | `ligand/test_ligand.jsonl` | 1,500 | 6.4 MB |
41
+ | `ligand/test_ligand_unseen.jsonl` | 127 | 0.5 MB |
42
+ | `antibody/train.jsonl` | 21,384 | 40 MB |
43
+ | `antibody/valid.jsonl` | 433 | 1.2 MB |
44
+ | `antibody/final_antibody_test.jsonl` | 444 | 1.3 MB |
45
+
46
+ Both training sets are subsampled: `stage1/train.jsonl` is 200,000 rows of the full 205.7M-pair pretraining corpus, and `ligand/train.jsonl` is 50,000 rows. Every other split is complete. The full Stage 1 corpus can be rebuilt from UniProt with the dataset construction code.
47
+
48
+ ## Schema
49
+
50
+ One JSON object per line.
51
+
52
+ **Stage 1** (`stage1/`)
53
+
54
+ | Key | Contents |
55
+ |---|---|
56
+ | `tokenized_instruction` | PubMedBERT token ids — the model input |
57
+ | `output` | target protein sequence, with `<SEP>` and `<M1>`–`<M30>` on infilling examples |
58
+ | `instruction` | the same instruction as text |
59
+ | `task_type` | `infilling` or autoregressive |
60
+ | `metadata` | `id` (UniProt accession), `cluster`, `interpro_all` |
61
+
62
+ **Stage 2** (`ligand/`, `antibody/`)
63
+
64
+ | Key | Contents |
65
+ |---|---|
66
+ | `tokenized_instruction` | PubMedBERT token ids — the model input |
67
+ | `target_protein` | target sequence; HCDR spans are masked with `<M1>`–`<M3>` in the antibody splits |
68
+ | `text` | the same instruction as text |
69
+ | `ligand` *or* `antigen` | SMILES strings, or antigen chain sequences |
70
+ | `modality_type` | `ligand` or `antibody` |
71
+ | `metadata` | ligand: `uniprot_id`, `interpro_all`, `interpro_used`, `source`. antibody: `pdb_id`, CDR sequences and positions, light chain, cluster, design blueprint |
72
+
73
+ The loader requires `tokenized_instruction` and `target_protein` (or `output`), plus `ligand`/`antigen` for the Stage 2 tasks.
74
+
75
+ ## Sources
76
+
77
+ - **Stage 1** — UniProtKB, with function descriptions composed from InterPro annotations.
78
+ - **Ligand** — InstructProBench, from [InstructPro](https://arxiv.org/abs/2506.09332).
79
+ - **Antibody** — SAbDab and the PDB.
80
+
81
+ ## Citation
82
+
83
+ ```bibtex
84
+ @article{instructpro2,
85
+ title = {InstructPro2: Natural Language and Biological Grounding Guided De Novo Protein Design},
86
+ author = {Charles Novak and Zhenqiao Song and Chuan Li and Jianwen Xie and Lei Li},
87
+ journal = {arXiv preprint arXiv:2610.19592},
88
+ year = {2026}
89
+ }
90
+ ```