Downloads · 30 days
50
7% of all-time downloads
SGHOSH1999/bert-email-spam-classifier_tuned
bert-email-spam-classifier_tuned is a machine learning model from SGHOSH1999. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains a fine-tuned BERT model for SMS/email spam detection using the SMS Spam Collection Dataset.
Downloads · 30 days
50
7% of all-time downloads
All-time downloads
679
Public
Parameters
109M
438 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This repository contains a fine-tuned BERT model for SMS/email spam detection using the SMS Spam Collection Dataset.
Loss: 0.012 Accuracy: 0.98
bert-base-uncasedLoad the model and tokenizer using Hugging Face Transformers:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("SGHOSH1999/bert-email-spam-classifier_tuned")
model = AutoModelForSequenceClassification.from_pretrained("SGHOSH1999/bert-email-spam-classifier_tuned")
If you use this model, please cite the original dataset and this repository.
MIT