Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-retrieval
|
| 5 |
+
language:
|
| 6 |
+
- de
|
| 7 |
+
- zh
|
| 8 |
+
tags:
|
| 9 |
+
- legal
|
| 10 |
+
- retrieval
|
| 11 |
+
- embedding
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# legal-retrieval-pairs-v2
|
| 17 |
+
|
| 18 |
+
Multilingual legal **retrieval training pairs** used to train `Hanno-Labs/dinghy-law-4b` (Qwen3-Embedding-4B base).
|
| 19 |
+
Additive coverage beyond [`legal-retrieval-pairs-v1`](https://huggingface.co/datasets/Hanno-Labs/legal-retrieval-pairs-v1)
|
| 20 |
+
(the 0.6B pairs). Each row: `{query, positive, source}`, nDCG-style query→relevant-passage.
|
| 21 |
+
|
| 22 |
+
## Sources (both MIT-licensed, leak-guarded against the MTEB(Law) eval corpora)
|
| 23 |
+
|
| 24 |
+
- **`de_legal`** (80k) — German court decisions from [SH108/german-court-decisions](https://huggingface.co/datasets/SH108/german-court-decisions)
|
| 25 |
+
(MIT; underlying decisions public-domain, §5 UrhG). Query→decision-passage pairs generated by a same-language grounded
|
| 26 |
+
query-gen rig (Gemma-4-QAT), grounding-verified. Targets the German LegalQuAD/GerDaLIR gap.
|
| 27 |
+
- **`zh_case`** (12.7k) — Chinese **case→case** precedent pairs from [china-ai-law-challenge/cail2018](https://huggingface.co/datasets/china-ai-law-challenge/cail2018)
|
| 28 |
+
(MIT). Within each criminal charge, each case is paired with its most fact-similar same-charge case (model2vec
|
| 29 |
+
nearest-neighbor). This is *case→relevant-precedent* shape (not QA), built for LeCaRDv2-style case retrieval. NOT
|
| 30 |
+
LeCaRDv2's corpus.
|
| 31 |
+
|
| 32 |
+
## License
|
| 33 |
+
|
| 34 |
+
MIT. Both upstream sources are MIT. Attribution to CAIL2018 and SH108/german-court-decisions appreciated.
|