Instructions to use xTRam1/safe-guard-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xTRam1/safe-guard-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="xTRam1/safe-guard-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("xTRam1/safe-guard-classifier") model = AutoModelForSequenceClassification.from_pretrained("xTRam1/safe-guard-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature1a2d3f0 -
Update README.md
Verified signature2fbef84 -
Update README.md
Verified signature080fd0f
-
Upload tokenizer
Verified signature8c56a95 -
Upload DebertaV2ForSequenceClassification
Verified signatureacca002 -
initial commit
Verified signature8ecd6ff