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