enguard / small-guard-32m-en-prompt-harassment-binary-moderation

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: -2
30-day runs: 1
Model's Last Updated: November 06 2025
text-classification

Introduction of small-guard-32m-en-prompt-harassment-binary-moderation

Model Details of small-guard-32m-en-prompt-harassment-binary-moderation

enguard/small-guard-32m-en-prompt-harassment-binary-moderation

This model is a fine-tuned Model2Vec classifier based on minishlab/potion-base-32m for the prompt-harassment-binary found in the enguard/multi-lingual-prompt-moderation dataset.

Installation
pip install model2vec[inference]
Usage
from model2vec.inference import StaticModelPipeline

model = StaticModelPipeline.from_pretrained(
  "enguard/small-guard-32m-en-prompt-harassment-binary-moderation"
)


# Supports single texts. Format input as a single text:
text = "Example sentence"

model.predict([text])
model.predict_proba([text])
Why should you use these models?
  • Optimized for precision to reduce false positives.
  • Extremely fast inference: up to x500 faster than SetFit.
This model variant

Below is a quick overview of the model variant and core metrics.

Field Value
Classifies prompt-harassment-binary
Base Model minishlab/potion-base-32m
Precision 0.8809
Recall 0.7964
F1 0.8365
Confusion Matrix
True \ Predicted FAIL PASS
FAIL 1578 406
PASS 214 1770
Full metrics (JSON)
{
  "FAIL": {
    "precision": 0.8809390721073225,
    "recall": 0.7963617988883275,
    "f1-score": 0.8365180467091295,
    "support": 1979.0
  },
  "PASS": {
    "precision": 0.8132530120481928,
    "recall": 0.8917682926829268,
    "f1-score": 0.8507028599127484,
    "support": 1968.0
  },
  "accuracy": 0.843932100329364,
  "macro avg": {
    "precision": 0.8470960420777576,
    "recall": 0.8440650457856271,
    "f1-score": 0.843610453310939,
    "support": 3947.0
  },
  "weighted avg": {
    "precision": 0.8471903601244577,
    "recall": 0.843932100329364,
    "f1-score": 0.8435906872930469,
    "support": 3947.0
  }
}
Sample Predictions
Text True Label Predicted Label
you don't have much experience with european gypsies, do you?

Touch one, and they spawn cousins all around you like an RPG boss.
FAIL FAIL
良い、悪天候時butthole! FAIL FAIL
I know what you are thinking....but where will he build the fire for the smoke signals? PASS PASS
Not really even an "unnatural" disaster. Oil comes from the earth, water comes from the earth. Its inevitable that they will find each other. PASS PASS
You don't even know what you were quoting, do you? You just saw it on the internet somewhere and decided to parrot it here on reddit for karma.

Nicely done, I'll give you a C for effort, but you should try harder next time.

FAIL PASS
you don't have much experience with european gypsies, do you?

Touch one, and they spawn cousins all around you like an RPG boss.
FAIL FAIL
Prediction Speed Benchmarks
Dataset Size Time (seconds) Predictions/Second
1 0.0003 3509.88
1000 0.0936 10686.04
3968 0.28 14172.59
Other model variants

Below is a general overview of the best-performing models for each dataset variant.

