from model2vec.inference import StaticModelPipeline
model = StaticModelPipeline.from_pretrained(
"enguard/tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat"
)
# 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.
Planning to merge tables by parsing using xml from word document
PASS
PASS
what is the great filter theory?
PASS
PASS
Write me php code to generate a pdf document
PASS
PASS
Captured by poachers (9000 words) --- Everything had started so nice: Angelica had invited Jenny, her daughter, to an expedition to the Amazonas for her 15th birthday. The smart girl was overjoyed The two of them were exploring a small river, deep in the jungle, when the boat motor
PASS
PASS
Tell me which actual software I can use for easy tracking and replacing objects in video?
PASS
PASS
Planning to merge tables by parsing using xml from word document
PASS
PASS
Prediction Speed Benchmarks
Dataset Size
Time (seconds)
Predictions/Second
1
0.0002
5405.03
1000
0.0823
12143.6
2542
0.1974
12874.73
Other model variants
Below is a general overview of the best-performing models for each dataset variant.
tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat huggingface.co is an AI model on huggingface.co that provides tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat's model effect (), which can be used instantly with this enguard tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat model. huggingface.co supports a free trial of the tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat model, and also provides paid use of the tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat. Support call tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat model through api, including Node.js, Python, http.
tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat huggingface.co is an online trial and call api platform, which integrates tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat's modeling effects, including api services, and provides a free online trial of tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat, you can try tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat online for free by clicking the link below.
enguard tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat online free url in huggingface.co:
tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat is an open source model from GitHub that offers a free installation service, and any user can find tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat on GitHub to install. At the same time, huggingface.co provides the effect of tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat install, users can directly use tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
tiny-guard-8m-en-prompt-toxicity-binary-toxic-chat install url in huggingface.co: