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