Code used to train the following 🤗 Huggingface models:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("cja5553/deberta-Twitter-spam-classification")
model = AutoModelForSequenceClassification.from_pretrained("cja5553/deberta-Twitter-spam-classification")
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("cja5553/xlm-roberta-Twitter-spam-classification")
model = AutoModelForSequenceClassification.from_pretrained("cja5553/xlm-roberta-Twitter-spam-classification")
This model classifies Tweets from X (formerly known as Twitter) into 'Spam' (1) or 'Quality' (0).
This was fine-tuned on the UtkMl's Twitter Spam Detection dataset.
contact me at alba@wustl.edu