Text Classification
sentence-transformers
Joblib
Scikit-learn
French
cyberbullying
harassment
social-media
french
Eval Results (legacy)
Instructions to use DataForGood/balance-tes-haters-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use DataForGood/balance-tes-haters-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("DataForGood/balance-tes-haters-classifier") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Scikit-learn
How to use DataForGood/balance-tes-haters-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("DataForGood/balance-tes-haters-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
Add Arctic+MLP harassment classifier (F1=0.692)
Browse files
harassment_arctic_mlp.joblib
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0423807d2cf7ad5744ef477a7bb621c52728f7dae0add8363b0301f7b424f6ff
|
| 3 |
+
size 7120781
|