Instructions to use dima806/email-spam-detection-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/email-spam-detection-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dima806/email-spam-detection-roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dima806/email-spam-detection-roberta") model = AutoModelForSequenceClassification.from_pretrained("dima806/email-spam-detection-roberta") - Inference
- Notebooks
- Google Colab
- Kaggle
See https://www.kaggle.com/code/dima806/email-spam-classification-roberta for more details.
- Downloads last month
- 3,347
Model tree for dima806/email-spam-detection-roberta
Base model
FacebookAI/roberta-base