tner/bc5cdr
Viewer โข Updated โข 16.4k โข 2.01k โข 6
DistilRoBERTa fine-tuned on BC5CDR for Chemical and Disease mentions, exported to ONNX and dynamically
quantised to INT8 for CPU serving. Built for the ClinicalNER API.
| Metric | Value |
|---|---|
| Precision | 0.835 |
| Recall | 0.880 |
| F1 (overall) | 0.857 |
| F1 Chemical | 0.912 |
| F1 Disease | 0.793 |
| F1 (INT8 ONNX model) | 0.857 |
| File | Use |
|---|---|
model.int8.onnx |
Default serving model |
model.onnx |
fp32 export |
tokenizer.json |
RoBERTa BPE tokenizer for the tokenizers library (add_prefix_space, pre-split words) |
config.json |
id2label and model version |
metrics.json |
Full training and evaluation report |
Inputs are pre-split words (see split_words in the GitHub repo); read each word's label from its first
sub-token. The easiest way to use it is the API: docker compose up in the GitHub repo.
Trained on PubMed abstracts, not hospital notes; expect lower accuracy on real clinical text. Research prototype, not for diagnosis or treatment decisions. Check the BioCreative V CDR terms before commercial use.
Base model
distilbert/distilroberta-base