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