How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Delphia/twitter-spam-classifier")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Delphia/twitter-spam-classifier")
model = AutoModelForSequenceClassification.from_pretrained("Delphia/twitter-spam-classifier")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Model trained on "Tesla" related tweets from X/Twitter to filter out spam tweets based on trolling, profanity, extreme political views, etc.

0 - Valid

1 - Spam

Validation Metrics

loss: 0.4916948974132538

f1: 0.8059701492537313

precision: 0.782608695652174

recall: 0.8307692307692308

auc: 0.8416783216783217

accuracy: 0.7833333333333333

Downloads last month
23
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support