Back to all models
text-classification mask_token: [MASK]
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint
								$ curl -X POST \
Share Copied link to clipboard

Monthly model downloads

sshleifer/tiny-distilbert-base-uncased-finetuned-sst-2-english sshleifer/tiny-distilbert-base-uncased-finetuned-sst-2-english
last 30 days



Contributed by

sshleifer Sam Shleifer
46 models

How to use this model directly from the 🤗/transformers library:

Copy to clipboard
from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sshleifer/tiny-distilbert-base-uncased-finetuned-sst-2-english") model = AutoModelForSequenceClassification.from_pretrained("sshleifer/tiny-distilbert-base-uncased-finetuned-sst-2-english")