DrugDetectionBERT

Bio_ClinicalBERT fine-tuned for multi-label drug detection in death investigation narratives.

Labels: Methamphetamine, Heroin, Cocaine, Fentanyl, Alcohol, Prescription.opioids, Any Opioids, Benzodiazepines, Others, Any Drugs.

Sigmoid outputs. Per-label thresholds in best_thresholds.json — do not use 0.5.

from transformers import AutoTokenizer, AutoModelForSequenceClassification
tok = AutoTokenizer.from_pretrained("Elemets/DrugDetectionBERT")
model = AutoModelForSequenceClassification.from_pretrained("Elemets/DrugDetectionBERT")
Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Elemets/DrugDetectionBERT

Finetuned
(72)
this model