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.
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
- Clone this repository:
git https://github.com/vishnun0027/Spam-Detector.git
- Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py