Instructions to use princeton-nlp/sup-simcse-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use princeton-nlp/sup-simcse-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="princeton-nlp/sup-simcse-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("princeton-nlp/sup-simcse-roberta-base") model = AutoModel.from_pretrained("princeton-nlp/sup-simcse-roberta-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
4bf73c6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2188d86af150c2cd8434a1241852c8d9e17e18cc6ce972293d81015aea7fa2a2
size 498589677
|