Downloads · 30 days
0
HowToSD/text_prompt_safety_checker
text_prompt_safety_checker is a machine learning model from HowToSD. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is a safety checker model designed to detect NSFW word(s) in text. The intended use case is for an text to image generator.
Downloads · 30 days
0
Access
Public
Updated Jul 12, 2024
Repo size
438 MB
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This is a safety checker model designed to detect NSFW word(s) in text. The intended use case is for an text to image generator.
This model is based on the google-bert/bert-base-uncased model and has been fine-tuned for binary classification.
Custom textual training data (NSFW text instances as positive and SFW text instances as negative) was used.
Inference code is available at https://github.com/HowToSD/cremage/tree/main/modules/text_prompt_safety_checker. The model license specified here is not applicable to the source code above.
The model weights are licensed under the Apache License 2.0. The license applies only to the model weights and not to the model code.