|
Download utils/code_commerce/readme.md from Tonic/legml_code_repo_data: direct link, hf CLI and curl.
- Browser
- Download file 7.43 kB
-
https://huggingface.co/Tonic/legml_code_repo_data/resolve/main/utils/code_commerce/readme.md
- Command line
-
hf download hf://Tonic/legml_code_repo_data/utils/code_commerce/readme.md
-
curl -L -o readme.md https://huggingface.co/Tonic/legml_code_repo_data/resolve/main/utils/code_commerce/readme.md
7.43 kB
Code de Commerce Dataset
Overview
The Code de Commerce dataset is a comprehensive French legal text dataset that provides researchers, professionals, and law students with simplified, up-to-date access to French commercial 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-commerce - Author: louisbrulenaudet
- License: Apache 2.0
- Language: French (fr)
- Format: Parquet
- Size Category: 1K<n<10K
- DOI: 10.57967/hf/1448
Key Features
Content
- Type: Non-instruct version of French Commercial Code
- Last Updated: July 30, 2025
- Coverage: Complete French Commercial Code (Code de commerce)
- Purpose: Legal research, professional practice, and law education
Technical Specifications
- Modality: Text and Tabular data
- Libraries Supported: datasets, pandas, mlcroissant, polars
- Region: US-based
- Downloads: 3.2K+
- Likes: 2
Use Cases
This dataset supports multiple natural language processing tasks:
- Text Generation: Generate legal text based on commercial law contexts
- Table Question Answering: Answer questions about commercial law data
- Summarization: Summarize complex legal texts
- Text Retrieval: Find relevant legal information
- Question Answering: Answer legal questions about commercial law
- Text Classification: Categorize legal documents and texts
Dataset Tags
task_categories:text-generationtask_categories:table-question-answeringtask_categories:summarizationtask_categories:text-retrievaltask_categories:question-answeringtask_categories:text-classificationmultilinguality:monolingualsource_datasets:originallanguage:frlicense:apache-2.0size_categories:1K<n<10Kformat:parquetmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsdoi:10.57967/hf/1448region:usfinetuninglegalfrench lawdroit françaisCode de commerce
Dataset Structure
The dataset contains French Commercial Code articles with the following key fields:
Core Fields
- ref: Article reference (e.g., "Code de commerce, art. L123-6")
- title_main: Main title (e.g., "Code de commerce")
- texte: Article text content (legal text)
- texteHtml: HTML formatted article text
- num: Article number (e.g., "L123-6")
- id: Unique article identifier (e.g., "LEGIARTI000051559571")
- cid: Content identifier (e.g., "LEGIARTI000006219292")
- type: Article type (e.g., "AUTONOME")
- etat: Legal status (e.g., "VIGUEUR" - in force)
- nature: Article nature (e.g., "Article")
Metadata Fields
- dateDebut: Start date (timestamp)
- dateFin: End date (timestamp)
- version_article: Article version (e.g., "6.0")
- ordre: Order/sequence number
- origine: Source origin (e.g., "LEGI")
- sectionParentId: Parent section ID
- sectionParentTitre: Parent section title
- fullSectionsTitre: Full section hierarchy title
Link Fields
- lienCitations: List of citation links to other legal texts
- lienAutres: List of other legal links
Example Row
{
"ref": "Code de commerce, art. L123-6",
"title_main": "Code de commerce",
"texte": "Le registre du commerce et des sociétés est tenu par le greffier de chaque tribunal de commerce, sous la surveillance du président ou d'un juge commis à cet effet, qui sont compétents pour toutes contestations entre l'assujetti et le greffier ainsi que pour tous recours exercés contre une décision, même implicite, du greffier du tribunal de commerce ou du tribunal judiciaire statuant en matière commerciale, prise en application de l'article L. 561-46-2 du code monétaire et financier.",
"dateDebut": 1746230400000,
"dateFin": 32472144000000,
"num": "L123-6",
"id": "LEGIARTI000051559571",
"cid": "LEGIARTI000006219292",
"type": "AUTONOME",
"etat": "VIGUEUR",
"nota": null,
"version_article": "6.0",
"ordre": 42949,
"conditionDiffere": null,
"infosComplementaires": null,
"surtitre": null,
"nature": "Article",
"texteHtml": "<p>Le registre du commerce et des sociétés est tenu par le greffier de chaque tribunal de commerce, sous la surveillance du président ou d'un juge commis à cet effet, qui sont compétents pour toutes contestations entre l'assujetti et le greffier ainsi que pour tous recours exercés contre une décision, même implicite, du greffier du tribunal de commerce ou du tribunal judiciaire statuant en matière commerciale, prise en application de l'article L. 561-46-2 du code monétaire et financier.</p>",
"dateFinExtension": 32472144000000,
"versionPrecedente": "LEGIARTI000044056256",
"refInjection": "MD-20250619_200300_541_BDJQUOT",
"idTexte": null,
"idTechInjection": "index_DATA_ARTICLE_LEGIARTI000051559571",
"origine": "LEGI",
"dateDebutExtension": 32472144000000,
"idEliAlias": null,
"cidTexte": null,
"sectionParentId": "LEGISCTA000006178752",
"multipleVersions": false,
"comporteLiensSP": false,
"sectionParentTitre": "Sous-section 2 : Tenue du registre et effets attachés à l'immatriculation.",
"infosRestructurationBranche": null,
"idEli": null,
"sectionParentCid": "LEGISCTA000006178752",
"numeroBo": null,
"infosRestructurationBrancheHtml": null,
"historique": null,
"infosComplementairesHtml": null,
"renvoi": null,
"fullSectionsTitre": "Partie législative > LIVRE Ier : Du commerce en général. > TITRE II : Des commerçants. > Chapitre III : Des obligations générales des commerçants. > Section 1 : Du registre du commerce et des sociétés > Sous-section 2 : Tenue du registre et effets attachés à l'immatriculation.",
"notaHtml": null,
"inap": null,
"lienCitations": [
{
"articleId": "LEGIARTI000006541148",
"articleNum": "4",
"dateDebut": 1107302400000,
"datePubli": 454809600000,
"linkOrientation": "cible",
"linkType": "CITATION",
"natureText": "DECRET",
"numTexte": "84-406",
"parentCid": null,
"textCid": "JORFTEXT000000882403",
"textTitle": "Décret n°84-406 du 30 mai 1984 - art. 4 (Ab)"
}
],
"lienAutres": []
}
Project Objectives
- Simplified Access: Provide easy access to French legal texts
- Daily Updates: Refresh data daily on all legal codes
- Training Sets: Simplify production of training sets for language models
- Labeling Pipelines: Facilitate development of labeling pipelines
- Open Source: Support development of free, open-source language models
- European Integration: Aid integration into Community and European projects
Usage
This dataset is particularly useful for:
- Legal AI research and development
- French law education and training
- Commercial law analysis and automation
- Legal document processing systems
- Multilingual legal AI applications
Links
- Hugging Face Dataset: https://hf.co/datasets/louisbrulenaudet/code-commerce
- Created: December 12, 2023
- Last Modified: July 31, 2025
Citation
If you use this dataset in your research, please cite:
DOI: 10.57967/hf/1448