@inproceedings{charpentier-samuel-2024-bert,
title = "{GPT} or {BERT}: why not both?",
author = "Charpentier, Lucas Georges Gabriel and
Samuel, David",
editor = "Hu, Michael Y. and
Mueller, Aaron and
Ross, Candace and
Williams, Adina and
Linzen, Tal and
Zhuang, Chengxu and
Choshen, Leshem and
Cotterell, Ryan and
Warstadt, Alex and
Wilcox, Ethan Gotlieb",
booktitle = "The 2nd BabyLM Challenge at the 28th Conference on Computational Natural Language Learning",
month = nov,
year = "2024",
address = "Miami, FL, USA",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/fix-sig-urls/2024.conll-babylm.24/",
pages = "262--283",
abstract = "We present a simple way to merge masked language modeling with causal language modeling. This hybrid training objective results in a model that combines the strengths of both modeling paradigms within a single transformer stack {--} GPT-BERT can be transparently used like any standard causal or masked language model. We test the pretraining process that enables this flexible behavior on the BabyLM Challenge 2024. The results show that the hybrid pretraining outperforms masked-only or causal-only models. We openly release the models, training corpora and code."
}
Markdown (Informal)
[GPT or BERT: why not both?](https://preview.aclanthology.org/fix-sig-urls/2024.conll-babylm.24/) (Charpentier & Samuel, CoNLL-BabyLM 2024)
ACL
- Lucas Georges Gabriel Charpentier and David Samuel. 2024. GPT or BERT: why not both?. In The 2nd BabyLM Challenge at the 28th Conference on Computational Natural Language Learning, pages 262–283, Miami, FL, USA. Association for Computational Linguistics.