joelito/lextreme

Dataset

22

stars

43

commits

1

linked in READMEs

May 20, 2026

updated

README

Dataset Card for LEXTREME: A Multilingual Legal Benchmark for Natural Language Understanding

Table of Contents

Dataset Description

  • Homepage:
  • Repository:
  • Paper:
  • Leaderboard:
  • Point of Contact: Joel Niklaus

Dataset Summary

The dataset consists of 12 diverse multilingual legal NLU datasets. 6 datasets have one single configuration, 5 datasets have two or three configurations, and 1 dataset has three temporal epoch configurations. This leads to a total of 21 tasks (11 single-label text classification tasks, 5 multi-label text classification tasks and 5 token-classification tasks).

Use the dataset like this:

from datasets import load_dataset
dataset = load_dataset("joelito/lextreme", "swiss_judgment_prediction")

Supported Tasks and Leaderboards

The dataset supports the tasks of text classification and token classification. In detail, we support the folliwing tasks and configurations:

tasktask typeconfigurationslink
Brazilian Court DecisionsJudgment Prediction(judgment, unanimity)joelito/brazilian_court_decisions
Swiss Judgment PredictionJudgment Predictiondefaultjoelito/swiss_judgment_prediction
German Argument MiningArgument Miningdefaultjoelito/german_argument_mining
Greek Legal CodeTopic Classification(volume, chapter, subject)greek_legal_code
Online Terms of ServiceUnfairness Classification(unfairness level, clause topic)online_terms_of_service
Covid 19 Emergency EventEvent Classificationdefaultcovid19_emergency_event
MultiEURLEXTopic Classification(level 1, level 2, level 3)multi_eurlex
LeNER BRNamed Entity Recognitiondefaultlener_br
LegalNERoNamed Entity Recognitiondefaultlegalnero
Greek Legal NERNamed Entity Recognitiondefaultgreek_legal_ner
MAPANamed Entity Recognition(coarse, fine)mapa
Ukrainian Court DecisionsJudgment Prediction(pre_war, hybrid_war, full_scale)overthelex/ukrainian-court-decisions

Languages

The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv, uk

Dataset Structure

Data Instances

The file format is jsonl and three data splits are present for each configuration (train, validation and test).

Data Fields

[More Information Needed]

Data Splits

[More Information Needed]

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

How can I contribute a dataset to lextreme? Please follow the following steps:

  1. Make sure your dataset is available on the huggingface hub and has a train, validation and test split.
  2. Create a pull request to the lextreme repository by adding the following to the lextreme.py file:
    • Create a dict _{YOUR_DATASET_NAME} (similar to _BRAZILIAN_COURT_DECISIONS_JUDGMENT) containing all the necessary information about your dataset (task_type, input_col, label_col, etc.)
    • Add your dataset to the BUILDER_CONFIGS list: LextremeConfig(name="{your_dataset_name}", **_{YOUR_DATASET_NAME})
    • Test that it works correctly by loading your subset with load_dataset("lextreme", "{your_dataset_name}") and inspecting a few examples.

Dataset Curators

[More Information Needed]

Licensing Information

[More Information Needed]

Citation Information

@misc{niklaus2023lextreme,
    title={LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain},
    author={Joel Niklaus and Veton Matoshi and Pooja Rani and Andrea Galassi and Matthias Stürmer and Ilias Chalkidis},
    year={2023},
    eprint={2301.13126},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Contributions

Thanks to @JoelNiklaus for adding this dataset.

Contributors

joelniklaus

20 commits

Joelito

13 commits

Stern5497

2 commits

joelito/lextreme

Dataset

22

stars

43

commits

1

linked in READMEs

May 20, 2026

updated

README

Dataset Card for LEXTREME: A Multilingual Legal Benchmark for Natural Language Understanding

Table of Contents

Dataset Description

  • Homepage:
  • Repository:
  • Paper:
  • Leaderboard:
  • Point of Contact: Joel Niklaus

Dataset Summary

The dataset consists of 12 diverse multilingual legal NLU datasets. 6 datasets have one single configuration, 5 datasets have two or three configurations, and 1 dataset has three temporal epoch configurations. This leads to a total of 21 tasks (11 single-label text classification tasks, 5 multi-label text classification tasks and 5 token-classification tasks).

Use the dataset like this:

from datasets import load_dataset
dataset = load_dataset("joelito/lextreme", "swiss_judgment_prediction")

Supported Tasks and Leaderboards

The dataset supports the tasks of text classification and token classification. In detail, we support the folliwing tasks and configurations:

tasktask typeconfigurationslink
Brazilian Court DecisionsJudgment Prediction(judgment, unanimity)joelito/brazilian_court_decisions
Swiss Judgment PredictionJudgment Predictiondefaultjoelito/swiss_judgment_prediction
German Argument MiningArgument Miningdefaultjoelito/german_argument_mining
Greek Legal CodeTopic Classification(volume, chapter, subject)greek_legal_code
Online Terms of ServiceUnfairness Classification(unfairness level, clause topic)online_terms_of_service
Covid 19 Emergency EventEvent Classificationdefaultcovid19_emergency_event
MultiEURLEXTopic Classification(level 1, level 2, level 3)multi_eurlex
LeNER BRNamed Entity Recognitiondefaultlener_br
LegalNERoNamed Entity Recognitiondefaultlegalnero
Greek Legal NERNamed Entity Recognitiondefaultgreek_legal_ner
MAPANamed Entity Recognition(coarse, fine)mapa
Ukrainian Court DecisionsJudgment Prediction(pre_war, hybrid_war, full_scale)overthelex/ukrainian-court-decisions

Languages

The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv, uk

Dataset Structure

Data Instances

The file format is jsonl and three data splits are present for each configuration (train, validation and test).

Data Fields

[More Information Needed]

Data Splits

[More Information Needed]

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

How can I contribute a dataset to lextreme? Please follow the following steps:

  1. Make sure your dataset is available on the huggingface hub and has a train, validation and test split.
  2. Create a pull request to the lextreme repository by adding the following to the lextreme.py file:
    • Create a dict _{YOUR_DATASET_NAME} (similar to _BRAZILIAN_COURT_DECISIONS_JUDGMENT) containing all the necessary information about your dataset (task_type, input_col, label_col, etc.)
    • Add your dataset to the BUILDER_CONFIGS list: LextremeConfig(name="{your_dataset_name}", **_{YOUR_DATASET_NAME})
    • Test that it works correctly by loading your subset with load_dataset("lextreme", "{your_dataset_name}") and inspecting a few examples.

Dataset Curators

[More Information Needed]

Licensing Information

[More Information Needed]

Citation Information

@misc{niklaus2023lextreme,
    title={LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domain},
    author={Joel Niklaus and Veton Matoshi and Pooja Rani and Andrea Galassi and Matthias Stürmer and Ilias Chalkidis},
    year={2023},
    eprint={2301.13126},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

Contributions

Thanks to @JoelNiklaus for adding this dataset.

Contributors

joelniklaus

20 commits

Joelito

13 commits

Stern5497

2 commits