from model2vec.inference import StaticModelPipeline
model = StaticModelPipeline.from_pretrained(
"enguard/tiny-guard-2m-en-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
PASS
*Mojangsta rap\n\nFTFY
PASS
PASS
Prediction Speed Benchmarks
Dataset Size
Time (seconds)
Predictions/Second
1
0.0002
5809.29
70
0.0073
9606.11
70
0.0054
12990.06
Other model variants
Below is a general overview of the best-performing models for each dataset variant.
tiny-guard-2m-en-prompt-self-harm-binary-moderation huggingface.co is an AI model on huggingface.co that provides tiny-guard-2m-en-prompt-self-harm-binary-moderation's model effect (), which can be used instantly with this enguard tiny-guard-2m-en-prompt-self-harm-binary-moderation model. huggingface.co supports a free trial of the tiny-guard-2m-en-prompt-self-harm-binary-moderation model, and also provides paid use of the tiny-guard-2m-en-prompt-self-harm-binary-moderation. Support call tiny-guard-2m-en-prompt-self-harm-binary-moderation model through api, including Node.js, Python, http.
tiny-guard-2m-en-prompt-self-harm-binary-moderation huggingface.co is an online trial and call api platform, which integrates tiny-guard-2m-en-prompt-self-harm-binary-moderation's modeling effects, including api services, and provides a free online trial of tiny-guard-2m-en-prompt-self-harm-binary-moderation, you can try tiny-guard-2m-en-prompt-self-harm-binary-moderation online for free by clicking the link below.
enguard tiny-guard-2m-en-prompt-self-harm-binary-moderation online free url in huggingface.co:
tiny-guard-2m-en-prompt-self-harm-binary-moderation is an open source model from GitHub that offers a free installation service, and any user can find tiny-guard-2m-en-prompt-self-harm-binary-moderation on GitHub to install. At the same time, huggingface.co provides the effect of tiny-guard-2m-en-prompt-self-harm-binary-moderation install, users can directly use tiny-guard-2m-en-prompt-self-harm-binary-moderation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
tiny-guard-2m-en-prompt-self-harm-binary-moderation install url in huggingface.co: