The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ValueError
Message: Multiple files found in ZIP file. Only one file per ZIP: ['word/numbering.xml', 'word/settings.xml', 'word/fontTable.xml', 'word/_rels/fontTable.xml.rels', 'word/styles.xml', 'word/document.xml', 'word/_rels/document.xml.rels', '_rels/.rels', 'word/theme/theme1.xml', 'word/fonts/Inconsolata-regular.ttf', 'word/fonts/Inconsolata-bold.ttf', '[Content_Types].xml']
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4645, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2866, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3073, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2581, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/csv/csv.py", line 196, in _generate_tables
csv_file_reader = pd.read_csv(file, iterator=True, dtype=dtype, **self.config.pd_read_csv_kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/streaming.py", line 73, in wrapper
return function(*args, download_config=download_config, **kwargs)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1275, in xpandas_read_csv
out = pd.read_csv(f, **kwargs)
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1026, in read_csv
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 620, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1620, in __init__
self._engine = self._make_engine(f, self.engine)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1880, in _make_engine
self.handles = get_handle(
~~~~~~~~~~^
f,
^^
...<6 lines>...
storage_options=self.options.get("storage_options", None),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/pandas/io/common.py", line 805, in get_handle
raise ValueError(
...<2 lines>...
)
ValueError: Multiple files found in ZIP file. Only one file per ZIP: ['word/numbering.xml', 'word/settings.xml', 'word/fontTable.xml', 'word/_rels/fontTable.xml.rels', 'word/styles.xml', 'word/document.xml', 'word/_rels/document.xml.rels', '_rels/.rels', 'word/theme/theme1.xml', 'word/fonts/Inconsolata-regular.ttf', 'word/fonts/Inconsolata-bold.ttf', '[Content_Types].xml']Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
theatticusproject/acord(複製)
データの内容
契約書の起草に使う条項を探すための情報検索のデータ。弁護士が書いたクエリと条項の組に、0 から 4 の関連度スコアが付く。条項は EDGAR の提出書類と、選ばれた Fortune 500 企業が公開した利用規約の契約から派生したもので、弁護士の採点と法律の専門家の調整を経ている。ライセンスは CC BY 4.0 である。
データの概要
| 項目 | 値 |
|---|---|
| 行数・列数 | 不明(データセットビューアで読めない形式。ファイルの内訳だけを示す) |
| 容量 | 3.14 MB(ファイル 3 本) |
| ファイルの形式 | zip 1 |
| 公開 | public |
全データセットの一覧は HYUKI5/dataset-catalog にある。
複製について
theatticusproject/acord をリビジョン 7ba1c6f2e0baaa32e78c78c2b02e9c57b102af4e の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(convaiinnovations/laya)の微調整に使う候補として、調査メモ(Laya 学習用データセット調査)に載せたデータを集めている。
出典
- 元のデータセット: https://huggingface.co/datasets/theatticusproject/acord
- 複製したリビジョン:
7ba1c6f2e0baaa32e78c78c2b02e9c57b102af4e(2025-01-15 03:11:50+00:00) - 元のライセンス表記:
cc-by-4.0
論文
- 元のカードに論文へのリンクは見つからなかった
アノテーションの方法
(元のカードに該当の見出しが無いので、ラベルの付け方に触れた段落を抜き出した)
Atticus Clause Retrieval Dataset(ACORD)は、専門家によって完全にアノテーションされた、契約書の起草のための初の検索ベンチマークである。114 件のクエリと、126,662 を超えるクエリと条項のペアを含み、各ペアは 1 から 5 つ星の尺度で順位付けされている。タスクは、クエリに最も関連する先例の条項を見つけることである。ACORD は、Limitation of Liability、Indemnification、Change of Control、Most Favored Nation などの複雑な契約条項に焦点を当てる。
ACORD は、BEIR 形式で提供されるクエリと条項のペアからなる。ただし、標準の BEIR 形式とは異なり、無関係な条項は暗黙的ではなく明示的にアノテーションされている。これにより偽陰性の発生が減る。詳細は論文の付録を参照。
- クエリと条項のペア: 各ペアは、弁護士が書いたクエリと、コーパスの対応する条項からなる。クエリは法的な起草のニーズを表すように作られ、条項はクエリへの対応の程度に基づいて関連度スコア(0 から 4)がアノテーションされている。
無関係でスコアが 0 の条項を含むすべての条項は、偽陰性を避けるために明示的にアノテーションされており、網羅的で高品質なデータを確保している。
アノテーションの過程
アノテーションの過程は、次の 5 段階の方法に従う:
- 抽出: 関連する条項を、訓練を受けたアノテーターが特定する。
- 検索: アノテーターは、クエリごとに関連する条項 10 件と 2 つ星の条項 20 件を見つける。
- 採点: 弁護士が詳細なガイドラインを用いてクエリを評価する。
- 調整: 意見が割れたものは、法律の専門家の委員会が解決する。
- 拡張: 網羅性を確保するため、無関係な条項を追加する。
アノテーションは、一貫性・正確性・信頼性を確保するため、法律の専門家が確認する。
アノテーションには、法律の専門家が抽出した条項が含まれており、クエリとの文脈上の関連性を確保している。
微調整に使うときの注意
- 調査メモの台帳での区分: A(許諾型のライセンスだけで、疑義の注記が無い)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
- Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
- 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。
調査メモの記述
| メモ | 節 | ライセンス(記載) | 確認 | 注記 |
|---|---|---|---|---|
jev_sources_tasksource_bekko.csv |
CSV(tasksource-jev-typed-decisions) | cc-by-4.0 / license_use=commercial | 確認済 | license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r |
元のカード(日本語訳)
以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。
ACORD: Atticus Clause Retrieval Dataset
Atticus Clause Retrieval Dataset(ACORD)は、専門家によって完全にアノテーションされた、契約書の起草のための初の検索ベンチマークである。114 件のクエリと、126,662 を超えるクエリと条項のペアを含み、各ペアは 1 から 5 つ星の尺度で順位付けされている。タスクは、クエリに最も関連する先例の条項を見つけることである。ACORD は、Limitation of Liability、Indemnification、Change of Control、Most Favored Nation などの複雑な契約条項に焦点を当てる。
形式
ACORD は、BEIR 形式で提供されるクエリと条項のペアからなる。ただし、標準の BEIR 形式とは異なり、無関係な条項は暗黙的ではなく明示的にアノテーションされている。これにより偽陰性の発生が減る。詳細は論文の付録を参照。
BEIR 形式: アドホックな IR データセットの BEIR 形式では、条項とクエリはそれぞれ corpus.jsonl と queries.jsonl にある。train・development・test の各分割の関連度スコアは qrels/{train,test,valid}.tsv にある。関連度スコアは 0 から 4 まで(弁護士による 1 から 5 つ星の評価に対応)である。
クエリと条項のペア: 各ペアは、弁護士が書いたクエリと、コーパスの対応する条項からなる。クエリは法的な起草のニーズを表すように作られ、条項はクエリへの対応の程度に基づいて関連度スコア(0 から 4)がアノテーションされている。
Train/Validation/Test の分割
- 学習用セット: クエリの 45%。
- 検証用セット: クエリの 5%。
- テスト用セット: クエリの 50%。 各分割は、偏りのない評価のため、すべての条項カテゴリが含まれるよう確保されている。
このデータセットには、法律の専門家が作成した補足資料も含まれる。関心のある研究者が追加の実験を行えるように提供されているが、本研究の実験では使用していない:
- CSV ファイル形式の、より細かなスコア(4 種類ではなく 10 種類)を持つ 2 から 5 つ星のクエリと条項のペア。
- 短い、中程度、長い形式のクエリ。
データの統計
クエリと条項のペアの総数: 126,662 を超える。
条項カテゴリ: 9。
- Limitation of Liability, Indemnification, Affirmative Covenants, Restrictive Covenants, Term, Governing Law, Liquidated Damages, Third-party beneficiary, IP ownership/license.
評価尺度: - 5: クエリの重要な観点をすべて扱う、非常に関連性の高い条項。 - 4: クエリの観点のほとんどを扱う、関連性の高い条項。わずかな欠落がある。 - 3: クエリの一部の観点を扱うが、重要な詳細が欠けている、部分的に関連する条項。 - 2: 関連はしないが、クエリと同じカテゴリに属し、参考になる条項。 - 1: 別のカテゴリに属し、クエリとは無関係な条項。
無関係でスコアが 0 の条項を含むすべての条項は、偽陰性を避けるために明示的にアノテーションされており、網羅的で高品質なデータを確保している。
タスク
ACORD は、アドホックな枠組みでの条項検索であり、アドホックな情報検索タスクである。弁護士が書いたクエリが与えられたとき、目標は条項を関連度順に並べることである。
- 指標: NDCG@5、NDCG@10、3 つ星の precision@5、4 つ星の precision@5、5 つ星の precision@5。
アノテーションの過程
アノテーションの過程は、次の 5 段階の方法に従う:
- 抽出: 関連する条項を、訓練を受けたアノテーターが特定する。
- 検索: アノテーターは、クエリごとに関連する条項 10 件と 2 つ星の条項 20 件を見つける。
- 採点: 弁護士が詳細なガイドラインを用いてクエリを評価する。
- 調整: 意見が割れたものは、法律の専門家の委員会が解決する。
- 拡張: 網羅性を確保するため、無関係な条項を追加する。
アノテーションは、一貫性・正確性・信頼性を確保するため、法律の専門家が確認する。
条項の出典
ACORD の契約コーパスは次から派生している:
- EDGAR contractsSystem: 米国 SEC が公開している提出書類。
- 利用規約の契約: 選ばれた Fortune 500 企業が公開しているもの。
アノテーションには、法律の専門家が抽出した条項が含まれており、クエリとの文脈上の関連性を確保している。
ライセンス
ACORD は Creative Commons Attribution 4.0(CC BY 4.0)のもとで提供され、商用・非商用の両方の利用を認める。
連絡先
詳細は atticusprojectai.org/acord にある。 質問、提案、その他の情報については、著者に次の宛先で連絡すること: wang.steven.h@gmail.com、wei@attiscusprojectai.org、aplesner@ethz.ch。
原文(英語)
ACORD: Atticus Clause Retrieval Dataset
Atticus Clause Retrieval Dataset (ACORD) is the first retrieval benchmark for contract drafting fully annotated by experts. It includes 114 queries and over 126,662 query-clause pairs, each ranked on a scale from 1 to 5 stars. The task is to find the most relevant precedent clauses to a query. ACORD focuses on complex contract clauses such as Limitation of Liability, Indemnification, Change of Control, and Most Favored Nation.
FORMAT
ACORD consists of query-clause pairs provided in BEIR format. However, unlike in standard BEIR format, irrelevant clauses are explicitly rather than implicitly annotated. This reduces the incidence of false negatives. See the paper appendix for details.
BEIR Format: In the BEIR format for ad-hoc IR datasets, the clauses and queries can be found in corpus.jsonl and queries.jsonl, respectively. Relevance scores for the train, development, and test splits can be found in qrels/{train,test,valid}.tsv. Relevance scores range between 0 and 4 (corresponding to lawyer ratings from 1 to 5 stars).
Query-Clause Pairs: Each pair consists of an attorney-written query and a corresponding clause from the corpus. Queries are crafted to represent legal drafting needs, while clauses are annotated with a relevance score (0-4) based on how well they address the query.
Train/Validation/Test Splits
- Training Set: 45% of queries.
- Validation Set: 5% of queries.
- Test Set: 50% of queries. Each split ensures representation across all clause categories for balanced evaluation.
The dataset includes the following supplemental materials created by legal experts that are provided for interested researchers to conduct additional experiments, however, they were not used in our experiments:
- 2-5 Star Query-Clause Pairs in csv file with more nuanced scores (10 different scores instead of 4 scores); and
- Queries in short, medium and long formats.
DATA STATISTICS
Total Query-Clause Pairs: over 126,662.
Clause Categories: 9.
- Limitation of Liability, Indemnification, Affirmative Covenants, Restrictive Covenants, Term, Governing Law, Liquidated Damages, Third-party beneficiary, IP ownership/license.
Rating Scale:
- 5: Highly relevant clauses addressing all key aspects of the query.
- 4: Relevant clauses addressing most aspects of the query, with minor omissions.
- 3: Partially relevant clauses addressing some aspects of the query but missing key details.
- 2: Non-relevant but helpful clauses within the same category as the query.
- 1: Irrelevant clauses from a different category, unrelated to the query.
All clauses, including irrelevant zero-score clauses, are explicitly are annotated to avoid false negatives, ensuring comprehensive and high-quality data.
TASKS
ACORD is an ad-hoc frames clause retrieval as an ad hoc information retrieval task. Given an attorney-written query, the goal is to rank clauses by relevance.
- Metrics: NDCG@5, NDCG@10, 3-star precision@5, 4-star precision@5, 5-star precision@5.
ANNOTATION PROCESS
The annotation process follows a five-step methodology:
- Extraction: Relevant clauses are identified by trained annotators.
- Retrieval: Annotators locate 10 relevant and 20 2-star clauses per query.
- Scoring: Queries are rated by attorneys using detailed guidelines.
- Reconciliation: Disputes are resolved by a panel of legal experts.
- Expansion: Additional irrelevant clauses are added to ensure comprehensive coverage.
Annotations are reviewed by legal professionals to ensure consistency, accuracy, and reliability.
CLAUSE SOURCES
ACORD’s Contract Corpus is derived from:
- EDGAR contractsSystem: Publicly available filings from the U.S. SEC.
- Terms of Service contracts: Published by selected Fortune 500 companies.
Annotations include clauses extracted by legal experts, ensuring contextual relevance to the queries.
LICENSE
ACORD is licensed under Creative Commons Attribution 4.0 (CC BY 4.0), allowing both commercial and non-commercial use.
CONTACT
More information can be found at atticusprojectai.org/acord. For questions, suggestions, or further information, contact the authors at wang.steven.h@gmail.com, wei@attiscusprojectai.org, or aplesner@ethz.ch.
- Downloads last month
- 48