Fine-Tuning Transformers: Vocabulary Transfer

Vladislav Mosin, Igor Samenko, Alexey Tikhonov, Borislav Kozlovskii, Ivan P. Yamshchikov
12/29/2021
cs.CLcs.AIcs.LG
transformer-attention

Official code: LEYADEV/Vocabulary-Transfer (20 stars, Python, last commit 2021-12-28).

Abstract

Transformers are responsible for the vast majority of recent advances in natural language processing. The majority of practical natural language processing applications of these models are typically enabled through transfer learning.

Show full abstract

This paper studies if corpus-specific tokenization used for fine-tuning improves the resulting performance of the model. Through a series of experiments, we demonstrate that such tokenization combined with the initialization and fine-tuning strategy for the vocabulary tokens speeds up the transfer and boosts the performance of the fine-tuned model. We call this aspect of transfer facilitation vocabulary transfer.

View on arXivView PDF

Code Implementations(1)

Implementation of the paper "Fine-Tuning Transformers: Vocabulary Transfer" https://arxiv.org/pdf/2112.14569.pdf

203Python, ShellDec 28, 20214 years ago
transfer-learning

Similar Papers

Cite this paper

@article{mosin2021finetuning,
  title  = {Fine-Tuning Transformers: Vocabulary Transfer},
  author = {Vladislav Mosin and Igor Samenko and Alexey Tikhonov and Borislav Kozlovskii and Ivan P. Yamshchikov},
  year   = {2021},
  eprint = {2112.14569},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.14569}
}

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

Discussion