Instructions to use PraneshJs/PromptGuard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PraneshJs/PromptGuard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PraneshJs/PromptGuard")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PraneshJs/PromptGuard") model = AutoModelForSequenceClassification.from_pretrained("PraneshJs/PromptGuard") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- af6aa40bc1159c53e4ebc01d96430400fcae7be6d4a1d9657db9f26894344e20
- Size of remote file:
- 44.7 MB
- SHA256:
- ca394195e0265a40342626503e759295780eb99f213d954e211cbffe5d631a46
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.