Pierre Colombo, Telmo Pires, Malik Boudiaf, Rui Melo, Dominic Culver, Sofia Morgado, Etienne Malaboeuf, Gabriel Hautreux, Johanne Charpentier, Michael Desa
In this paper, we introduce SaulLM-54B and SaulLM-141B, two large language models (LLMs) tailored for the legal sector. These models, which feature architectures of 54 billion and 141 billion parameters, respectively, are based on the Mixtral architecture. The development of SaulLM-54B and SaulLM-141B is guided by large-scale domain adaptation, divided into three strategies: (1) the exploitation of continued pretraining involving a base corpus that includes over 540 billion of legal tokens, (2) the implementation of a specialized legal instruction-following protocol, and (3) the alignment of model outputs with human preferences in legal interpretations. The integration of synthetically generated data in the second and third steps enhances the models' capabilities in interpreting and processing legal texts, effectively reaching state-of-the-art performance and outperforming previous open-source models on LegalBench-Instruct. This work explores the trade-offs involved in domain-specific adaptation at this scale, offering insights that may inform future studies on domain adaptation using strong decoder models. Building upon SaulLM-7B, this study refines the approach to produce an LLM better equipped for legal tasks. We are releasing base, instruct, and aligned versions on top of SaulLM-54B and SaulLM-141B under the MIT License to facilitate reuse and collaborative research.
SaulLM-7B: A pioneering Large Language Model for Law
CentraleSupélec(中央高等电力学院);Université Paris-Saclay(巴黎萨克雷大学);Sorbonne Université(索邦大学);Instituto Superior Técnico(里斯本高等理工学院);Universidade de Lisboa(里斯本大学);NOVA School of Law(NOVA法学院)
Domain adaptation of Russian ModernBERT for long legal documents
Independent Researcher(独立研究者);National Research Nuclear University MEPhI(国立核研究大学 MEPhI);Moscow Center for Advanced Studies(莫斯科高级研究中心);University of Waterloo(滑铁卢大学)
CORE: A Few-Shot Company Relation Classification Dataset for Robust Domain Adaptation
IESEG School of Management(IESEG管理学院);Univ. Lille(里尔大学);CNRS(法国国家科学研究中心);Research Centre for Information Systems Engineering, KU Leuven(鲁汶大学信息系统工程研究中心);KU Leuven(鲁汶大学)
LegalOne: A Family of Foundation Models for Reliable Legal Reasoning
Department of Computer Science, Tsinghua University(清华大学计算机科学系);Quancheng Laboratory(清华云城实验室);University of Waterloo, Canada(加拿大滑铁卢大学);China University of Political Science and Law(中国政法大学);MegaTech.AI Inc(MegaTech.AI公司)
EURO-5K: When Does Domain Pretraining Matter? Benchmarking Transformers for EU Reporting Obligation Extraction
Division of Computer Science, School of Electrical and Computer Engineering(计算机科学系,电气与计算机工程学院);National Technical University of Athens(雅典技术大学);Department of Humanities Social Sciences and Law, School of Applied Mathematical and Physical Sciences(人文社会科学与法律系,应用数学与物理科学学院)
Learning Faster with Better Tokens: Parameter-Efficient Vocabulary Adaptation for Specialized Text Summarization
Dept. of Computer Science and Engg., IIT Kharagpur(印度Kharagpur理工学院计算机科学与工程系);Dept. of Medicine (Biomedical Informatics), Stanford University(斯坦福大学医学院(生物医学信息学))
SteuerLLM: Local specialized large language model for German tax law analysis
Pattern Recognition Lab, Friedrich-Alexander-Universität Erlangen-Nürnberg(模式识别实验室,弗赖堡-亚历山大大学埃尔兰根-纽伦堡);Erlangen National High Performance Computing Center, Friedrich-Alexander-Universität Erlangen-Nürnberg(埃尔兰根国家高性能计算中心,弗赖堡-亚历山大大学埃尔兰根-纽伦堡);DATEV eG, Nuremberg, Germany(DATEV eG,纽伦堡,德国);Bavarian AI Taxation Laboratory, Department of Computer Science, University of Technology Nuremberg(巴伐利亚人工智能税收实验室,技术大学纽伦堡计算机科学系);Chair for Tax Law and Public Law, Friedrich-Alexander-Universität Erlangen-Nürnberg(税法与公共法教授职位,弗赖堡-亚历山大大学埃尔兰根-纽伦堡);Chair of Computer Science 10, Friedrich-Alexander-Universität Erlangen-Nürnberg(计算机科学10号教授职位,弗赖堡-亚历山大大学埃尔兰根-纽伦堡);Lab for AI in Medicine, RWTH Aachen University(医学人工智能实验室,亚琛工业大学);Department of Diagnostic and Interventional Radiology, University Hospital RWTH Aachen(诊断与介入放射学系,亚琛大学医院)