Downloads · 30 days
7
1% of all-time downloads
samsaara/medical_condition_classification
medical_condition_classification is a text classification model from samsaara. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
1% of all-time downloads
All-time downloads
527
Public
Parameters
67.5M
12.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors270 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on an Drugs.com dataset. It achieves the following results on the test data set:
The Goal of the model is to predict the medical condition based on the review of the drug. There're 751 classes.
More information needed
The training, evaluation & testing data can be found under samsaara/medical_condition_classification of the 🤗 Datasets and the process itself can be found in the modeling.ipynb notebook.
By default, the dataset has train, test splits. train is then further divided into train, validation splits with 0.8, 0.2 ratio. Final results shown are on the test dataset.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.8625 | 0.4329 | 2000 | 1.7199 | 0.6397 |
| 1.459 | 0.8658 | 4000 | 1.3696 | 0.6890 |
| 1.1737 | 1.2987 | 6000 | 1.2131 | 0.7172 |
| 1.042 | 1.7316 | 8000 | 1.1014 | 0.7329 |
| 0.8431 | 2.1645 | 10000 | 1.0322 | 0.7510 |
| 0.8012 | 2.5974 | 12000 | 0.9889 | 0.7587 |
| 0.7312 | 3.0303 | 14000 | 0.9497 | 0.7727 |
| 0.6561 | 3.4632 | 16000 | 0.9338 | 0.7805 |
| 0.6132 | 3.8961 | 18000 | 0.9073 | 0.7875 |
| 0.5195 | 4.3290 | 20000 | 0.9011 | 0.7929 |
| 0.5015 | 4.7619 | 22000 | 0.8930 | 0.7951 |