Downloads · 30 days
21
4% of all-time downloads
Manirathinam21/DistilBert_SMSSpam_classifier
DistilBert_SMSSpam_classifier is a text classification model from Manirathinam21. 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.
probably proofread and complete it, then remove this comment. --
Downloads · 30 days
21
4% of all-time downloads
All-time downloads
599
Public
Repo size
268 MB
Likes
0
Public
Click a slice to open those files.
.h5268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on an SMSSpam Detection dataset. It achieves the following results on the evaluation set:
label: a classification label, with possible values including
Tokenizer used is DistilBertTokenizerFast with return_tensors='tf' parameter in tokenizer because building model in a tensorflow framework
Model: TFDistilBertForSequenceClassification
Optimizer: Adam with learning rate=5e-5
Loss: SparseCategoricalCrossentropy
More information needed
More information needed
After Tokenized, Encoded datasets are converted to Dataset Objects by using tf.data.Dataset.from_tensor_slices((dict(train_encoding), train_y))
This step is done to inject a dataset into TFModel in a specific TF format
The following hyperparameters were used during training:
| Train Loss | Train Accuracy | Epoch |
|---|---|---|
| 0.0754 | 0.9803 | 0 |
| 0.0252 | 0.9935 | 1 |
| 0.0114 | 0.9962 | 2 |