← 返回资源分享
LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attention
论文
论文
发布时间2020-10-02
发表EMNLP 2020 11 · arXiv:2010.01057
作者:Ikuya Yamada,Hiroyuki Shindo,Yuji Matsumoto,Akari Asai,Hideaki Takeda
详细介绍
Entity representations are useful in natural language tasks involving entities. In this paper, we propose new pretrained contextualized representations of words and entities based on the bidirectional transformer. The proposed model treats words and entities in a given text as independent tokens, and outputs contextualized representations of them. Our model is trained using a new pretraining task based on the masked language model of BERT. The task involves predicting randomly masked words and entities in a large entity-annotated corpus retrieved from Wikipedia. We also propose an entity-aware self-attention mechanism that is an extension of the self-attention mechanism of the transformer, and considers the types of tokens (words or entities) when computing attention scores. The proposed model achieves impressive empirical performance on a wide range of entity-related tasks. In particular, it obtains state-of-the-art results on five well-known datasets: Open Entity (entity typing), TACRED (relation classification), CoNLL-2003 (named entity recognition), ReCoRD (cloze-style question answering), and SQuAD 1.1 (extractive question answering). Our source code and pretrained representations are available at https://github.com/studio-ousia/luke.
代码仓库 (11)
studio-ousia/luke官方PyTorch
huggingface/transformersPyTorch
yangyucheng000/lukeMindSpore
Beacontownfc/paddle_luke_stablePaddlePaddle
PaddlePaddle/PaddleNLP/tree/develop/examples/language_model/roformerPaddlePaddle
JiachengLi1995/UCTopicPyTorch
mindspore-ai/models/tree/master/research/nlp/lukeMindSpore
shmulvad/zero-for-nerPyTorch
alililia/gpu_lukeMindSpore
pwc-1/Paper-9/tree/main/lukeMindSpore
