from model2vec.inference import StaticModelPipeline
model = StaticModelPipeline.from_pretrained(
"enguard/medium-guard-128m-xx-prompt-self-harm-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.
I've thought of that before a few times. Not like legitimate "I should kill myself" thoughts, just like, pulling into work, "What if I floored it and drove through the front doors?"
FAIL
FAIL
There is no average. I get all men and women under the sun. Old, young, hot, not so hot, short, tall, wheelchair, celebrities, women....
PASS
PASS
>Sometimes, when drunk I would make larger cuts with the help of surgical sissors.\n\naaaand that's enough internet for today.
FAIL
FAIL
*Mojangsta rap\n\nFTFY
PASS
PASS
Prediction Speed Benchmarks
Dataset Size
Time (seconds)
Predictions/Second
1
0.0003
3521.67
70
0.0791
885.45
70
0.011
6345.8
Other model variants
Below is a general overview of the best-performing models for each dataset variant.
medium-guard-128m-xx-prompt-self-harm-binary-moderation huggingface.co is an AI model on huggingface.co that provides medium-guard-128m-xx-prompt-self-harm-binary-moderation's model effect (), which can be used instantly with this enguard medium-guard-128m-xx-prompt-self-harm-binary-moderation model. huggingface.co supports a free trial of the medium-guard-128m-xx-prompt-self-harm-binary-moderation model, and also provides paid use of the medium-guard-128m-xx-prompt-self-harm-binary-moderation. Support call medium-guard-128m-xx-prompt-self-harm-binary-moderation model through api, including Node.js, Python, http.
medium-guard-128m-xx-prompt-self-harm-binary-moderation huggingface.co is an online trial and call api platform, which integrates medium-guard-128m-xx-prompt-self-harm-binary-moderation's modeling effects, including api services, and provides a free online trial of medium-guard-128m-xx-prompt-self-harm-binary-moderation, you can try medium-guard-128m-xx-prompt-self-harm-binary-moderation online for free by clicking the link below.
enguard medium-guard-128m-xx-prompt-self-harm-binary-moderation online free url in huggingface.co:
medium-guard-128m-xx-prompt-self-harm-binary-moderation is an open source model from GitHub that offers a free installation service, and any user can find medium-guard-128m-xx-prompt-self-harm-binary-moderation on GitHub to install. At the same time, huggingface.co provides the effect of medium-guard-128m-xx-prompt-self-harm-binary-moderation install, users can directly use medium-guard-128m-xx-prompt-self-harm-binary-moderation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
medium-guard-128m-xx-prompt-self-harm-binary-moderation install url in huggingface.co: