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