Text Classification
Transformers
Safetensors
English
modernbert
refusal-detection
text-embeddings-inference
Instructions to use VINAY-UMRETHE/Refusal-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VINAY-UMRETHE/Refusal-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="VINAY-UMRETHE/Refusal-Classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("VINAY-UMRETHE/Refusal-Classifier") model = AutoModelForSequenceClassification.from_pretrained("VINAY-UMRETHE/Refusal-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
3 days ago
-
Upload assets/per_class_scores.png with huggingface_hub
Verified signature73e88e0 -
Upload assets/confusion_matrix.png with huggingface_hub
Verified signature35486db -
Upload assets/metrics.png with huggingface_hub
Verified signature21abdfb -
Upload assets/loss.png with huggingface_hub
Verified signaturede3b1cc -
Upload README.md with huggingface_hub
Verified signaturebe275c2 -
Upload tokenizer
Verified signatureaf51471 -
Upload ModernBertForSequenceClassification
Verified signature205ba66 -
initial commit
Verified signaturea840407