T-NER: An All-Round Python Library for Transformer-based Named Entity Recognition
Ushio, Asahi, Camacho-Collados, Jose
–arXiv.org Artificial Intelligence
Language model (LM) pretraining has led to consistent improvements in many NLP downstream tasks, including named entity recognition (NER). In this paper, we present T-NER (Transformer-based Named Entity Recognition), a Python library for NER LM finetuning. In addition to its practical utility, T-NER facilitates the study and investigation of the cross-domain and cross-lingual generalization ability of LMs finetuned on NER. Our library also provides a web app where users can get model predictions interactively for arbitrary text, which facilitates qualitative model evaluation for non-expert programmers. We show the potential of the library by compiling nine public NER datasets into a unified format and evaluating the cross-domain and cross-lingual performance across the datasets. The results from our initial experiments show that in-domain performance is generally competitive across datasets. However, cross-domain generalization is challenging even with a large pretrained LM, which has nevertheless capacity to learn domain-specific features if fine-tuned on a combined dataset. To facilitate future research, we also release all our LM checkpoints via the Hugging Face model hub.
arXiv.org Artificial Intelligence
Sep-9-2022
- Country:
- Oceania > Australia
- North America
- Canada (0.04)
- United States
- New York (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Colorado > Boulder County
- Boulder (0.04)
- California > San Diego County
- San Diego (0.04)
- Europe
- United Kingdom (0.04)
- Germany > Berlin (0.04)
- Switzerland > Geneva
- Geneva (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Genre:
- Research Report (0.50)
- Industry:
- Information Technology (0.48)
- Technology: