Instructions to use textattack/bert-base-uncased-SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-SST-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-SST-2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-SST-2") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-SST-2") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
95f0f6f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:57ebdee44ea63b8f3a2a53011dabbd37a7bec8da5d38834beb9751075bb8b821
size 437942328
|