BERT got a Date: Introducing Transformers to Temporal Tagging

Satya Almasian, Dennis Aumiller, Michael Gertz
9/30/2021
cs.CL
transformer-attention

Official code: satya77/Transformer_Temporal_Tagger (70 stars, Python, MIT, PyTorch, last commit 2022-04-29).

Abstract

Temporal expressions in text play a significant role in language understanding and correctly identifying them is fundamental to various retrieval and natural language processing systems. Previous works have slowly shifted from rule-based to neural architectures, capable of tagging expressions with higher accuracy.

Show full abstract

However, neural models can not yet distinguish between different expression types at the same level as their rule-based counterparts. In this work, we aim to identify the most suitable transformer architecture for joint temporal tagging and type classification, as well as, investigating the effect of semi-supervised training on the performance of these systems. Based on our study of token classification variants and encoder-decoder architectures, we present a transformer encoder-decoder model using the RoBERTa language model as our best performing system. By supplementing training resources with weakly labeled data from rule-based systems, our model surpasses previous works in temporal tagging and type classification, especially on rare classes. Our code and pre-trained experiments are available at: https://github.com/satya77/Transformer_Temporal_Tagger

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Code and data form the paper BERT Got a Date: Introducing Transformers to Temporal Tagging

705PythonSep 20, 20214 years agoMIT
bert-modelencoder-decoderhuggingfacepytorchseq2seq+3 more

Similar Papers

Cite this paper

@article{almasian2021bert,
  title  = {BERT got a Date: Introducing Transformers to Temporal Tagging},
  author = {Satya Almasian and Dennis Aumiller and Michael Gertz},
  year   = {2021},
  eprint = {2109.14927},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.14927}
}

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

Discussion