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: 134 Bytes
3af139d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5088119e2d29035970b23c3caea3c91b912caaf3cc802ba5e4d2052e15cc0c5f
size 437982311
|