Downloads · 30 days
19
3% of all-time downloads
LukeGPT88/patient-doctor-text-classifier-eng-old
patient-doctor-text-classifier-eng-old is a text classification model from LukeGPT88. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset.
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
567
Public
Parameters
67M
536 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset.
DistilBERT is a transformer model that performs text classification. I fine-tuned the model on with the purpose of classifying patient, doctor or neutral content, specifically when text is related to the supposed context. The model predicts 3 classes, which are Patient, Doctor or Neutral.
The model is a fine-tuned version of DistilBERT.
It was fine-tuned on the prepared dataset (https://huggingface.co/datasets/LukeGPT88/text-classification-dataset).
It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.115 | 1.0 | 774 | 0.0486 | 0.9864 |
| 0.0301 | 2.0 | 1548 | 0.0501 | 0.9861 |
from transformers import pipeline
classifier = pipeline("text-classification", model="LukeGPT88/patient-doctor-text-classifier")
classifier("I see you’ve set aside this special time to humiliate yourself in public.")
Output:
[{'label': 'NEUTRAL', 'score': 0.9890775680541992}]
Please reach out to [email protected] if you have any questions or feedback.