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:f0ae11f0df38f5795865ba1d3997efb24b8729f301afe94832cdd5f36870272f
size 875991075
|