Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use thedavidhackett/distilbert-prompt-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thedavidhackett/distilbert-prompt-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="thedavidhackett/distilbert-prompt-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("thedavidhackett/distilbert-prompt-classifier") model = AutoModelForSequenceClassification.from_pretrained("thedavidhackett/distilbert-prompt-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
3b175b5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:865832ef924505918573c6ab9395db6c42f84bbcf60ff5019c0fc26e99047f6f
size 5201
|