Instructions to use UdS-LSV/mcse-flickr-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UdS-LSV/mcse-flickr-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="UdS-LSV/mcse-flickr-roberta-base")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("UdS-LSV/mcse-flickr-roberta-base") model = AutoModel.from_pretrained("UdS-LSV/mcse-flickr-roberta-base") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("UdS-LSV/mcse-flickr-roberta-base")
model = AutoModel.from_pretrained("UdS-LSV/mcse-flickr-roberta-base")Quick Links
MCSE: Multimodal Contrastive Learning of Sentence Embeddings (NAACL 2022)
Paper link: https://aclanthology.org/2022.naacl-main.436/
Github: https://github.com/uds-lsv/MCSE
Author list: Miaoran Zhang, Marius Mosbach, David Adelani, Michael Hedderich, Dietrich Klakow
Model Details
- base model: roberta-base
- training data: Wiki1M + Flicker30k
Evaluation Results
| STS12 | STS13 | STS14 | STS15 | STS16 | STSBenchmark | SICKRelatedness | Avg. |
|---|---|---|---|---|---|---|---|
| 71.74 | 82.60 | 75.67 | 84.49 | 80.74 | 81.52 | 72.30 | 78.44 |
- Downloads last month
- 4
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="UdS-LSV/mcse-flickr-roberta-base")