FEA-Bench / testbed /embeddings-benchmark__mteb /mteb /tasks /Retrieval /eng /LegalSummarizationRetrieval.py
hc99's picture
Add files using upload-large-folder tool
73cc8d2 verified
raw
history blame
1.15 kB
from __future__ import annotations
from mteb.abstasks.TaskMetadata import TaskMetadata
from ....abstasks.AbsTaskRetrieval import AbsTaskRetrieval
class LegalSummarization(AbsTaskRetrieval):
metadata = TaskMetadata(
name="LegalSummarization",
description="The dataset consistes of 439 pairs of contracts and their summarizations from https://tldrlegal.com and https://tosdr.org/.",
reference="https://github.com/lauramanor/legal_summarization",
dataset={
"path": "mteb/legal_summarization",
"revision": "3bb1a05c66872889662af04c5691c14489cebd72",
},
type="Retrieval",
category="s2p",
eval_splits=["test"],
eval_langs=["eng-Latn"],
main_score="ndcg_at_10",
date=None,
form=["written"],
domains=["Legal"],
task_subtypes=["Article retrieval"],
license="Apache License 2.0",
socioeconomic_status="high",
annotations_creators="derived",
dialect=None,
text_creation="found",
bibtex_citation=None,
n_samples=None,
avg_character_length=None,
)