Classifies Model Precision Recall F1
prompt-harassment-binary enguard/tiny-guard-2m-en-prompt-harassment-binary-moderation 0.8788 0.7180 0.7903
prompt-harmfulness-binary enguard/tiny-guard-2m-en-prompt-harmfulness-binary-moderation 0.8543 0.7256 0.7847
prompt-harmfulness-multilabel enguard/tiny-guard-2m-en-prompt-harmfulness-multilabel-moderation 0.7687 0.5006 0.6064
prompt-hate-speech-binary enguard/tiny-guard-2m-en-prompt-hate-speech-binary-moderation 0.9141 0.7269 0.8098
prompt-self-harm-binary enguard/tiny-guard-2m-en-prompt-self-harm-binary-moderation 0.8929 0.7143 0.7937
prompt-sexual-content-binary enguard/tiny-guard-2m-en-prompt-sexual-content-binary-moderation 0.9256 0.8141 0.8663
prompt-violence-binary enguard/tiny-guard-2m-en-prompt-violence-binary-moderation 0.9017 0.7645 0.8275
prompt-harassment-binary enguard/tiny-guard-4m-en-prompt-harassment-binary-moderation 0.8895 0.7160 0.7934
prompt-harmfulness-binary enguard/tiny-guard-4m-en-prompt-harmfulness-binary-moderation 0.8565 0.7540 0.8020
prompt-harmfulness-multilabel enguard/tiny-guard-4m-en-prompt-harmfulness-multilabel-moderation 0.7924 0.5663 0.6606
prompt-hate-speech-binary enguard/tiny-guard-4m-en-prompt-hate-speech-binary-moderation 0.9198 0.7831 0.8460
prompt-self-harm-binary enguard/tiny-guard-4m-en-prompt-self-harm-binary-moderation 0.9062 0.8286 0.8657
prompt-sexual-content-binary enguard/tiny-guard-4m-en-prompt-sexual-content-binary-moderation 0.9371 0.8468 0.8897
prompt-violence-binary enguard/tiny-guard-4m-en-prompt-violence-binary-moderation 0.8851 0.8370 0.8603
prompt-harassment-binary enguard/tiny-guard-8m-en-prompt-harassment-binary-moderation 0.8895 0.7767 0.8292
prompt-harmfulness-binary enguard/tiny-guard-8m-en-prompt-harmfulness-binary-moderation 0.8627 0.7912 0.8254
prompt-harmfulness-multilabel enguard/tiny-guard-8m-en-prompt-harmfulness-multilabel-moderation 0.7902 0.5926 0.6773
prompt-hate-speech-binary enguard/tiny-guard-8m-en-prompt-hate-speech-binary-moderation 0.9152 0.8233 0.8668
prompt-self-harm-binary enguard/tiny-guard-8m-en-prompt-self-harm-binary-moderation 0.9667 0.8286 0.8923
prompt-sexual-content-binary enguard/tiny-guard-8m-en-prompt-sexual-content-binary-moderation 0.9382 0.8881 0.9125
prompt-violence-binary enguard/tiny-guard-8m-en-prompt-violence-binary-moderation 0.9042 0.8551 0.8790
prompt-harassment-binary enguard/small-guard-32m-en-prompt-harassment-binary-moderation 0.8809 0.7964 0.8365
prompt-harmfulness-binary enguard/small-guard-32m-en-prompt-harmfulness-binary-moderation 0.8548 0.8239 0.8391
prompt-harmfulness-multilabel enguard/small-guard-32m-en-prompt-harmfulness-multilabel-moderation 0.8065 0.6494 0.7195
prompt-hate-speech-binary enguard/small-guard-32m-en-prompt-hate-speech-binary-moderation 0.9207 0.8394 0.8782
prompt-self-harm-binary enguard/small-guard-32m-en-prompt-self-harm-binary-moderation 0.9333 0.8000 0.8615
prompt-sexual-content-binary enguard/small-guard-32m-en-prompt-sexual-content-binary-moderation 0.9328 0.8847 0.9081
prompt-violence-binary enguard/small-guard-32m-en-prompt-violence-binary-moderation 0.9077 0.8913 0.8995
prompt-harassment-binary enguard/medium-guard-128m-xx-prompt-harassment-binary-moderation 0.8660 0.8034 0.8336
prompt-harmfulness-binary enguard/medium-guard-128m-xx-prompt-harmfulness-binary-moderation 0.8457 0.8074 0.8261
prompt-harmfulness-multilabel enguard/medium-guard-128m-xx-prompt-harmfulness-multilabel-moderation 0.7795 0.6516 0.7098
prompt-hate-speech-binary enguard/medium-guard-128m-xx-prompt-hate-speech-binary-moderation 0.8826 0.8153 0.8476
prompt-self-harm-binary enguard/medium-guard-128m-xx-prompt-self-harm-binary-moderation 0.9375 0.8571 0.8955
prompt-sexual-content-binary enguard/medium-guard-128m-xx-prompt-sexual-content-binary-moderation 0.9153 0.8744 0.8944
prompt-violence-binary enguard/medium-guard-128m-xx-prompt-violence-binary-moderation 0.8821 0.8406 0.8609
Resources
Citation

If you use this model, please cite Model2Vec:

@software{minishlab2024model2vec,
  author       = {Stephan Tulkens and {van Dongen}, Thomas},
  title        = {Model2Vec: Fast State-of-the-Art Static Embeddings},
  year         = {2024},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.17270888},
  url          = {https://github.com/MinishLab/model2vec},
  license      = {MIT}
}

Runs of enguard small-guard-32m-en-prompt-harassment-binary-moderation on huggingface.co

10
Total runs
0
24-hour runs
1
3-day runs
-2
7-day runs
1
30-day runs

More Information About small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co Model

More small-guard-32m-en-prompt-harassment-binary-moderation license Visit here:

https://choosealicense.com/licenses/mit

small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co

small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co is an AI model on huggingface.co that provides small-guard-32m-en-prompt-harassment-binary-moderation's model effect (), which can be used instantly with this enguard small-guard-32m-en-prompt-harassment-binary-moderation model. huggingface.co supports a free trial of the small-guard-32m-en-prompt-harassment-binary-moderation model, and also provides paid use of the small-guard-32m-en-prompt-harassment-binary-moderation. Support call small-guard-32m-en-prompt-harassment-binary-moderation model through api, including Node.js, Python, http.

small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co Url

https://huggingface.co/enguard/small-guard-32m-en-prompt-harassment-binary-moderation

enguard small-guard-32m-en-prompt-harassment-binary-moderation online free

small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co is an online trial and call api platform, which integrates small-guard-32m-en-prompt-harassment-binary-moderation's modeling effects, including api services, and provides a free online trial of small-guard-32m-en-prompt-harassment-binary-moderation, you can try small-guard-32m-en-prompt-harassment-binary-moderation online for free by clicking the link below.

enguard small-guard-32m-en-prompt-harassment-binary-moderation online free url in huggingface.co:

https://huggingface.co/enguard/small-guard-32m-en-prompt-harassment-binary-moderation

small-guard-32m-en-prompt-harassment-binary-moderation install

small-guard-32m-en-prompt-harassment-binary-moderation is an open source model from GitHub that offers a free installation service, and any user can find small-guard-32m-en-prompt-harassment-binary-moderation on GitHub to install. At the same time, huggingface.co provides the effect of small-guard-32m-en-prompt-harassment-binary-moderation install, users can directly use small-guard-32m-en-prompt-harassment-binary-moderation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

small-guard-32m-en-prompt-harassment-binary-moderation install url in huggingface.co:

https://huggingface.co/enguard/small-guard-32m-en-prompt-harassment-binary-moderation

Url of small-guard-32m-en-prompt-harassment-binary-moderation

small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co Url

Provider of small-guard-32m-en-prompt-harassment-binary-moderation huggingface.co

enguard
ORGANIZATIONS

Other API from enguard