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 +12 -7
.huggingfaceignore
CHANGED
|
@@ -1,14 +1,19 @@
|
|
| 1 |
# Ignore virtual environments
|
| 2 |
venv/
|
| 3 |
-
.
|
| 4 |
|
| 5 |
-
# Ignore
|
| 6 |
__pycache__/
|
| 7 |
*.pyc
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
# Ignore
|
| 10 |
-
.
|
|
|
|
| 11 |
|
| 12 |
-
# Ignore
|
| 13 |
-
|
| 14 |
-
|
|
|
|
| 1 |
# Ignore virtual environments
|
| 2 |
venv/
|
| 3 |
+
.env/
|
| 4 |
|
| 5 |
+
# Ignore cache and large files
|
| 6 |
__pycache__/
|
| 7 |
*.pyc
|
| 8 |
+
*.pkl
|
| 9 |
+
*.csv
|
| 10 |
+
*.log
|
| 11 |
+
cache/
|
| 12 |
|
| 13 |
+
# Ignore notebooks and test files
|
| 14 |
+
*.ipynb
|
| 15 |
+
tests/
|
| 16 |
|
| 17 |
+
# Ignore system or IDE files
|
| 18 |
+
.DS_Store
|
| 19 |
+
.vscode/
|