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
Add citation
Browse files
README.md
CHANGED
|
@@ -123,3 +123,15 @@ python train.py \
|
|
| 123 |
--fp16 \
|
| 124 |
--seed 28852
|
| 125 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
--fp16 \
|
| 124 |
--seed 28852
|
| 125 |
```
|
| 126 |
+
|
| 127 |
+
## Citation
|
| 128 |
+
```bibtex
|
| 129 |
+
@article{vamvas-sennrich-2023-rsd,
|
| 130 |
+
title={Towards Unsupervised Recognition of Semantic Differences in Related Documents},
|
| 131 |
+
author={Jannis Vamvas and Rico Sennrich},
|
| 132 |
+
year={2023},
|
| 133 |
+
eprint={2305.13303},
|
| 134 |
+
archivePrefix={arXiv},
|
| 135 |
+
primaryClass={cs.CL}
|
| 136 |
+
}
|
| 137 |
+
```
|