Relation

Automatic Evaluation Metrics

SBERT: Sentence Embeddings using Siamese BERT-Networks
Generate sentence embeddings for:

  1. the literal input LL
  2. the original gold metaphoric expression MM
  3. the generated output GG

Distance from Gold Metaphor (dis): cos(M,G)\cos(M, G)
Relational distance (rel): cos(L,M)cos(L,G)\cos(L, M) - cos(L, G)
Percentage of times the model produced the exact gold output.

0

1

Updated 2023-02-11

Tags

Natural language processing

Data Science