Instructions to use cambridgeltl/trans-encoder-bi-simcse-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cambridgeltl/trans-encoder-bi-simcse-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="cambridgeltl/trans-encoder-bi-simcse-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("cambridgeltl/trans-encoder-bi-simcse-roberta-large") model = AutoModelForMultimodalLM.from_pretrained("cambridgeltl/trans-encoder-bi-simcse-roberta-large") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,7 @@ language: en
|
|
| 4 |
tags:
|
| 5 |
- sentence-embeddings
|
| 6 |
- sentence-similarity
|
|
|
|
| 7 |
|
| 8 |
### cambridgeltl/trans-encoder-bi-simcse-roberta-large
|
| 9 |
An unsupervised sentence encoder (bi-encoder) proposed by [Liu et al. (2021)](https://arxiv.org/pdf/2109.13059.pdf). The model is trained with unlabelled sentence pairs sampled from STS2012-2016, STS-b, and SICK-R, using [princeton-nlp/unsup-simcse-roberta-large](https://huggingface.co/princeton-nlp/unsup-simcse-roberta-large) as the base model. Please use `[CLS]` (before pooler) as the representation of the input.
|
|
|
|
| 4 |
tags:
|
| 5 |
- sentence-embeddings
|
| 6 |
- sentence-similarity
|
| 7 |
+
- dual-encoder
|
| 8 |
|
| 9 |
### cambridgeltl/trans-encoder-bi-simcse-roberta-large
|
| 10 |
An unsupervised sentence encoder (bi-encoder) proposed by [Liu et al. (2021)](https://arxiv.org/pdf/2109.13059.pdf). The model is trained with unlabelled sentence pairs sampled from STS2012-2016, STS-b, and SICK-R, using [princeton-nlp/unsup-simcse-roberta-large](https://huggingface.co/princeton-nlp/unsup-simcse-roberta-large) as the base model. Please use `[CLS]` (before pooler) as the representation of the input.
|