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", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mshenoda/roberta-spam") model = AutoModelForSequenceClassification.from_pretrained("mshenoda/roberta-spam", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,7 @@ Spam messages frequently carry malicious links or phishing attempts posing signi
|
|
| 28 |
Your feedback is important and would help keep this relevent.
|
| 29 |
|
| 30 |
## Metrics
|
| 31 |
-
Loss | Accuracy(
|
| 32 |
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
|
| 33 |
 Train / Validation |  Validation |  Validation |  Testing Set
|
| 34 |
|
|
|
|
| 28 |
Your feedback is important and would help keep this relevent.
|
| 29 |
|
| 30 |
## Metrics
|
| 31 |
+
Loss | Accuracy(99.06%) | Precision(99.71%) / Recall(99.34%) | Confusion Matrix
|
| 32 |
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
|
| 33 |
 Train / Validation |  Validation |  Validation |  Testing Set
|
| 34 |
|