File size: 7,430 Bytes
96e8f56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# 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-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`
- `library:datasets`
- `library:pandas`
- `library:mlcroissant`
- `library:polars`
- `doi:10.57967/hf/1448`
- `region:us`
- `finetuning`
- `legal`
- `french law`
- `droit français`
- `Code 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

```json
{
  "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

1. **Simplified Access:** Provide easy access to French legal texts
2. **Daily Updates:** Refresh data daily on all legal codes
3. **Training Sets:** Simplify production of training sets for language models
4. **Labeling Pipelines:** Facilitate development of labeling pipelines
5. **Open Source:** Support development of free, open-source language models
6. **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](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
```