Towards Reasonably-Sized Character-Level Transformer NMT by Finetuning Subword Systems

Jindřich Libovický, Alexander Fraser
4/29/2020
cs.CL
transformer-attention

Official code: jlibovicky/char-nmt (1 star, Shell, MIT, last commit 2019-12-03).

Abstract

Applying the Transformer architecture on the character level usually requires very deep architectures that are difficult and slow to train. These problems can be partially overcome by incorporating a segmentation into tokens in the model.

Show full abstract

We show that by initially training a subword model and then finetuning it on characters, we can obtain a neural machine translation model that works at the character level without requiring token segmentation. We use only the vanilla 6-layer Transformer Base architecture. Our character-level models better capture morphological phenomena and show more robustness to noise at the expense of somewhat worse overall translation quality. Our study is a significant step towards high-performance and easy to train character-based models that are not extremely large.

View on arXivView PDF

Code Implementations(1)

MIT

Character-level neural machine translation by finetuning sub-word models

10Shell, PythonNov 15, 20197 years agoMIT

Similar Papers

Cite this paper

@article{libovick2020towards,
  title  = {Towards Reasonably-Sized Character-Level Transformer NMT by Finetuning Subword Systems},
  author = {Jindřich Libovický and Alexander Fraser},
  year   = {2020},
  eprint = {2004.14280},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.14280}
}

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

Discussion