CoolFace
Modelpublic

serguntsov/bert-base-uncased-drugsCom_raw-cls

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes5downloads
Model Card

Drug Review Sentiment Analysis with BERT

Drug Review Classification Language

A fine-tuned BERT model for detecting positive/negative sentiment in pharmaceutical drug reviews with state-of-the-art performance. Developed as part of the DRUG_FEEDBACK_NLP project.

Model Overview

  • Architecture: bert-base-uncased fine-tuned
  • Input: Drug review text
  • Output: Binary sentiment (0 = negative, 1 = positive)
  • Threshold: Ratings >7 converted to positive (1)
  • Max Sequence Length: 512 tokens
  • GitHub Project: DRUG_FEEDBACK_NLP

Performance

MetricScore
ROC-AUC0.967
F1-Score0.936
Precision0.932
Recall0.939