Yale-BIDS-Chen / medpmc-screening-pubmedbert-caption-reference

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: -2
30-day runs: -51
Model's Last Updated: July 18 2026
text-classification

Introduction of medpmc-screening-pubmedbert-caption-reference

Model Details of medpmc-screening-pubmedbert-caption-reference

MedPMC Initial Screening Model

This model is used in the initial screening stage of the MedPMC data curation pipeline. It is a text-based classifier that takes a figure caption and its inline reference text from a PubMed Central article as input and predicts whether the corresponding figure is likely to be a clinically relevant medical image for downstream multimodal data curation.

The model is initialized from microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext .

Task

The model performs binary classification.

Label Meaning
0 Non-medical
1 Medical
Input format

This repository corresponds to the caption + reference text version of the initial screening model. The input text should concatenate the figure caption and inline reference text using the following format:

"Caption": {figure_caption}
"Reference Text": {reference_text_1}
{reference_text_2}
...
Quick start
import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification

repo_id = "Yale-BIDS-Chen/medpmc-screening-pubmedbert-caption-reference"

tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForSequenceClassification.from_pretrained(repo_id)
model.eval()

caption = "Axial CT image showing a pulmonary nodule in the right upper lobe."
references = [
    "The CT findings demonstrated a solitary pulmonary nodule.",
    "Follow-up imaging was recommended."
]

text = '"Caption": ' + caption + '\n"Reference Text": ' + "\n".join(references)

inputs = tokenizer(
    text,
    return_tensors="pt",
    truncation=True,
    padding=True,
    max_length=512,
)

with torch.no_grad():
    outputs = model(**inputs)
    probs = torch.softmax(outputs.logits, dim=-1)
    pred = torch.argmax(probs, dim=-1).item()

print("Prediction:", pred)
print("Probabilities:", probs.tolist())
Model Performance

MedPMC includes multiple initial screening variants depending on the input text and model backbone. The table below summarizes the performance of different screening models evaluated on the MedPMC validation set.

Model Input Precision Recall F1
Keyword match Caption + inline text; Keywords 70.6 62.2 61.7
Bioformer-16L Caption only 92.2 92.3 92.2
Bioformer-16L Caption + inline text 93.0 92.9 92.9
Bioformer-8L Caption only 92.3 92.3 92.3
Bioformer-8L Caption + inline text 92.3 92.6 92.5
BioLinkBERT-base Caption only 93.0 92.7 92.9
BioLinkBERT-base Caption + inline text 92.9 93.0 92.9
PubMedBERT-fulltext Caption only 92.7 93.1 92.9
PubMedBERT-fulltext (This model) Caption + inline text 93.3 93.1 93.2

Runs of Yale-BIDS-Chen medpmc-screening-pubmedbert-caption-reference on huggingface.co

3
Total runs
0
24-hour runs
-1
3-day runs
-2
7-day runs
-51
30-day runs

More Information About medpmc-screening-pubmedbert-caption-reference huggingface.co Model

More medpmc-screening-pubmedbert-caption-reference license Visit here:

https://choosealicense.com/licenses/cc-by-nc-sa-4.0

medpmc-screening-pubmedbert-caption-reference huggingface.co

medpmc-screening-pubmedbert-caption-reference huggingface.co is an AI model on huggingface.co that provides medpmc-screening-pubmedbert-caption-reference's model effect (), which can be used instantly with this Yale-BIDS-Chen medpmc-screening-pubmedbert-caption-reference model. huggingface.co supports a free trial of the medpmc-screening-pubmedbert-caption-reference model, and also provides paid use of the medpmc-screening-pubmedbert-caption-reference. Support call medpmc-screening-pubmedbert-caption-reference model through api, including Node.js, Python, http.

medpmc-screening-pubmedbert-caption-reference huggingface.co Url

https://huggingface.co/Yale-BIDS-Chen/medpmc-screening-pubmedbert-caption-reference

Yale-BIDS-Chen medpmc-screening-pubmedbert-caption-reference online free

medpmc-screening-pubmedbert-caption-reference huggingface.co is an online trial and call api platform, which integrates medpmc-screening-pubmedbert-caption-reference's modeling effects, including api services, and provides a free online trial of medpmc-screening-pubmedbert-caption-reference, you can try medpmc-screening-pubmedbert-caption-reference online for free by clicking the link below.

Yale-BIDS-Chen medpmc-screening-pubmedbert-caption-reference online free url in huggingface.co:

https://huggingface.co/Yale-BIDS-Chen/medpmc-screening-pubmedbert-caption-reference

medpmc-screening-pubmedbert-caption-reference install

medpmc-screening-pubmedbert-caption-reference is an open source model from GitHub that offers a free installation service, and any user can find medpmc-screening-pubmedbert-caption-reference on GitHub to install. At the same time, huggingface.co provides the effect of medpmc-screening-pubmedbert-caption-reference install, users can directly use medpmc-screening-pubmedbert-caption-reference installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

medpmc-screening-pubmedbert-caption-reference install url in huggingface.co:

https://huggingface.co/Yale-BIDS-Chen/medpmc-screening-pubmedbert-caption-reference

Url of medpmc-screening-pubmedbert-caption-reference

medpmc-screening-pubmedbert-caption-reference huggingface.co Url

Provider of medpmc-screening-pubmedbert-caption-reference huggingface.co

Yale-BIDS-Chen
ORGANIZATIONS

Other API from Yale-BIDS-Chen