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