Research Article

Few-Shot Relation Extraction via the Entity Feature Enhancement and Attention-Based Prototypical Network

Table 8

Comparison of different metric functions in relation prediction.

ā€‰Bridge-FewRelFewRel
5-way-1-shot5-way-5-shot5-way-1-shot5-way-5-shot

Similarity-based metric83.0791.7484.9692.29
Euclidean-based metric84.1192.1285.3194.98

Acc. %.