|
Download utils/code_assurance/readme.md from Tonic/legml_code_repo_data: direct link, hf CLI and curl.
- Browser
- Download file 6.97 kB
-
https://huggingface.co/Tonic/legml_code_repo_data/resolve/main/utils/code_assurance/readme.md
- Command line
-
hf download hf://Tonic/legml_code_repo_data/utils/code_assurance/readme.md
-
curl -L -o readme.md https://huggingface.co/Tonic/legml_code_repo_data/resolve/main/utils/code_assurance/readme.md
6.97 kB
| # Code des Assurances Dataset | |
| ## Overview | |
| The **Code des Assurances** dataset is a comprehensive French legal text collection that provides researchers, professionals, and law students with simplified, up-to-date access to French insurance law texts. This dataset is part of a larger project aimed at facilitating the integration of French legal texts into Community and European projects. | |
| ## Dataset Information | |
| - **Dataset ID:** `louisbrulenaudet/code-assurances` | |
| - **Author:** louisbrulenaudet | |
| - **Downloads:** 2.6K+ | |
| - **Last Updated:** July 31, 2025 | |
| - **License:** Apache 2.0 | |
| - **DOI:** 10.57967/hf/1455 | |
| ## Description | |
| The objective of this project is to provide researchers, professionals and law students with simplified, up-to-date access to all French legal texts, enriched with a wealth of data to facilitate their integration into Community and European projects. | |
| The dataset contains the French Insurance Code (Code des Assurances) in a structured format, with data refreshed daily on all legal codes. It aims to simplify the production of training sets and labeling pipelines for the development of free, open-source language models. | |
| ## Technical Specifications | |
| ### Format | |
| - **Primary Format:** Parquet | |
| - **Modality:** Tabular and Text | |
| - **Language:** French (Monolingual) | |
| ### Size Category | |
| - **Size Range:** 1K < n < 10K entries | |
| ### Supported Libraries | |
| - datasets | |
| - pandas | |
| - mlcroissant | |
| - polars | |
| ### Dataset Structure | |
| The dataset contains structured legal articles with the following key fields: | |
| #### Core Fields | |
| - **`ref`** (string): Article reference (e.g., "Code des assurances, art. L100-1") | |
| - **`title_main`** (string): Main title (e.g., "Code des assurances") | |
| - **`texte`** (string): Full legal text content (average ~598 characters) | |
| - **`num`** (string): Article number (e.g., "L100-1") | |
| - **`id`** (string): Unique article identifier (e.g., "LEGIARTI000030437933") | |
| - **`cid`** (string): Content identifier (e.g., "LEGIARTI000006791829") | |
| #### Metadata Fields | |
| - **`type`** (string): Article type (e.g., "AUTONOME") | |
| - **`etat`** (string): Legal status (e.g., "VIGUEUR" - in force) | |
| - **`nature`** (string): Content nature (e.g., "Article") | |
| - **`origine`** (string): Source origin (e.g., "LEGI") | |
| - **`dateDebut`** (int64): Start date timestamp | |
| - **`dateFin`** (int64): End date timestamp | |
| #### HTML and Formatting | |
| - **`texteHtml`** (string): HTML-formatted legal text with links | |
| - **`nota`** (string): Additional notes (83.6% coverage) | |
| - **`notaHtml`** (string): HTML-formatted notes | |
| #### Structural Information | |
| - **`sectionParentId`** (string): Parent section identifier | |
| - **`sectionParentTitre`** (string): Parent section title (e.g., "Livre Ier : Le contrat") | |
| - **`fullSectionsTitre`** (string): Full section hierarchy path | |
| - **`ordre`** (int64): Display order within section | |
| #### Cross-References | |
| - **`lienCitations`** (list): Citations to other legal texts | |
| - **`lienAutres`** (list): Other legal references | |
| - **`versionPrecedente`** (string): Previous version reference | |
| - **`refInjection`** (string): Injection reference | |
| ### Typical Entry Example | |
| ```json | |
| { | |
| "ref": "Code des assurances, art. L100-1", | |
| "title_main": "Code des assurances", | |
| "texte": "Pour l'application du présent livre, les mots : \" la France \", les mots : \" en France \", et les mots : \" territoire de la République française \" désignent la France métropolitaine et les collectivités territoriales régies par l'article 73 de la Constitution ainsi que Saint-Barthélemy et Saint-Martin. Sauf pour les dispositions qui concernent la libre prestation de services et la liberté d'établissement, ces mots désignent également Saint-Pierre-et-Miquelon.", | |
| "num": "L100-1", | |
| "id": "LEGIARTI000030437933", | |
| "cid": "LEGIARTI000006791829", | |
| "type": "AUTONOME", | |
| "etat": "VIGUEUR", | |
| "nature": "Article", | |
| "origine": "LEGI", | |
| "dateDebut": 1451606400000, | |
| "dateFin": 32472144000000, | |
| "texteHtml": "<p>Pour l'application du présent livre, les mots : \" la France \", les mots : \" en France \", et les mots : \" territoire de la République française \" désignent la France métropolitaine et les collectivités territoriales régies par <a href=\"/affichTexteArticle.do?cidTexte=JORFTEXT000000571356&idArticle=LEGIARTI000006527580&dateTexte=&categorieLien=cid\" title=\"Constitution du 4 octobre 1958 - art. 73 (V)\">l'article 73</a> de la Constitution ainsi que Saint-Barthélemy et Saint-Martin. Sauf pour les dispositions qui concernent la libre prestation de services et la liberté d'établissement, ces mots désignent également Saint-Pierre-et-Miquelon.</p>", | |
| "sectionParentTitre": "Livre Ier : Le contrat", | |
| "fullSectionsTitre": "Partie législative > Livre Ier : Le contrat", | |
| "lienCitations": [ | |
| { | |
| "articleId": "LEGIARTI000006527580", | |
| "articleNum": "73", | |
| "natureText": "CONSTITUTION", | |
| "textTitle": "Constitution du 4 octobre 1958 - art. 73 (V)" | |
| } | |
| ], | |
| "lienAutres": [] | |
| } | |
| ``` | |
| ## Task Categories | |
| This dataset is suitable for various natural language processing tasks: | |
| - **Text Generation:** Generate legal text based on prompts | |
| - **Table Question Answering:** Answer questions about legal provisions | |
| - **Summarization:** Summarize legal texts and articles | |
| - **Text Retrieval:** Find relevant legal provisions | |
| - **Question Answering:** Answer legal questions | |
| - **Text Classification:** Categorize legal texts | |
| ## Tags and Categories | |
| ### Primary Tags | |
| - `legal` - Legal domain content | |
| - `french law` - French legal system | |
| - `droit français` - French law | |
| - `Code des assurances` - Insurance code | |
| ### Technical Tags | |
| - `task_categories:text-generation` | |
| - `task_categories:table-question-answering` | |
| - `task_categories:summarization` | |
| - `task_categories:text-retrieval` | |
| - `task_categories:question-answering` | |
| - `task_categories:text-classification` | |
| - `multilinguality:monolingual` | |
| - `source_datasets:original` | |
| - `language:fr` | |
| - `license:apache-2-0` | |
| - `size_categories:1K<n<10K` | |
| - `format:parquet` | |
| - `modality:tabular` | |
| - `modality:text` | |
| - `finetuning` | |
| ## Usage | |
| This dataset is particularly useful for: | |
| 1. **Legal AI Development:** Training language models for legal text understanding | |
| 2. **Legal Research:** Providing structured access to French insurance law | |
| 3. **Educational Purposes:** Supporting law students and legal professionals | |
| 4. **European Legal Integration:** Facilitating cross-border legal text processing | |
| ## Dataset Link | |
| **Hugging Face Hub:** [https://hf.co/datasets/louisbrulenaudet/code-assurances](https://hf.co/datasets/louisbrulenaudet/code-assurances) | |
| ## Related Datasets | |
| This dataset is part of a larger collection of French legal codes maintained by the same author, providing comprehensive coverage of French legal texts. | |
| ## Citation | |
| If you use this dataset in your research, please cite: | |
| ``` | |
| DOI: 10.57967/hf/1455 | |
| ``` | |
| ## License | |
| This dataset is released under the Apache 2.0 license, allowing for both commercial and non-commercial use with appropriate attribution. | |