Instructions to use sirunchained/bad-comment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use sirunchained/bad-comment with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("sirunchained/bad-comment", "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
Upload offensive_text_classifier.pkl with huggingface_hub
Browse files
offensive_text_classifier.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8be392599a5799a4d0bbd6b8076063262e149dde356f25bdb09f7348c64bb65e
|
| 3 |
+
size 924659
|