ucirvine/sms_spam
Viewer • Updated • 5.57k • 9.48k • 58
How to use bthomas279/scam-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="bthomas279/scam-detector") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bthomas279/scam-detector")
model = AutoModelForSequenceClassification.from_pretrained("bthomas279/scam-detector", device_map="auto")On social media, it's very easy to run into posts that may not be authentic. This makes some question if the content their consuming is real or legitimate. For others it can lead them to consume misinformation or engage with users and content that don't have their best interest at heart. That's when Investi-gator steps in to help users take back control of their social media experience, using this model to classify scam/spam content.
This model is specifically meant to classify scam/spam patterns in a general or social media setting.
Here's a list of the types of data used to train V2 of the Scam/Spam Detector:
Known Biases (Positive leaning(scam/spam):
Base model
distilbert/distilroberta-base