Repository logo
  • English
  • Deutsch
  • Français
Log In
New user? Click here to register.Have you forgotten your password?
  1. Home
  2. CRIS
  3. Publication
  4. Can we Pretrain a SotA Legal Language Model on a Budget From Scratch?
 

Can we Pretrain a SotA Legal Language Model on a Budget From Scratch?

URI
https://arbor.bfh.ch/handle/arbor/36268
Version
Published
Date Issued
2023-07-13
Author(s)
Niklaus, Joël  
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
DOI
10.24451/arbor.19709
https://doi.org/10.24451/arbor.19709
Publisher DOI
10.18653/v1/2023.sustainlp-1.11
Publisher URL
https://aclanthology.org/2023.sustainlp-1.11/
Related URL
https://aclanthology.org/2023.sustainlp-1.pdf https://sites.google.com/view/sustainlp2023 org
Organization
Data and Infrastructure  
Wirtschaft  
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)
Loading...
Thumbnail Image

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

About ARBOR

Built with DSpace-CRIS software - System hosted and mantained by 4Science

  • Cookie settings
  • Privacy policy
  • End User Agreement
  • Send Feedback
  • Our institution