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