Skip to content

Spam detection identifies and filters out unwanted messages, protecting users from scams and clutter. This model, a fine-tuned version of Google’s BERT (bert-base-uncased), achieves high accuracy (99.67%) and low loss (0.0202) on a spam detection dataset, effectively classifying messages as "spam" or "not spam."

Notifications You must be signed in to change notification settings

vishnun0027/Spam-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spam Detector

Spam detection is the process of identifying unwanted or unsolicited messages, often found in email, text messages, or social media, and filtering them out from legitimate communications. By analyzing text patterns, sender information, and other metadata, spam detection models, commonly powered by machine learning and natural language processing, classify messages as either "spam" or "not spam." Effective spam detection helps prevent phishing attacks, reduce inbox clutter, and protect users from potential scams and harmful content.

Text classification

This model is a fine-tuned version of google-bert/bert-base-uncased on an spam-detection dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0202
  • Accuracy: 0.9967

Screenshots

SPAM

NOT SPAM

Setup

  1. Clone this repository:
    git https://github.com/vishnun0027/Spam-Detector.git
  2. Install the required dependencies:
    pip install -r requirements.txt
  3. Run the Streamlit app:
    streamlit run app.py
    

About

Spam detection identifies and filters out unwanted messages, protecting users from scams and clutter. This model, a fine-tuned version of Google’s BERT (bert-base-uncased), achieves high accuracy (99.67%) and low loss (0.0202) on a spam detection dataset, effectively classifying messages as "spam" or "not spam."

Topics

Resources

Stars

Watchers

Forks

Languages