Instructions to use mshenoda/roberta-spam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mshenoda/roberta-spam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mshenoda/roberta-spam")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mshenoda/roberta-spam") model = AutoModelForSequenceClassification.from_pretrained("mshenoda/roberta-spam") - Inference
- Notebooks
- Google Colab
- Kaggle
Model fails in most of cases
Model SMS Category Spam Probability
0 mshenoda/roberta-spam Dear Customer, +919XXXXX470 is now available ... spam 0.999959
1 mshenoda/roberta-spam Sent Rs.1.00 from Kotak Bank AC X2XX7 to user... spam 0.999998
2 mshenoda/roberta-spam Hi, First Time Trip with EaseMyTrip? Get Up to... spam 0.999998
3 mshenoda/roberta-spam To DELIVER 1*1.5 3H Feet Slate Combo With from... spam 0.999998
4 mshenoda/roberta-spam Hi GXXXEX! Get the best suppliers for NVIDIA ... spam 0.999998
5 mshenoda/roberta-spam 3 months free ZXXato Gold with NeXXard! TaXa N... spam 0.999998
6 mshenoda/roberta-spam AXko General Insurance Limited IRXAI Reg no. 1... spam 0.999998
7 mshenoda/roberta-spam 066XX9 is your One time password (OTP) to logi... important 0.181847
8 mshenoda/roberta-spam AaraXbh 2025 is LIVE! XXXX, join BuXXXh, Sunil... spam 0.999663
9 mshenoda/roberta-spam Are you ready to lead and be the voice of Yuva... spam 0.999990
10 mshenoda/roberta-spam We have accepted your request for Debit Card. ... spam 0.999965