Skip to content

Dataset · coastalcph

LexGLUE legal benchmark

coastalcph/lex_glue

A collection of legal text tasks for evaluating language understanding models in English.

What's inside

LexGLUE is a benchmark for evaluating legal English language understanding, inspired by GLUE and SuperGLUE. It includes classification and QA tasks on legal texts. Size ranges from 100k to 1M examples; modality is text.

What you can do with it

  • evaluate legal LLMs on text classification
  • test QA on legal documents
  • fine-tune LoRA for legal NLP
Tasks
Question answering, Text classification
Languages
English
Size
100K–1M rows
Downloads this month
28.7K
Likes
85

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("coastalcph/lex_glue")