logakarthikeyan/spam-classifcation-model-bert
017
BERT for SMS Spam Detection
This model is a fine-tuned version of bert-base-uncased on the ucirvine/sms_spam dataset. It achieves high precision and recall for identifying promotional or fraudulent messages.
Training Results
During training, the model showed rapid convergence, reaching over 99% accuracy by the third epoch.
Final Evaluation
The final model performance on the test set:
Classification Report
Usage
from transformers import pipeline
classifier = pipeline("text-classification", model="your-username/your-model-name")
result = classifier("Congratulations! You've won a $1,000 Walmart gift card. Click here to claim.")
print(result)