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
Upload folder using huggingface_hub
Browse files- .huggingfaceignore +2 -0
.huggingfaceignore
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
# Ignore virtual environments
|
| 2 |
venv/
|
| 3 |
.env/
|
|
|
|
|
|
|
| 4 |
|
| 5 |
# Ignore cache and large files
|
| 6 |
__pycache__/
|
|
|
|
| 1 |
# Ignore virtual environments
|
| 2 |
venv/
|
| 3 |
.env/
|
| 4 |
+
__pycache__/
|
| 5 |
+
*.pyc
|
| 6 |
|
| 7 |
# Ignore cache and large files
|
| 8 |
__pycache__/
|