generated_from_trainer

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

distilbert-base-uncased-SpamFilter-LG

This model is a fine-tuned version of distilbert-base-uncased on the None dataset. It achieves the following results on the evaluation set:

Model description

This is a binary classification of whether the inputs are spam or not.

For more information on how it was created, check out the following link: https://github.com/DunnBC22/NLP_Projects/blob/main/Binary%20Classification/Spam%20Filter-%20Larger%20Dataset/DunnBC22-distilbert-base-uncased-SpamFilter-LG.ipynb

Intended uses & limitations

This model is intended to demonstrate my ability to solve a complx problem using technology.

The main limitation is the quality of the data source.

Training and evaluation data

Dataset Source: https://www.kaggle.com/datasets/uciml/sms-spam-collection-dataset

Input Word Length By Class:

Input Length in Words By Class

Confusion Matrix:

Confusion Matrix

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

Training results

Training Loss Epoch Step Validation Loss Accuracy F1
0.0568 1.0 65 0.0568 0.9787 0.9791
0.03 2.0 130 0.0533 0.9806 0.9811
0.0241 3.0 195 0.0500 0.9845 0.9848

Framework versions