Instructions to use ModelForge/spam-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use ModelForge/spam-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("ModelForge/spam-classifier", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Sam Chaudry commited on
Update Read Me
Browse files
README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# SMS Spam Classifier
|
| 2 |
|
| 3 |
-
A simple SMS spam classifier trained on real-world data (UCI SMS Spam dataset).
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
- f1
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
pipeline_tag: text-classification
|
| 11 |
+
library_name: sklearn
|
| 12 |
+
tags:
|
| 13 |
+
- spam
|
| 14 |
+
- text-classification
|
| 15 |
+
- binary-classification
|
| 16 |
+
- scikit-learn
|
| 17 |
+
- english
|
| 18 |
+
- joblib
|
| 19 |
+
---
|
| 20 |
# SMS Spam Classifier
|
| 21 |
|
| 22 |
+
A simple SMS spam classifier trained on real-world data (UCI SMS Spam dataset).
|