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
- Xet hash:
- cf64a374e5a750a90252a39dc9b33e43ab489b2398d8576b570a013cda760f25
- Size of remote file:
- 1.05 kB
- SHA256:
- da4b38103a827982f36030842c04dcc7f34bb64cb2f56fa45cc69860836ca5d1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.