readme: ---
  datasets:
  - relbert/semeval2012_relational_similarity_v2
  model-index:
  - name: relbert/roberta-large-semeval2012-v2-mask-prompt-e-nce
    results:
    - task:
        name: Relation Mapping
        type: sorting-task
      dataset:
        name: Relation Mapping
        args: relbert/relation_mapping
        type: relation-mapping
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.8457142857142858
    - task:
        name: Analogy Questions (SAT full)
        type: multiple-choice-qa
      dataset:
        name: SAT full
        args: relbert/analogy_questions
        type: analogy-questions
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.6096256684491979
    - task:
        name: Analogy Questions (SAT)
        type: multiple-choice-qa
      dataset:
        name: SAT
        args: relbert/analogy_questions
        type: analogy-questions
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.6112759643916914
    - task:
        name: Analogy Questions (BATS)
        type: multiple-choice-qa
      dataset:
        name: BATS
        args: relbert/analogy_questions
        type: analogy-questions
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.7576431350750417
    - task:
        name: Analogy Questions (Google)
        type: multiple-choice-qa
      dataset:
        name: Google
        args: relbert/analogy_questions
        type: analogy-questions
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.878
    - task:
        name: Analogy Questions (U2)
        type: multiple-choice-qa
      dataset:
        name: U2
        args: relbert/analogy_questions
        type: analogy-questions
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.5964912280701754
    - task:
        name: Analogy Questions (U4)
        type: multiple-choice-qa
      dataset:
        name: U4
        args: relbert/analogy_questions
        type: analogy-questions
      metrics:
      - name: Accuracy
        type: accuracy
        value: 0.6087962962962963
    - task:
        name: Lexical Relation Classification (BLESS)
        type: classification
      dataset:
        name: BLESS
        args: relbert/lexical_relation_classification
        type: relation-classification
      metrics:
      - name: F1
        type: f1
        value: 0.9264728039777008
      - name: F1 (macro)
        type: f1_macro
        value: 0.9231888761944194
    - task:
        name: Lexical Relation Classification (CogALexV)
        type: classification
      dataset:
        name: CogALexV
        args: relbert/lexical_relation_classification
        type: relation-classification
      metrics:
      - name: F1
        type: f1
        value: 0.8720657276995305
      - name: F1 (macro)
        type: f1_macro
        value: 0.7203249423895846
    - task:
        name: Lexical Relation Classification (EVALution)
        type: classification
      dataset:
        name: BLESS
        args: relbert/lexical_relation_classification
        type: relation-classification
      metrics:
      - name: F1
        type: f1
        value: 0.7074756229685807
      - name: F1 (macro)
        type: f1_macro
        value: 0.7003587066174993
    - task:
        name: Lexical Relation Classification (K&H+N)
        type: classification
      dataset:
        name: K&H+N
        args: relbert/lexical_relation_classification
        type: relation-classification
      metrics:
      - name: F1
        type: f1
        value: 0.9625095638867636
      - name: F1 (macro)
        type: f1_macro
        value: 0.8943198093953978
    - task:
        name: Lexical Relation Classification (ROOT09)
        type: classification
      dataset:
        name: ROOT09
        args: relbert/lexical_relation_classification
        type: relation-classification
      metrics:
      - name: F1
        type: f1
        value: 0.9022250078345346
      - name: F1 (macro)
        type: f1_macro
        value: 0.9008228707899653
  
  ---
  # relbert/roberta-large-semeval2012-v2-mask-prompt-e-nce
  
  RelBERT fine-tuned from [roberta-large](https://huggingface.co/roberta-large) on  
  [relbert/semeval2012_relational_similarity_v2](https://huggingface.co/datasets/relbert/semeval2012_relational_similarity_v2).
  Fine-tuning is done via [RelBERT](https://github.com/asahi417/relbert) library (see the repository for more detail).
  It achieves the following results on the relation understanding tasks:
  - Analogy Question ([dataset](https://huggingface.co/datasets/relbert/analogy_questions), [full result](https://huggingface.co/relbert/roberta-large-semeval2012-v2-mask-prompt-e-nce/raw/main/analogy.json)):
      - Accuracy on SAT (full): 0.6096256684491979 
      - Accuracy on SAT: 0.6112759643916914
      - Accuracy on BATS: 0.7576431350750417
      - Accuracy on U2: 0.5964912280701754
      - Accuracy on U4: 0.6087962962962963
      - Accuracy on Google: 0.878
  - Lexical Relation Classification ([dataset](https://huggingface.co/datasets/relbert/lexical_relation_classification), [full result](https://huggingface.co/relbert/roberta-large-semeval2012-v2-mask-prompt-e-nce/raw/main/classification.json)):
      - Micro F1 score on BLESS: 0.9264728039777008
      - Micr