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")# pip install -U transformers accelerate # 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
Commit ·
2b6ddad
1
Parent(s): 7ae927f
Librarian Bot: Add base_model information to model (#1)
Browse files- Librarian Bot: Add base_model information to model (f7e9a98c285034bede2aab8535ffce01de9ac2cf)
Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -4,6 +4,7 @@ tags:
|
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: distilbert-base-uncased__sst2__all-train
|
| 9 |
results: []
|
|
|
|
| 4 |
- generated_from_trainer
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
+
base_model: distilbert-base-uncased
|
| 8 |
model-index:
|
| 9 |
- name: distilbert-base-uncased__sst2__all-train
|
| 10 |
results: []
|