Text Classification
Transformers
PyTorch
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use SetFit/distilbert-base-uncased__sst2__all-train with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SetFit/distilbert-base-uncased__sst2__all-train with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SetFit/distilbert-base-uncased__sst2__all-train")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SetFit/distilbert-base-uncased__sst2__all-train") model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__sst2__all-train", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d5582f87140fd2e2588b0a02fb8fd9db1b57316db67c6d21a0b7c6e9d0ac6762
- Size of remote file:
- 268 MB
- SHA256:
- cd46a4a47f9b11f2ad9a40cb6b9fdf7905999c35f5e1172b04e778454877f89b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.