LegalBERT
by Ilias Chalkidis et al. (Academic) · open-source · Last verified 2026-03-17
LegalBERT is a BERT-based model pre-trained on a large corpus of legal text including EU legislation, US court decisions, contracts, and legal articles. It significantly outperforms general BERT models on legal NLP tasks and has become the standard baseline for legal text processing research.
https://huggingface.co/nlpaueb/legal-bert-base-uncased ↗B
B—Above Average
Adoption: BQuality: AFreshness: CCitations: AEngagement: F
Specifications
- License
- CC BY-SA 4.0
- Pricing
- open-source
- Capabilities
- legal-text-classification, contract-analysis, case-law-retrieval, legal-ner
- Integrations
- Hugging Face, PyTorch, TensorFlow
- Use Cases
- contract clause classification, legal document classification, case outcome prediction, regulatory compliance analysis
- API Available
- Yes
- Parameters
- ~110M
- Context Window
- 512 tokens
- Modalities
- text
- Training Cutoff
- 2020
- Tags
- legal, bert, nlp, contracts, case-law
- Added
- 2026-03-17
- Completeness
- 100%
Index Score
62.5Adoption
65
Quality
80
Freshness
48
Citations
82
Engagement
0