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
a4a7565 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4839f0553d0d54bca51d27605cae589ae0f99d16ab2030a3103bcde65951e1bd
size 1109898021
|