from model2vec.inference import StaticModelPipeline
model = StaticModelPipeline.from_pretrained(
"enguard/tiny-guard-4m-en-prompt-hate-speech-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.
tiny-guard-4m-en-prompt-hate-speech-binary-moderation huggingface.co is an AI model on huggingface.co that provides tiny-guard-4m-en-prompt-hate-speech-binary-moderation's model effect (), which can be used instantly with this enguard tiny-guard-4m-en-prompt-hate-speech-binary-moderation model. huggingface.co supports a free trial of the tiny-guard-4m-en-prompt-hate-speech-binary-moderation model, and also provides paid use of the tiny-guard-4m-en-prompt-hate-speech-binary-moderation. Support call tiny-guard-4m-en-prompt-hate-speech-binary-moderation model through api, including Node.js, Python, http.
tiny-guard-4m-en-prompt-hate-speech-binary-moderation huggingface.co is an online trial and call api platform, which integrates tiny-guard-4m-en-prompt-hate-speech-binary-moderation's modeling effects, including api services, and provides a free online trial of tiny-guard-4m-en-prompt-hate-speech-binary-moderation, you can try tiny-guard-4m-en-prompt-hate-speech-binary-moderation online for free by clicking the link below.
enguard tiny-guard-4m-en-prompt-hate-speech-binary-moderation online free url in huggingface.co:
tiny-guard-4m-en-prompt-hate-speech-binary-moderation is an open source model from GitHub that offers a free installation service, and any user can find tiny-guard-4m-en-prompt-hate-speech-binary-moderation on GitHub to install. At the same time, huggingface.co provides the effect of tiny-guard-4m-en-prompt-hate-speech-binary-moderation install, users can directly use tiny-guard-4m-en-prompt-hate-speech-binary-moderation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
tiny-guard-4m-en-prompt-hate-speech-binary-moderation install url in huggingface.co: