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
de03cb6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a5f7d1b5618ba58907379af830ee895c8800e3b381286b13d07d90aaf204dc40
size 437985387
|