✨ v2024.09.10 🏛️
Browse files- README.md +58 -10
- cour_d_appel.jsonl.gz +2 -2
- cour_d_appel.parquet +2 -2
- cour_de_cassation.jsonl.gz +2 -2
- cour_de_cassation.parquet +2 -2
- tribunal_judiciaire.jsonl.gz +2 -2
- tribunal_judiciaire.parquet +2 -2
README.md
CHANGED
|
@@ -36,7 +36,14 @@ configs:
|
|
| 36 |
|
| 37 |
<p align="center"><img src="https://raw.githubusercontent.com/antoinejeannot/jurisprudence/artefacts/jurisprudence.svg" width=650></p>
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
# ✨ Jurisprudence, release v2024.09.10 🏛️
|
| 42 |
|
|
@@ -44,27 +51,68 @@ Jurisprudence is an open-source project that automates the collection and distri
|
|
| 44 |
|
| 45 |
- Fetch rulings from major French courts (Cour de Cassation, Cour d'Appel, Tribunal Judiciaire)
|
| 46 |
- Process and convert the data into easily accessible formats
|
| 47 |
-
- Publish & version updated datasets on Hugging Face every
|
| 48 |
|
| 49 |
-
|
| 50 |
-
Whether you're conducting legal research, developing AI models, or simply interested in French jurisprudence, this project
|
| 51 |
|
| 52 |
## 📊 Exported Data
|
| 53 |
|
| 54 |
| Jurisdiction | Jurisprudences | Oldest | Latest | Tokens | JSONL (gzipped) | Parquet |
|
| 55 |
|--------------|----------------|--------|--------|--------|-----------------|---------|
|
| 56 |
-
| Cour d'Appel |
|
| 57 |
-
| Cour de Cassation |
|
| 58 |
-
| Tribunal Judiciaire |
|
| 59 |
-
| **Total** | **
|
| 60 |
|
| 61 |
<i>Latest update date: 2024-09-10</i>
|
| 62 |
|
| 63 |
-
<i># Tokens are computed using GPT-4 tiktoken </i>
|
| 64 |
|
| 65 |
## 🤗 Hugging Face Dataset
|
| 66 |
|
| 67 |
-
The
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
## 🪪 Citing & Authors
|
| 70 |
|
|
|
|
| 36 |
|
| 37 |
<p align="center"><img src="https://raw.githubusercontent.com/antoinejeannot/jurisprudence/artefacts/jurisprudence.svg" width=650></p>
|
| 38 |
|
| 39 |
+
<p align="center">
|
| 40 |
+
<a href="https://huggingface.co/datasets/antoinejeannot/jurisprudence">
|
| 41 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/dataset-on-hf-md-dark.svg" alt="Dataset on HF">
|
| 42 |
+
</a>
|
| 43 |
+
<a href="https://github.com/antoinejeannot/jurisprudence">
|
| 44 |
+
<img src="https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white" alt="GitHub">
|
| 45 |
+
</a>
|
| 46 |
+
</p>
|
| 47 |
|
| 48 |
# ✨ Jurisprudence, release v2024.09.10 🏛️
|
| 49 |
|
|
|
|
| 51 |
|
| 52 |
- Fetch rulings from major French courts (Cour de Cassation, Cour d'Appel, Tribunal Judiciaire)
|
| 53 |
- Process and convert the data into easily accessible formats
|
| 54 |
+
- Publish & version updated datasets on Hugging Face every few days.
|
| 55 |
|
| 56 |
+
It aims to democratize access to legal information, enabling researchers, legal professionals and the public to easily access and analyze French court decisions.
|
| 57 |
+
Whether you're conducting legal research, developing AI models, or simply interested in French jurisprudence, this project might provide a valuable, open resource for exploring the French legal landscape.
|
| 58 |
|
| 59 |
## 📊 Exported Data
|
| 60 |
|
| 61 |
| Jurisdiction | Jurisprudences | Oldest | Latest | Tokens | JSONL (gzipped) | Parquet |
|
| 62 |
|--------------|----------------|--------|--------|--------|-----------------|---------|
|
| 63 |
+
| Cour d'Appel | 378,392 | 1996-03-25 | 2024-09-04 | 1,895,747,631 | [Download (1.66 GB)](https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/cour_d_appel.jsonl.gz?download=true) | [Download (2.77 GB)](https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/cour_d_appel.parquet?download=true) |
|
| 64 |
+
| Cour de Cassation | 534,258 | 1860-08-01 | 2024-09-10 | 1,103,935,111 | [Download (928.92 MB)](https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/cour_de_cassation.jsonl.gz?download=true) | [Download (1.57 GB)](https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/cour_de_cassation.parquet?download=true) |
|
| 65 |
+
| Tribunal Judiciaire | 58,986 | 2023-12-14 | 2024-08-13 | 211,665,028 | [Download (189.16 MB)](https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/tribunal_judiciaire.jsonl.gz?download=true) | [Download (315.38 MB)](https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/tribunal_judiciaire.parquet?download=true) |
|
| 66 |
+
| **Total** | **971,636** | **1860-08-01** | **2024-09-10** | **3,211,347,770** | **2.75 GB** | **4.65 GB** |
|
| 67 |
|
| 68 |
<i>Latest update date: 2024-09-10</i>
|
| 69 |
|
| 70 |
+
<i># Tokens are computed using GPT-4 tiktoken and the `text` column</i>
|
| 71 |
|
| 72 |
## 🤗 Hugging Face Dataset
|
| 73 |
|
| 74 |
+
The up-to-date jurisprudences dataset is available at: https://huggingface.co/datasets/antoinejeannot/jurisprudence in JSONL (gzipped) and parquet formats.
|
| 75 |
+
|
| 76 |
+
This allows you to easily fetch, query, process and index all jurisprudences in the blink of an eye!
|
| 77 |
+
|
| 78 |
+
### Usage Examples
|
| 79 |
+
#### HuggingFace Datasets
|
| 80 |
+
```python
|
| 81 |
+
# pip install datasets
|
| 82 |
+
import datasets
|
| 83 |
+
|
| 84 |
+
dataset = load_dataset("antoinejeannot/jurisprudence")
|
| 85 |
+
dataset.shape
|
| 86 |
+
>> {'tribunal_judiciaire': (58986, 33),
|
| 87 |
+
'cour_d_appel': (378392, 33),
|
| 88 |
+
'cour_de_cassation': (534258, 33)}
|
| 89 |
+
|
| 90 |
+
# alternatively, you can load each jurisdiction separately
|
| 91 |
+
cour_d_appel = load_dataset("antoinejeannot/jurisprudence", "cour_d_appel")
|
| 92 |
+
tribunal_judiciaire = load_dataset("antoinejeannot/jurisprudence", "tribunal_judiciaire")
|
| 93 |
+
cour_de_cassation = load_dataset("antoinejeannot/jurisprudence", "cour_de_cassation")
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
Leveraging datasets allows you to easily ingest data to [PyTorch](https://huggingface.co/docs/datasets/use_with_pytorch), [Tensorflow](https://huggingface.co/docs/datasets/use_with_tensorflow), [Jax](https://huggingface.co/docs/datasets/use_with_jax) etc.
|
| 97 |
+
|
| 98 |
+
#### BYOL: Bring Your Own Lib
|
| 99 |
+
For analysis, using polars, pandas or duckdb is quite common and also possible:
|
| 100 |
+
```python
|
| 101 |
+
url = "https://huggingface.co/datasets/antoinejeannot/jurisprudence/resolve/main/cour_de_cassation.parquet" # or tribunal_judiciaire.parquet, cour_d_appel.parquet
|
| 102 |
+
|
| 103 |
+
# pip install polars
|
| 104 |
+
import polars as pl
|
| 105 |
+
df = pl.scan_parquet(url)
|
| 106 |
+
|
| 107 |
+
# pip install pandas
|
| 108 |
+
import pandas as pd
|
| 109 |
+
df = pd.read_parquet(url)
|
| 110 |
+
|
| 111 |
+
# pip install duckdb
|
| 112 |
+
import duckdb
|
| 113 |
+
table = duckdb.read_parquet(url)
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
|
| 117 |
## 🪪 Citing & Authors
|
| 118 |
|
cour_d_appel.jsonl.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e978dde95d6d4fe448700463b9b1e5355a776aee6df8b67049f14a2a5e6c2095
|
| 3 |
+
size 1782063344
|
cour_d_appel.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9e06aec0659c78dacde1a5f634dc4509b9eb590c58a21876cb8e82abad3f38e
|
| 3 |
+
size 2976313141
|
cour_de_cassation.jsonl.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:708a247a80f9dedddbef781479ec91611115163b99f6ae42b2f7aa4f06b2a861
|
| 3 |
+
size 974041954
|
cour_de_cassation.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d797738e74f6bb0cd2022b840b747252c506492eddd316685613b2d26bbc8013
|
| 3 |
+
size 1689606885
|
tribunal_judiciaire.jsonl.gz
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef1623f1631ac2534bf5b8b04e70d5465275f906cf4663fbd8dd67e983ba49cc
|
| 3 |
+
size 198347186
|
tribunal_judiciaire.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a17a9279f63330fa1dbb2aef465d346114ba3eb516da0f6049ccc3d337bbd030
|
| 3 |
+
size 330695268
|