Extending the Subwording Model of Multilingual Pretrained Models for New Languages

Kenji Imamura, Eiichiro Sumita
11/29/2022
cs.CL

Official code: kenji-imamura/sentpiece_mimic (4 stars, Python, Apache-2.0, last commit 2022-11-30).

Abstract

Multilingual pretrained models are effective for machine translation and cross-lingual processing because they contain multiple languages in one model. However, they are pretrained after their tokenizers are fixed; therefore it is difficult to change the vocabulary after pretraining.

Show full abstract

When we extend the pretrained models to new languages, we must modify the tokenizers simultaneously. In this paper, we add new subwords to the SentencePiece tokenizer to apply a multilingual pretrained model to new languages (Inuktitut in this paper). In our experiments, we segmented Inuktitut sentences into subwords without changing the segmentation of already pretrained languages, and applied the mBART-50 pretrained model to English-Inuktitut translation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Re-implementation of SentencePiece in Python and Additional Training of Inuktitut Subwords

40Python, ShellNov 25, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{imamura2022extending,
  title  = {Extending the Subwording Model of Multilingual Pretrained Models for New Languages},
  author = {Kenji Imamura and Eiichiro Sumita},
  year   = {2022},
  eprint = {2211.15965},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15965}
}

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

Discussion