Instructions to use yiting/PerspectiveVision-CLIP-PL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yiting/PerspectiveVision-CLIP-PL with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("yiting/PerspectiveVision-CLIP-PL", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| {"clip_model_name": "ViT-L-14", "clip_pretrained": "OpenAI", "prompt_prefix": "This image is about something ", "device": "cuda", "unsafe_categories": ["Hate", "Harassment", "Violence", "Self-harm", "Sexual", "Shocking", "Illegal activity", "Deception", "Political", "Public and personal health", "Spam"]} |