TENER: Adapting Transformer Encoder for Named Entity Recognition

Hang Yan, Bocao Deng, Xiaonan Li, Xipeng Qiu
11/10/2019
308 citations
cs.CLcs.LG
transformer-attention

Official code: FudanNLP/TENER (376 stars, Python, last commit 2020-07-06).

Abstract

The Bidirectional long short-term memory networks (BiLSTM) have been widely used as an encoder in models solving the named entity recognition (NER) task. Recently, the Transformer is broadly adopted in various Natural Language Processing (NLP) tasks owing to its parallelism and advantageous performance.

Show full abstract

Nevertheless, the performance of the Transformer in NER is not as good as it is in other NLP tasks. In this paper, we propose TENER, a NER architecture adopting adapted Transformer Encoder to model the character-level features and word-level features. By incorporating the direction and relative distance aware attention and the un-scaled attention, we prove the Transformer-like encoder is just as effective for NER as other NLP tasks.

View on arXivView PDF

Code Implementations(1)

FudanNLP/TENEROfficial100%

Codes for "TENER: Adapting Transformer Encoder for Named Entity Recognition"

37654PythonDec 10, 20196 years ago

Similar Papers

Cite this paper

@article{yan2019tener,
  title  = {TENER: Adapting Transformer Encoder for Named Entity Recognition},
  author = {Hang Yan and Bocao Deng and Xiaonan Li and Xipeng Qiu},
  year   = {2019},
  eprint = {1911.04474},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.04474}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.04474.svg)](https://codeofpaper.com/paper/1911.04474)

Discussion