lchen915's picture
Upload README.md with huggingface_hub
141e6af verified
|
Raw History Blame Contribute Delete
5.32 kB
metadata
license: other
license_name: mixed-see-card
language:
  - en
tags:
  - chemistry
  - molecules
  - drug-discovery
  - distillation
  - smiles
size_categories:
  - 1K<n<10K
task_categories:
  - text-generation
configs:
  - config_name: holdout-ADORA2A
    data_files:
      - split: train
        path: data/holdout-ADORA2A.train.jsonl
      - split: test
        path: data/holdout-ADORA2A.test.jsonl
  - config_name: holdout-ADRB1
    data_files:
      - split: train
        path: data/holdout-ADRB1.train.jsonl
      - split: test
        path: data/holdout-ADRB1.test.jsonl
  - config_name: holdout-CA2
    data_files:
      - split: train
        path: data/holdout-CA2.train.jsonl
      - split: test
        path: data/holdout-CA2.test.jsonl
  - config_name: holdout-CDK2
    data_files:
      - split: train
        path: data/holdout-CDK2.train.jsonl
      - split: test
        path: data/holdout-CDK2.test.jsonl
  - config_name: holdout-EGFR
    data_files:
      - split: train
        path: data/holdout-EGFR.train.jsonl
      - split: test
        path: data/holdout-EGFR.test.jsonl
  - config_name: holdout-F2
    data_files:
      - split: train
        path: data/holdout-F2.train.jsonl
      - split: test
        path: data/holdout-F2.test.jsonl
  - config_name: holdout-PARP1
    data_files:
      - split: train
        path: data/holdout-PARP1.train.jsonl
      - split: test
        path: data/holdout-PARP1.test.jsonl
  - config_name: holdout-PGR
    data_files:
      - split: train
        path: data/holdout-PGR.train.jsonl
      - split: test
        path: data/holdout-PGR.test.jsonl
  - config_name: holdout-PPARA
    data_files:
      - split: train
        path: data/holdout-PPARA.train.jsonl
      - split: test
        path: data/holdout-PPARA.test.jsonl
  - config_name: holdout-PPARG
    data_files:
      - split: train
        path: data/holdout-PPARG.train.jsonl
      - split: test
        path: data/holdout-PPARG.test.jsonl
  - config_name: raw
    data_files: raw/relabels_paired.jsonl

Expert relabels of LLM evolutionary-search proposals, leave-one-target-out

An expert model's rewrite of a weaker model's molecule-design proposals, as supervised fine-tuning data. GLM-4.7-Flash ran a 30-round evolutionary search over synthetic routes for ten DOCKSTRING targets; every round's prompt was then replayed to GPT-6.1-Terra, whose reply is the training target.

Each fold is named for the target it holds out: holdout-CDK2 contains no CDK2 data and is what you train on when CDK2 is your evaluation target.

Read this before using the raw file — the field names are inverted

In raw/relabels_paired.jsonl the roles are the opposite of what the names say:

field actually contains
teacher_model, teacher_response GLM-4.7-Flash — the base model being improved
student_model, student_response GPT-6.1-Terra — the expert whose reply is the label

The replay tool put the run's own model in teacher_* because it owned the log, and the newly queried model in student_*. Train on student_response. The prepared fold files under data/ already resolve this: their assistant turn is the expert's reply.

Contents

data/holdout-<TARGET>.{train,test}.jsonl — ready to train. Train folds hold 536 rows (CA2: 540) spanning the nine other targets; test folds hold 60 rows (CA2: 56) of the held-out target only. Verified: no train fold contains its own held-out target.

raw/relabels_paired.jsonl — 298 rows, the unprocessed pairs, one per (run, round) across 10 runs, 0 errors. Useful if you want the base model's own reply alongside the expert's, which the fold files drop.

Across the full set: 596 examples from 298 prompts, 21,180 proposed molecules of which 19,828 (93.6%) build into a valid route. Each prompt yields two examples, variant 0 and 1, sharing the prompt and differing in the assistant turn.

Record schema

Fold files: messages (system / user / assistant chat triple), target, source, run, round, variant, n_proposals, n_built.

Raw file: run, round, system, user, teacher_model, teacher_response, student_model, student_response, finish_reason, error.

A route is a postfix program: SMILES push purchasable building blocks onto a stack and R<n> applies a reaction template. An edit replaces one building block of one parent. Blocks are matched against 211,220 purchasable compounds; 115 reaction templates.

from datasets import load_dataset
ds = load_dataset("lchen915/ea-expert-relabels-dockstring", "holdout-CDK2")

Objective

s = -Vina - 10 * (1 - QED), higher is better — docking score against the target, penalised by drug-likeness.

Provenance and licence

Two different things are mixed here and they do not share a licence:

  • The prompts and the GLM-4.7-Flash rollouts are ours, generated on our hardware.
  • The assistant turns — the labels — are GPT-6.1-Terra outputs, obtained through the OpenAI API. Anyone redistributing or training on them is subject to OpenAI's terms of use for model output, which this card does not and cannot waive. Check those terms against your intended use before relying on this dataset.

Target selection follows the DOCKSTRING benchmark.