TOKEN is a MASK: Few-shot Named Entity Recognition with Pre-trained Language Models

Ali Davody, David Ifeoluwa Adelani, Thomas Kleinbauer, Dietrich Klakow
6/15/2022
cs.CL

Official code: uds-lsv/TOKEN-is-a-MASK (14 stars, Jupyter Notebook, last commit 2022-08-19).

Abstract

Transferring knowledge from one domain to another is of practical importance for many tasks in natural language processing, especially when the amount of available data in the target domain is limited. In this work, we propose a novel few-shot approach to domain adaptation in the context of Named Entity Recognition (NER).

Show full abstract

We propose a two-step approach consisting of a variable base module and a template module that leverages the knowledge captured in pre-trained language models with the help of simple descriptive patterns. Our approach is simple yet versatile and can be applied in few-shot and zero-shot settings. Evaluating our lightweight approach across a number of different datasets shows that it can boost the performance of state-of-the-art baselines by 2-5% F1-score.

View on arXivView PDF

Code Implementations(1)

Code for our TSD paper "TOKEN is a MASK: Few-shot Named Entity Recognition with Pre-trained Language Models"

140Jupyter NotebookJun 14, 20224 years ago

Similar Papers

Cite this paper

@article{davody2022token,
  title  = {TOKEN is a MASK: Few-shot Named Entity Recognition with Pre-trained Language Models},
  author = {Ali Davody and David Ifeoluwa Adelani and Thomas Kleinbauer and Dietrich Klakow},
  year   = {2022},
  eprint = {2206.07841},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.07841}
}

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/2206.07841.svg)](https://codeofpaper.com/paper/2206.07841)

Discussion