Fine-tuned model from the PsyNamic project (code, webapp): Abstract Screening (relevant/irrelevant).
This is the model deployed in the PsyNamic webapp after the revision (Nov 2026). It supersedes STRIDE-lab/biobert-relevant-20250306 (tag submission-v1, initial submission). All current models: PsyNamic collection.
michiyasunaga/BioLinkBERT-base
Abstract Screening (relevant/irrelevant)
Whether a record (title and abstract) meets the PsyNamic inclusion criteria.
| ID | Label | Definition |
|---|---|---|
| 0 | irrelevant | – |
| 1 | relevant | – |
Single-label: softmax over the labels, the label with the highest probability (argmax) is predicted.
Five base models (BiomedBERT-abstract, BioBERT, BioLinkBERT, ClinicalBERT, SciBERT) were fine-tuned with identical hyperparameters. The checkpoint is the one with the lowest validation loss (early stopping), and the base model was selected on the validation set (weighted F1). The test set was used once, after selection.
Held-out test set (565 abstracts), argmax as in the webapp, 95% bootstrap CIs (1,000 BCa resamples).
| Metric (test) | Value [95% CI] |
|---|---|
| Weighted F1 | 0.894 [0.865–0.918] |
| Weighted precision | 0.894 [0.865–0.917] |
| Weighted recall | 0.894 [0.865–0.919] |
| F1, relevant class | 0.910 [0.886–0.933] |
| Precision, relevant class | 0.902 [0.862–0.932] |
| Recall, relevant class | 0.919 [0.889–0.947] |
Confusion matrix (relevant = positive): TP 305, FP 33, FN 27, TN 200.
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
repo = "STRIDE-lab/biolinkbert-relevant-20261107"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSequenceClassification.from_pretrained(repo)
inputs = tokenizer("<title>. <abstract>", truncation=True, max_length=512, return_tensors="pt")
logits = model(**inputs).logits
pred = model.config.id2label[int(logits.argmax(-1))]
{
"data": "<private_dataset>",
"task": "Relevant",
"model": "biolinkbert",
"cross_val": false,
"batch_size": 8,
"learning_rate": 5e-05,
"weight_decay": 0.01,
"lr_scheduler": "linear",
"warmup_ratio": 0.1,
"epochs": 30,
"dropout": 0.1,
"early_stopping_patience": 5,
"gradient_clipping": 1.0,
"max_length": 512,
"threshold": 0.5,
"is_multilabel": false
}
threshold (0.5) is only used to compute the validation metrics of multi-label tasks during training. It has no effect for this single-label model, which predicts by argmax.
michiyasunaga/BioLinkBERT-base