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
Download pytorch_model.bin from nicolay/prompt-classifier: direct link, hf CLI and curl.
- Browser
- Download file 268 MB
-
https://huggingface.co/nicolay/prompt-classifier/resolve/refs%2Fpr%2F2/pytorch_model.bin
- Command line
-
hf download hf://nicolay/prompt-classifier@refs/pr/2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/nicolay/prompt-classifier/resolve/refs%2Fpr%2F2/pytorch_model.bin
268 MB
- Xet hash:
- 24966508a1b30f8c96846255ae6c4ad9005bf0eac54ee231ac2c3ec7ce49a548
- Size of remote file:
- 268 MB
- SHA256:
- f8f89eb8564e10f21d16578d11da591545f10785c50d8eb0b05b1dfe462e8ce5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.