YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Spam / Not Spam Classifier

A simple machine learning model built using Logistic Regression + TF-IDF to detect spam messages.


How it works

  • Input: Raw text message
  • Preprocessing: TF-IDF Vectorizer
  • Model: Logistic Regression
  • Output: spam or ham

Files included

  • model.pkl β€” trained ML model
  • vectorizer.pkl β€” TF-IDF vectorizer
  • inference.py β€” simple inference script

Example Usage

from inference import predict
print(predict("You have won $1000!!!"))
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support