All models

Literature · opentargets

clinical trial stop reasons

A BERT-based classifier categorising free-text reasons for early clinical trial termination.

What clinical trial stop reasons is

Clinical trial stop reasons is a natural language processing model developed by Open Targets. It categorises free-text statements explaining why clinical trials were halted or terminated early.

Understanding the grounds for early trial termination is critical for systematic analyses of drug development failures, clinical trial feasibility, and translational risk. The model automates this text classification task, transforming unstructured text descriptions into structured categories.

Intended solely for research purposes, it is not a medical device and is not designed for diagnosis, treatment planning, or any direct clinical decision-making.

How it works

The model is a fine-tuned variant of bert-base-uncased. It was trained using a supervised text-classification objective on a curated collection of 3,747 manually annotated trial stop descriptions from the opentargets/clinical_trial_reason_to_stop dataset.

Training was conducted over 7 epochs using the Adam optimiser with a learning rate of 5e-05, a linear learning rate scheduler, a batch size of 32 for both training and evaluation, and a random seed of 42. By the sixth epoch, the model reached a validation loss of 0.0891 and an accuracy threshold metric of 0.9763.

Key facts

Base architecture
bert-base-uncased
Task
Text classification
Input modality
Text
Output modality
Labels with confidence scores
Language
English
Training dataset size
3,747 manually curated reasons

What you can use it for

Clinical trial text classification
Classify unstructured text explaining why a specific clinical trial stopped early into discrete categorical labels.
Drug development attrition analysis
Systematically categorise historical clinical study termination statements to investigate broad patterns of pharmaceutical failure.
Clinical trial registry curation
Annotate trial registry databases with standardised reason-to-stop categories from free-text descriptions.

Run it here

No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.

Runs on On-demand GPU

Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.

Run this model

clinical trial stop reasons

The passage to classify.

Needs text

Strengths and limits

Good at

  • Fine-tuned directly on a manually curated dataset of 3,747 clinical trial stop rationales.
  • Outputs structured labels alongside confidence scores ranked in descending order.

Watch out for

  • For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
  • Restricted to research use only and must not be used for diagnosis, clinical decisions, or patient care.
  • Designed specifically for English uncased text classification and depends on the terminology represented in the base bert-base-uncased model and its fine-tuning set.

Inputs and outputs

You provide

  • Text

    The passage to classify.

You get back

  • Labels with confidence scores, highest first.

clinical trial stop reasons API

The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.

bash
curl https://corollary-labs.com/api/v1/models/opentargets-clinical-trial-stop-reasons/runs \
  -H "Authorization: Bearer $COROLLARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "text": "<Text>"
  }
}'

Make an API key, then read the models reference.

Licence

Commercial use permitted · apache-2.0

apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

Questions

Can I use clinical trial stop reasons commercially?

Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

How do I run clinical trial stop reasons without installing anything?

Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on CPU only, typically in 40s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

What inputs does the model require?

The model accepts free-text strings describing the reason a clinical trial was stopped early.

What outputs does the model produce?

It returns a table of classification labels accompanied by confidence scores, ordered from highest to lowest.

What training data was used?

The model was fine-tuned on the opentargets/clinical_trial_reason_to_stop dataset, which contains 3,747 manually curated stop reasons.

Can this model be used for clinical decision-making?

No. It is intended strictly for research purposes and must not be used as a medical device, for clinical management, or for treatment decisions.

How to cite it

DOI: 10.1038/s41588-024-01854-z

Written from clinical trial stop reasons's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.