oteam/EpiBench
EpiBench A benchmark measuring whether LLMs can locate, prioritize, and reason about antibody epitopes and functional binding sites on antigens, from sequence input alone. Five tasks, 1,609 test items, all rated on sequence-only prompts. Antigens are shown position-numbered (10 residues per line) so a grader can verify indexing. task items task type metric primary_category task1 295 Antigen-only union-epitope: output ≤50 residue positions on a bare antigen… See the full description on the dataset page: https://huggingface.co/datasets/oteam/EpiBench.
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the month
#1 Repository of the month
EpiBench
A benchmark measuring whether LLMs can locate, prioritize, and reason about antibody epitopes and functional binding sites on antigens, from sequence input alone.
Five tasks, 1,609 test items, all rated on sequence-only prompts. Antigens are shown position-numbered (10 residues per line) so a grader can verify indexing.
| task | items | task type | metric | primary_category |
|---|---|---|---|---|
| task1 | 295 | Antigen-only union-epitope: output ≤50 residue positions on a bare antigen | RegionRecall@50 (α=0.2) | targetable-region count: 1 site, 2 sites, ≥3 sites |
| task2 | 354 | Antibody-conditioned epitope MCQ (A/B/C/D): pick which residue set this antibody binds | Accuracy | antigen taxon: Viral, Bacterial, Eukaryote-host, Eukaryote-parasite, Fungal, Archaeal, Eukaryote-other, Unresolved |
| task3 | 260 | Epitope binning: do antibodies A & B bind overlapping epitopes on the same antigen? (same_bin / different_bin) | Balanced accuracy | difficulty: easy, medium, hard |
| task4 | 340 | Functional-epitope prioritization MCQ (A/B/C/D): which candidate epitope has functional-antibody evidence? | Accuracy | mechanism: inhibition, protection, cytotoxicity |
| task5 | 360 | Antibody escape: does mutation X in this antigen region cause the antibody to lose binding? (escape / non_escape) | Escape accuracy | mutation residue class: hydrophobic, polar, pos, neg, special |
Total: 1,609 items across 5 test-only splits.
Item schema
Every record in taskN/test.jsonl shares this envelope:
{
"id": "asep_st2_0001", // unique, task-scoped ID
"task": "task1",
"primary_category": "≥3 sites", // per-task subcategory (see table above) — for stratified scoring
"input": {...}, // task-specific inputs (antigen, antibody, options, mutation, ...)
"label": {...}, // gold answer (positions list / letter / same_bin / escape / ...)
"meta": {...} // per-item metadata (species, PDB, tier, cluster, difficulty stats, ...)
}
Per-task input and label shapes:
- task1 —
input = {antigen};label = {union_epitope_positions:[int], patches:[[int]]} - task2 —
input = {antibody:{H,L,cdr_h,cdr_l}, antigen, options:[4 residue-position lists]};label = {answer:"A|B|C|D", tier} - task3 —
input = {antigen, antibody_A:{...}, antibody_B:{...}};label = {answer:"same_bin|different_bin"} - task4 —
input = {antigen, options:{A|B|C|D:{seq,start,end}}, question_function};label = {answer:"A|B|C|D"} - task5 —
input = {antibody:{...}, antigen, antigen_region, mutation};label = {answer:"escape|non_escape"}
Rendering to a chat prompt
This repository ships raw structured data only — you convert it into a {system, user}
chat prompt yourself via the shipped renderer. Templates and code are in scripts/.
Quick render (all 5 tasks -> one rendered.jsonl):
git clone https://huggingface.co/datasets/oteam/EpiBench
cd EpiBench
python scripts/render_prompts.py # reads task*/test.jsonl + scripts/prompts/*.txt -> rendered.jsonl
Each output line: {id, task, primary_category, system, user, label, meta}.
To try a Chain-of-Thought variant or a strict direct-answer variant, edit the template
strings in scripts/prompts/task{1..5}.txt and re-run — the renderer is a thin substitution
step (residue numbering, options, CDR blocks are pre-computed).
Load with 🤗 datasets
from datasets import load_dataset
# One task at a time — each config has a single 'test' split.
ds = load_dataset("oteam/EpiBench", "task2", split="test")
print(ds[0]["id"], ds[0]["primary_category"])
print(ds[0]["input"]["antigen"][:80], "...")
print("gold:", ds[0]["label"]["answer"])
Sources & licensing
Built from public antibody/antigen resources:
- AsEP — curated antibody–antigen complexes (MIT license).
- UniProt — reviewed antigen sequences and functional-site annotations (CC-BY 4.0).
- RCSB PDB — deposited antibody–antigen structures and complex interfaces (public domain).
- IEDB — functional-antibody evidence and epitope annotations that back task4.
- Bloom lab deep-mutational-scanning data — escape/non-escape labels backing task5.
This benchmark is released under MIT. Individual upstream sources retain their own licenses; when redistributing derived subsets please cite the underlying resource above.
Known limitations
- task1 is intrinsically hard for sequence-only models (it is a docking-like problem). Expect near-floor scores; probes a capability upper bound.
- task2 ground-truth labels come from real complexes plus synthesized distractors
(
meta.tier=A_realvsB_synth). - task3 was rebuilt from a previous 327-item version to 260 CDR-similarity-matched pairs, so a trivial "are the two antibodies similar?" baseline no longer wins (similarity-only baseline dropped 0.81 → 0.65). Report that baseline as a sanity metric.
- task4 targets well-characterised, often famous functional sites — inherent training-data-contamination ceiling.
- task5 escape/non-escape ratios are based on deep-mutational-scanning thresholds; labels are noisy near-threshold.
- No deposition-date / novelty split — low scores cannot be cleanly attributed to difficulty vs. contamination.
Repository layout
oteam/EpiBench
├── README.md
├── task1/test.jsonl 295 items
├── task2/test.jsonl 354 items
├── task3/test.jsonl 260 items
├── task4/test.jsonl 340 items
├── task5/test.jsonl 360 items
└── scripts/
├── build_raw.py re-generate task*/test.jsonl from upstream sources
├── render_prompts.py raw + prompts/ -> chat-ready {system,user}
└── prompts/task{1..5}.txt editable prompt templates
Similar Projects
Discover other similar projects and AI models.
News [2025/04/22] We split the data and kept only the medical SFT dataset (medical_o1_sft.json). The file medical_o1_sft_mix.json contains a mix of medical and general instruction data. [2025/02/22] We released the distilled dataset from Deepseek-R1 based on medical verifiable problems. You can use it to initialize your models with the reasoning chain from Deepseek-R1. [2024/12/25] We open-sourced the medical reasoning dataset for SFT, built on medical verifiable problems and an… See the full description on the dataset page: https://huggingface.co/datasets/FreedomIntelligence/medical-o1-reasoning-SFT.
a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat — a social platform for AI prompts. 📢 Notice This Hugging Face dataset is a mirror. For the latest prompts, features, and community contributions, please visit: 🌐 Website: prompts.chat 📦 GitHub: github.com/f/awesome-chatgpt-prompts About prompts.chat is an open-source platform where users can share, discover, and collect AI prompts from the community. The project can… See the full description on the dataset page: https://huggingface.co/datasets/fka/prompts.chat.
Cybersecurity AI Knowledge Base — PhD-Level Dataset Overview This is the most comprehensive cybersecurity knowledge base ever assembled for AI training. It covers all domains of cybersecurity at PhD-level depth — from offensive red teaming and bug bounty exploitation to defensive SOC operations, digital forensics, and cutting-edge AI/LLM security. Size: 16 GB | Files: 507 | Domains: 30+ | Sources: 15+ platforms Purpose Train the world's most… See the full description on the dataset page: https://huggingface.co/datasets/Vyber07/cyber-security.
Summary databricks-dolly-15k is an open source dataset of instruction-following records generated by thousands of Databricks employees in several of the behavioral categories outlined in the InstructGPT paper, including brainstorming, classification, closed QA, generation, information extraction, open QA, and summarization. This dataset can be used for any purpose, whether academic or commercial, under the terms of the Creative Commons Attribution-ShareAlike 3.0 Unported… See the full description on the dataset page: https://huggingface.co/datasets/databricks/databricks-dolly-15k.
Dataset Card for Alpaca-Cleaned Repository: https://github.com/gururise/AlpacaDataCleaned Dataset Description This is a cleaned version of the original Alpaca Dataset released by Stanford. The following issues have been identified in the original release and fixed in this dataset: Hallucinations: Many instructions in the original dataset had instructions referencing data on the internet, which just caused GPT3 to hallucinate an answer. "instruction":"Summarize… See the full description on the dataset page: https://huggingface.co/datasets/yahma/alpaca-cleaned.
Dataset Card for HH-RLHF Dataset Summary This repository provides access to two different kinds of data: Human preference data about helpfulness and harmlessness from Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback. These data are meant to train preference (or reward) models for subsequent RLHF training. These data are not meant for supervised training of dialogue agents. Training dialogue agents on these data is likely… See the full description on the dataset page: https://huggingface.co/datasets/Anthropic/hh-rlhf.
Dataset Card for GSM8K Dataset Summary GSM8K (Grade School Math 8K) is a dataset of 8.5K high quality linguistically diverse grade school math word problems. The dataset was created to support the task of question answering on basic mathematical problems that require multi-step reasoning. These problems take between 2 and 8 steps to solve. Solutions primarily involve performing a sequence of elementary calculations using basic arithmetic operations (+ − ×÷) to… See the full description on the dataset page: https://huggingface.co/datasets/openai/gsm8k.
OpenAssistant Conversations Dataset (OASST1) Dataset Summary In an effort to democratize research on large-scale alignment, we release OpenAssistant Conversations (OASST1), a human-generated, human-annotated assistant-style conversation corpus consisting of 161,443 messages in 35 different languages, annotated with 461,292 quality ratings, resulting in over 10,000 fully annotated conversation trees. The corpus is a product of a worldwide crowd-sourcing effort… See the full description on the dataset page: https://huggingface.co/datasets/OpenAssistant/oasst1.
[!NOTE] IMPORTANT: Please help us protect the integrity of this benchmark by not publicly sharing, re-uploading, or distributing the dataset. Humanity's Last Exam 🌐 Website | 📄 Paper | GitHub Center for AI Safety & Scale AI Humanity's Last Exam (HLE) is a multi-modal benchmark at the frontier of human knowledge, designed to be the final closed-ended academic benchmark of its kind with broad subject coverage. Humanity's Last Exam consists of 2,500 questions across dozens… See the full description on the dataset page: https://huggingface.co/datasets/cais/hle.