Downloads · 30 days
12
3% of all-time downloads
research-backup/roberta-large-conceptnet-average-prompt-e-nce
roberta-large-conceptnet-average-prompt-e-nce is a feature extraction model from research-backup. Use it when you need embeddings to search or compare text. It is set up for transformers.
RelBERT fine-tuned from roberta-large on relbert/conceptnethighconfidence. Fine-tuning is done via RelBERT library (see the repository for more detail). It achieves the following results on the relation understanding…
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
397
Public
Repo size
4.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.4 GB · 100%
From the Hugging Face model README
RelBERT fine-tuned from roberta-large on
relbert/conceptnet_high_confidence.
Fine-tuning is done via RelBERT library (see the repository for more detail).
It achieves the following results on the relation understanding tasks:
This model can be used through the relbert library. Install the library via pip
pip install relbert
and activate model as below.
from relbert import RelBERT
model = RelBERT("relbert/roberta-large-conceptnet-average-prompt-e-nce")
vector = model.get_embedding(['Tokyo', 'Japan']) # shape of (1024, )
The following hyperparameters were used during training:
The full configuration can be found at fine-tuning parameter file.
If you use any resource from RelBERT, please consider to cite our paper.
@inproceedings{ushio-etal-2021-distilling-relation-embeddings,
title = "{D}istilling {R}elation {E}mbeddings from {P}re-trained {L}anguage {M}odels",
author = "Ushio, Asahi and
Schockaert, Steven and
Camacho-Collados, Jose",
booktitle = "EMNLP 2021",
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
}