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: 134 Bytes
fbaf927 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:50a8a493a7d39eb568f9b195a446a70c364e5af1a95ae6b1f642d6ff28808524
size 997298211
|