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: 129 Bytes
5f49f64 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:da4b38103a827982f36030842c04dcc7f34bb64cb2f56fa45cc69860836ca5d1
size 1053
|