Upload dataset_inventory.md
Browse files- dataset_inventory.md +7 -64
dataset_inventory.md
CHANGED
|
@@ -1,61 +1,6 @@
|
|
| 1 |
-
# Contract Drafting Assistant
|
| 2 |
|
| 3 |
-
##
|
| 4 |
-
|
| 5 |
-
### ACORD (theatticusproject/acord)
|
| 6 |
-
- **Type**: Clause retrieval benchmark
|
| 7 |
-
- **Size**: 114 queries, 126,662 query-clause pairs, 1-5 star relevance
|
| 8 |
-
- **Categories**: Limitation of Liability, Indemnification, Affirmative Covenants, Restrictive Covenants, Term & Termination, Governing Law, etc.
|
| 9 |
-
- **Use**: Clause retrieval index, training reranker, fallback position mining
|
| 10 |
-
- **License**: CC-BY-4.0
|
| 11 |
-
- **Status**: Available on HF Hub
|
| 12 |
-
|
| 13 |
-
### CUAD (theatticusproject/cuad-qa)
|
| 14 |
-
- **Type**: Extractive QA over contracts
|
| 15 |
-
- **Size**: 510 contracts, 13,000+ labels, 41 clause categories
|
| 16 |
-
- **Use**: Clause extraction, clause classification training data, verifier pass
|
| 17 |
-
- **License**: CC-BY-4.0
|
| 18 |
-
- **Status**: Available on HF Hub
|
| 19 |
-
|
| 20 |
-
### ContractNLI (kiddothe2b/contract-nli)
|
| 21 |
-
- **Type**: Natural Language Inference on contract clauses
|
| 22 |
-
- **Size**: ~10K examples (contractnli_a + contractnli_b)
|
| 23 |
-
- **Schema**: premise (clause), hypothesis (statement), label (contradiction/entailment/neutral)
|
| 24 |
-
- **Use**: Clause entailment verification, risk flag detection, internal consistency checking
|
| 25 |
-
- **License**: CC-BY-NC-SA-4.0
|
| 26 |
-
- **Status**: Available on HF Hub
|
| 27 |
-
|
| 28 |
-
## 2. General Legal Benchmarks
|
| 29 |
-
|
| 30 |
-
### LegalBench (nguha/legalbench)
|
| 31 |
-
- **Type**: Multi-task legal benchmark
|
| 32 |
-
- **Size**: 322 configs/subsets
|
| 33 |
-
- **Relevant subsets**:
|
| 34 |
-
- `consumer_contracts_qa`: contract + question + answer
|
| 35 |
-
- ContractNLI classification subsets (via MTEB)
|
| 36 |
-
- `cuad` QA subset
|
| 37 |
-
- **Use**: Evaluation rubric development, clause QA, drafting instruction following
|
| 38 |
-
- **License**: CC-BY-4.0
|
| 39 |
-
- **Status**: Available on HF Hub
|
| 40 |
-
|
| 41 |
-
## 3. Raw Contract Corpora
|
| 42 |
-
|
| 43 |
-
### Legal Contracts (albertvillanova/legal_contracts)
|
| 44 |
-
- **Type**: Raw contract text corpus
|
| 45 |
-
- **Size**: ~100K-1M contracts, 2GB
|
| 46 |
-
- **Schema**: text (full contract)
|
| 47 |
-
- **Use**: Clause extraction, language model pretraining/fine-tuning, retrieval corpus
|
| 48 |
-
- **Status**: Available on HF Hub
|
| 49 |
-
|
| 50 |
-
### Contract Clause Sample Dataset (asapworks/Contract_Clause_SampleDataset)
|
| 51 |
-
- **Type**: Clause-level labeled dataset
|
| 52 |
-
- **Size**: Small (~100 rows)
|
| 53 |
-
- **Schema**: file, clause_type, clause_text, ticker, filing_date, exhibit_type
|
| 54 |
-
- **Clause types**: payment_terms, dispute_resolution, warranty, assignment, duration, termination
|
| 55 |
-
- **Use**: Seed clause library, few-shot examples
|
| 56 |
-
- **Status**: Available on HF Hub
|
| 57 |
-
|
| 58 |
-
## 4. Selected Datasets for This System
|
| 59 |
|
| 60 |
| Purpose | Dataset | Split/Config |
|
| 61 |
|---------|---------|-------------|
|
|
@@ -63,12 +8,10 @@
|
|
| 63 |
| Clause retrieval benchmark | theatticusproject/acord | train/test |
|
| 64 |
| Clause extraction labels | theatticusproject/cuad-qa | train |
|
| 65 |
| Clause verification | kiddothe2b/contract-nli | contractnli_a |
|
| 66 |
-
| Evaluation
|
| 67 |
| Seed clause library | asapworks/Contract_Clause_SampleDataset | train |
|
| 68 |
|
| 69 |
-
##
|
| 70 |
-
|
| 71 |
-
-
|
| 72 |
-
-
|
| 73 |
-
- **No contract drafting instruction dataset** exists
|
| 74 |
-
- We will synthesize playbook rules, fallback positions, and drafting checklists from domain knowledge and ACORD/CUAD clause patterns.
|
|
|
|
| 1 |
+
# Contract Drafting Assistant Dataset Inventory
|
| 2 |
|
| 3 |
+
## Selected Datasets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
| Purpose | Dataset | Split/Config |
|
| 6 |
|---------|---------|-------------|
|
|
|
|
| 8 |
| Clause retrieval benchmark | theatticusproject/acord | train/test |
|
| 9 |
| Clause extraction labels | theatticusproject/cuad-qa | train |
|
| 10 |
| Clause verification | kiddothe2b/contract-nli | contractnli_a |
|
| 11 |
+
| Evaluation rubrics | nguha/legalbench | consumer_contracts_qa |
|
| 12 |
| Seed clause library | asapworks/Contract_Clause_SampleDataset | train |
|
| 13 |
|
| 14 |
+
## Gaps
|
| 15 |
+
- No dedicated clause generation dataset for SaaS/MSA/NDA/SOW/DPA
|
| 16 |
+
- No playbook/fallback position dataset exists publicly
|
| 17 |
+
- Will synthesize from domain knowledge + ACORD/CUAD patterns
|
|
|
|
|
|