Can we Pretrain a SotA Legal Language Model on a Budget From Scratch?
Version
Published
Date Issued
2023-07-13
Author(s)
Giofré, Daniele
Type
Conference Paper
Language
English
Abstract
Even though many efficient transformers have been proposed, only few such models are available for specialized domains. Additionally, since the pretraining process is extremely costly in general – but even more so as the sequence length increases – it is often only in reach of large research labs. One way of making pretraining cheaper is the Replaced Token Detection (RTD) task, by providing more signal during training compared to MLM, since the loss can be computed over all tokens. In this work, we train Longformer models with the efficient RTD task on long-context legal data to showcase that pretraining efficient LMs is possibl using less than 12 GPU days. We evaluate the trained models on challenging summarization tasks requiring the model to summarize complex long texts. We find that both the small and base models outperform their baselines on the in-domain BillSum and out-of-domain PubMed tasks in their respective parameter range. We publish our models as a resource for researcher and practitioners.
ISBN
978-1-959429-79-1
Publisher DOI
Publisher URL
Organization
Conference
Proceedings of The Fourth Workshop on Simple and Efficient Natural Language Processing (SustaiNLP)
Publisher
Association for Computational Linguistics
Submitter
VerbruggenS
Citation apa
Niklaus, J., & Giofré, D. (2023). Can we Pretrain a SotA Legal Language Model on a Budget From Scratch? Proceedings of The Fourth Workshop on Simple and Efficient Natural Language Processing (SustaiNLP). Association for Computational Linguistics. https://doi.org/10.24451/arbor.19709
File(s)![Thumbnail Image]()
Loading...
open access
Name
2023.sustainlp-1.11.pdf
License
Attribution 4.0 International
Version
published
Size
1.78 MB
Format
Adobe PDF
Checksum (MD5)
0d4382840cd124c8cbbd5047131e87c9
