Instructions to use VINAY-UMRETHE/tiny-refusal-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VINAY-UMRETHE/tiny-refusal-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="VINAY-UMRETHE/tiny-refusal-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("VINAY-UMRETHE/tiny-refusal-classifier") model = AutoModelForSequenceClassification.from_pretrained("VINAY-UMRETHE/tiny-refusal-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 215 Bytes
ca10685 | 1 2 3 4 5 6 7 8 9 10 | ---
library_name: transformers
base_model:
- VINAY-UMRETHE/Refusal-Classifier
---
# Tiny Randomly Initialized
**Model:** [VINAY-UMRETHE/Refusal-Classifier](https://huggingface.co/VINAY-UMRETHE/Refusal-Classifier)
|