Instructions to use ZurichNLP/unsup-simcse-xlm-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZurichNLP/unsup-simcse-xlm-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ZurichNLP/unsup-simcse-xlm-roberta-base")# Load model directly from transformers import AutoTokenizer, RobertaForCL tokenizer = AutoTokenizer.from_pretrained("ZurichNLP/unsup-simcse-xlm-roberta-base") model = RobertaForCL.from_pretrained("ZurichNLP/unsup-simcse-xlm-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
e7b6461 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:01ea13510cf1737c4830c63d6547c7e16aa577fbc134aede054577cedef54c4f
size 1109840320
|