research-backup / roberta-large-conceptnet-average-prompt-d-nce

huggingface.co
Total runs: 80
24-hour runs: 1
7-day runs: 5
30-day runs: 73
Model's Last Updated: September 21 2022
feature-extraction

Introduction of roberta-large-conceptnet-average-prompt-d-nce

Model Details of roberta-large-conceptnet-average-prompt-d-nce

relbert/roberta-large-conceptnet-average-prompt-d-nce

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:

  • Analogy Question ( dataset , full result ):
    • Accuracy on SAT (full): 0.5828877005347594
    • Accuracy on SAT: 0.5875370919881305
    • Accuracy on BATS: 0.7732073374096721
    • Accuracy on U2: 0.6535087719298246
    • Accuracy on U4: 0.6898148148148148
    • Accuracy on Google: 0.938
  • Lexical Relation Classification ( dataset , full result ):
    • Micro F1 score on BLESS: 0.9177339159258702
    • Micro F1 score on CogALexV: 0.8631455399061033
    • Micro F1 score on EVALution: 0.6706392199349945
    • Micro F1 score on K&H+N: 0.961188008624887
    • Micro F1 score on ROOT09: 0.8975242870573488
  • Relation Mapping ( dataset , full result ):
    • Accuracy on Relation Mapping: 0.8258730158730159
Usage

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-d-nce")
vector = model.get_embedding(['Tokyo', 'Japan'])  # shape of (1024, )
Training hyperparameters

The following hyperparameters were used during training:

  • model: roberta-large
  • max_length: 64
  • mode: average
  • data: relbert/conceptnet_high_confidence
  • template_mode: manual
  • template: I wasn’t aware of this relationship, but I just read in the encyclopedia that is the
  • loss_function: nce_logout
  • temperature_nce_constant: 0.05
  • temperature_nce_rank: {'min': 0.01, 'max': 0.05, 'type': 'linear'}
  • epoch: 147
  • batch: 128
  • lr: 5e-06
  • lr_decay: False
  • lr_warmup: 1
  • weight_decay: 0
  • random_seed: 0
  • exclude_relation: None
  • n_sample: 640
  • gradient_accumulation: 8

The full configuration can be found at fine-tuning parameter file .

Reference

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",
}

Runs of research-backup roberta-large-conceptnet-average-prompt-d-nce on huggingface.co

80
Total runs
1
24-hour runs
1
3-day runs
5
7-day runs
73
30-day runs

More Information About roberta-large-conceptnet-average-prompt-d-nce huggingface.co Model

roberta-large-conceptnet-average-prompt-d-nce huggingface.co

roberta-large-conceptnet-average-prompt-d-nce huggingface.co is an AI model on huggingface.co that provides roberta-large-conceptnet-average-prompt-d-nce's model effect (), which can be used instantly with this research-backup roberta-large-conceptnet-average-prompt-d-nce model. huggingface.co supports a free trial of the roberta-large-conceptnet-average-prompt-d-nce model, and also provides paid use of the roberta-large-conceptnet-average-prompt-d-nce. Support call roberta-large-conceptnet-average-prompt-d-nce model through api, including Node.js, Python, http.

roberta-large-conceptnet-average-prompt-d-nce huggingface.co Url

https://huggingface.co/research-backup/roberta-large-conceptnet-average-prompt-d-nce

research-backup roberta-large-conceptnet-average-prompt-d-nce online free

roberta-large-conceptnet-average-prompt-d-nce huggingface.co is an online trial and call api platform, which integrates roberta-large-conceptnet-average-prompt-d-nce's modeling effects, including api services, and provides a free online trial of roberta-large-conceptnet-average-prompt-d-nce, you can try roberta-large-conceptnet-average-prompt-d-nce online for free by clicking the link below.

research-backup roberta-large-conceptnet-average-prompt-d-nce online free url in huggingface.co:

https://huggingface.co/research-backup/roberta-large-conceptnet-average-prompt-d-nce

roberta-large-conceptnet-average-prompt-d-nce install

roberta-large-conceptnet-average-prompt-d-nce is an open source model from GitHub that offers a free installation service, and any user can find roberta-large-conceptnet-average-prompt-d-nce on GitHub to install. At the same time, huggingface.co provides the effect of roberta-large-conceptnet-average-prompt-d-nce install, users can directly use roberta-large-conceptnet-average-prompt-d-nce installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

roberta-large-conceptnet-average-prompt-d-nce install url in huggingface.co:

https://huggingface.co/research-backup/roberta-large-conceptnet-average-prompt-d-nce

Url of roberta-large-conceptnet-average-prompt-d-nce

roberta-large-conceptnet-average-prompt-d-nce huggingface.co Url

Provider of roberta-large-conceptnet-average-prompt-d-nce huggingface.co

research-backup
ORGANIZATIONS

Other API from research-backup