Exploring Transformers as Compact, Data-Efficient Language Models

C Fields, C Kennington - 2023 - scholarworks.boisestate.edu
C Fields, C Kennington
2023scholarworks.boisestate.edu
Large scale transformer models, trained with massive datasets have become the standard in
natural language processing. The huge size of most transformers make research with these
models impossible for those with limited computational resources. Additionally, the
enormous pretraining data requirements of transformers exclude pretraining them with many
smaller datasets that might provide enlightening results. In this study, we show that
transformers can be significantly reduced in size, with as few as 5.7 million parameters, and …
Abstract
Large scale transformer models, trained with massive datasets have become the standard in natural language processing. The huge size of most transformers make research with these models impossible for those with limited computational resources. Additionally, the enormous pretraining data requirements of transformers exclude pretraining them with many smaller datasets that might provide enlightening results. In this study, we show that transformers can be significantly reduced in size, with as few as 5.7 million parameters, and still retain most of their downstream capability. Further we show that transformer models can retain comparable results when trained on human-scale datasets, as few as 5 million words of pretraining data. Overall, the results of our study suggest transformers function well as compact, data efficient language models and that complex model compression methods, such as model distillation are not necessarily superior to pretraining reduced size transformer models from scratch.
scholarworks.boisestate.edu
Showing the best result for this search. See all results