SMS Spam Detector

Detect spam text messages with near-perfect accuracy. A binary classifier that separates legitimate messages (ham) from spam. Trained on the SMS Spam Collection dataset

99.1%Test Accuracy
2Classes
4,459Training Examples
<80msLatency

Try it

Use it

Python
from jeffy.engine import Engine

engine = Engine()
engine.load()

result = engine.predict("sms_spam", "You won a free iPhone! Click here")
print(result["label"])  # spam
curl
$ curl -s -X POST https://playground.jeffyclassify.com/v1/predict \
  -H "Content-Type: application/json" \
  -d '{"text":"Free entry to win cash","task":"sms_spam"}'
pip install jeffy-classify

Labels

ham spam

Model details

Task IDsms_spam EncoderBAAI/bge-large-en-v1.5 TypeText classifier (logistic regression) Train accuracy99.7% Test accuracy99.1% LicenseCC BY 4.0 SourceSMS Spam Collection dataset