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
|
Download README.md from VINAY-UMRETHE/tiny-refusal-classifier: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/VINAY-UMRETHE/tiny-refusal-classifier/resolve/main/README.md
- Command line
-
hf download hf://VINAY-UMRETHE/tiny-refusal-classifier/README.md
-
curl -L -o README.md https://huggingface.co/VINAY-UMRETHE/tiny-refusal-classifier/resolve/main/README.md
215 Bytes
| library_name: transformers | |
| base_model: | |
| - VINAY-UMRETHE/Refusal-Classifier | |
| # Tiny Randomly Initialized | |
| **Model:** [VINAY-UMRETHE/Refusal-Classifier](https://huggingface.co/VINAY-UMRETHE/Refusal-Classifier) | |