Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,122 +1,122 @@
|
|
1 |
-
---
|
2 |
-
configs:
|
3 |
-
- config_name: default
|
4 |
-
data_files:
|
5 |
-
- split: code_rural_nouveau
|
6 |
-
path: data/code_rural_nouveau.parquet
|
7 |
-
- split: code_de_la_securite_sociale
|
8 |
-
path: data/code_de_la_securite_sociale.parquet
|
9 |
-
language:
|
10 |
-
- fr
|
11 |
-
task_categories:
|
12 |
-
- text-generation
|
13 |
-
- text2text-generation
|
14 |
-
tags:
|
15 |
-
- legal
|
16 |
-
- text-generation
|
17 |
-
- conditional-text-generation
|
18 |
-
size_categories:
|
19 |
-
- 1K<n<10K
|
20 |
-
license: cc-by-4.0
|
21 |
-
---
|
22 |
-
|
23 |
-
# Légifrance Legislative Text Dataset
|
24 |
-
|
25 |
-
## Dataset Description
|
26 |
-
|
27 |
-
The Légifrance Legislative Text Dataset is a structured collection of French legislative and regulatory texts extracted from the [Légifrance platform](https://www.legifrance.gouv.fr/).
|
28 |
-
This dataset provides machine-readable access to consolidated legal codes, with a particular focus on maintaining the integrity of French linguistic features while providing additional metadata and quality signals.
|
29 |
-
The data in this dataset comes from the Git repository [Git Tricoteuses — La loi sous git - Codes juridiques consolidés](https://git.tricoteuses.fr/tricoteuses/a_propos)
|
30 |
-
|
31 |
-
### Languages
|
32 |
-
|
33 |
-
French (fr)
|
34 |
-
|
35 |
-
## Intended Uses & Limitations
|
36 |
-
|
37 |
-
### Intended Uses
|
38 |
-
|
39 |
-
- Legal text analysis and research
|
40 |
-
- Natural Language Processing tasks on French legislative documents
|
41 |
-
- Legal information retrieval systems
|
42 |
-
- Analysis of French regulatory frameworks
|
43 |
-
|
44 |
-
### Limitations
|
45 |
-
|
46 |
-
- Limited to French legislative texts
|
47 |
-
- Dependent on the structure of source Légifrance documents
|
48 |
-
- Quality of text extraction depends on the consistency of source markdown formatting
|
49 |
-
|
50 |
-
## Dataset Structure
|
51 |
-
|
52 |
-
### Data Fields
|
53 |
-
|
54 |
-
- `source`: string - Source of the text (e.g., "Code de la sécurité sociale")
|
55 |
-
- `id`: string - Unique identifier of the legislative text
|
56 |
-
- `date_debut`: string - Corresponds to the effective date of the article.
|
57 |
-
- `date_fin`: string - Indicates the date on which the article will be deleted or replaced.
|
58 |
-
- `url`: string - Direct link to the text on Légifrance
|
59 |
-
- `extra`: JSON string containing:
|
60 |
-
- `État`: string - Status of the text
|
61 |
-
- `Type`: string - Type of legislative text
|
62 |
-
- `quality_signals`: JSON string containing:
|
63 |
-
- `character_count`: Total number of characters
|
64 |
-
- `word_count`: Total number of words
|
65 |
-
- `text`: string - The main content of the legislative text
|
66 |
-
|
67 |
-
**Remarks**:
|
68 |
-
|
69 |
-
- For an article currently in force, with no scheduled date for its repeal or replacement, `date_fin` is set to '2999-01-01'.
|
70 |
-
|
71 |
-
- For an article whose enforcement is deferred without a specific date, `date_debut` is then assigned '2222-02-22'.
|
72 |
-
|
73 |
-
- If `date_fin` is specified and differs from '2999-01-01', the reference URL for the upcoming version of the article is constructed as `id`/`date_fin`.
|
74 |
-
- For example, as of today, the article with `id` = 'LEGIARTI000046809143' and `date_fin` set to '2025-07-01' has its upcoming version accessible at the following URL:
|
75 |
-
<https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000046809143/2025-07-01>
|
76 |
-
|
77 |
-
### Data Splits
|
78 |
-
|
79 |
-
The dataset is provided as a single split without train/validation/test partitioning.
|
80 |
-
|
81 |
-
## Dataset Creation
|
82 |
-
|
83 |
-
### Source Data
|
84 |
-
|
85 |
-
The data comes from the availability of legal texts as open data, retrieved by the [tricoteuses-legifrance](https://git.tricoteuses.fr/logiciels/tricoteuses-legifrance) project.
|
86 |
-
|
87 |
-
The dataset is created from Markdown files containing French legislative texts, each with YAML front matter metadata.
|
88 |
-
|
89 |
-
## Considerations for Using the Data
|
90 |
-
|
91 |
-
### Social Impact
|
92 |
-
|
93 |
-
- Improves accessibility to French legislative texts
|
94 |
-
- Enables computational analysis of legal documents
|
95 |
-
- Supports transparency in legal research
|
96 |
-
|
97 |
-
### Legal Considerations
|
98 |
-
|
99 |
-
- Usage should comply with Légifrance terms of service
|
100 |
-
- Attribution should be provided to the original source
|
101 |
-
- Users should verify the current validity of legal texts
|
102 |
-
|
103 |
-
## Additional Information
|
104 |
-
|
105 |
-
### Dataset Curators
|
106 |
-
|
107 |
-
This dataset is programmatically curated from official Légifrance sources.
|
108 |
-
|
109 |
-
### Licensing Information
|
110 |
-
|
111 |
-
Users should refer to Légifrance's licensing terms for the original content.
|
112 |
-
|
113 |
-
### Citation Information
|
114 |
-
|
115 |
-
When using this dataset, please cite both:
|
116 |
-
|
117 |
-
1. The original Légifrance source
|
118 |
-
2. This dataset processing implementation
|
119 |
-
|
120 |
-
### Contributions
|
121 |
-
|
122 |
Contributions to improve the dataset processing can be made through the repository's issue tracker or pull requests.
|
|
|
1 |
+
---
|
2 |
+
configs:
|
3 |
+
- config_name: default
|
4 |
+
data_files:
|
5 |
+
- split: code_rural_nouveau
|
6 |
+
path: data/code_rural_nouveau.parquet
|
7 |
+
- split: code_de_la_securite_sociale
|
8 |
+
path: data/code_de_la_securite_sociale.parquet
|
9 |
+
language:
|
10 |
+
- fr
|
11 |
+
task_categories:
|
12 |
+
- text-generation
|
13 |
+
- text2text-generation
|
14 |
+
tags:
|
15 |
+
- legal
|
16 |
+
- text-generation
|
17 |
+
- conditional-text-generation
|
18 |
+
size_categories:
|
19 |
+
- 1K<n<10K
|
20 |
+
license: cc-by-4.0
|
21 |
+
---
|
22 |
+
|
23 |
+
# Légifrance Legislative Text Dataset
|
24 |
+
|
25 |
+
## Dataset Description
|
26 |
+
|
27 |
+
The Légifrance Legislative Text Dataset is a structured collection of French legislative and regulatory texts extracted from the [Légifrance platform](https://www.legifrance.gouv.fr/).
|
28 |
+
This dataset provides machine-readable access to consolidated legal codes, with a particular focus on maintaining the integrity of French linguistic features while providing additional metadata and quality signals.
|
29 |
+
The data in this dataset comes from the Git repository [Git Tricoteuses — La loi sous git - Codes juridiques consolidés](https://git.tricoteuses.fr/tricoteuses/a_propos)
|
30 |
+
|
31 |
+
### Languages
|
32 |
+
|
33 |
+
French (fr)
|
34 |
+
|
35 |
+
## Intended Uses & Limitations
|
36 |
+
|
37 |
+
### Intended Uses
|
38 |
+
|
39 |
+
- Legal text analysis and research
|
40 |
+
- Natural Language Processing tasks on French legislative documents
|
41 |
+
- Legal information retrieval systems
|
42 |
+
- Analysis of French regulatory frameworks
|
43 |
+
|
44 |
+
### Limitations
|
45 |
+
|
46 |
+
- Limited to French legislative texts
|
47 |
+
- Dependent on the structure of source Légifrance documents
|
48 |
+
- Quality of text extraction depends on the consistency of source markdown formatting
|
49 |
+
|
50 |
+
## Dataset Structure
|
51 |
+
|
52 |
+
### Data Fields
|
53 |
+
|
54 |
+
- `source`: string - Source of the text (e.g., "Code de la sécurité sociale")
|
55 |
+
- `id`: string - Unique identifier of the legislative text
|
56 |
+
- `date_debut`: string - Corresponds to the effective date of the article.
|
57 |
+
- `date_fin`: string - Indicates the date on which the article will be deleted or replaced.
|
58 |
+
- `url`: string - Direct link to the text on Légifrance
|
59 |
+
- `extra`: JSON string containing:
|
60 |
+
- `État`: string - Status of the text
|
61 |
+
- `Type`: string - Type of legislative text
|
62 |
+
- `quality_signals`: JSON string containing:
|
63 |
+
- `character_count`: Total number of characters
|
64 |
+
- `word_count`: Total number of words
|
65 |
+
- `text`: string - The main content of the legislative text
|
66 |
+
|
67 |
+
**Remarks**:
|
68 |
+
|
69 |
+
- For an article currently in force, with no scheduled date for its repeal or replacement, `date_fin` is set to '2999-01-01'.
|
70 |
+
|
71 |
+
- For an article whose enforcement is deferred without a specific date, `date_debut` is then assigned '2222-02-22'.
|
72 |
+
|
73 |
+
- If `date_fin` is specified and differs from '2999-01-01', the reference URL for the upcoming version of the article is constructed as `id`/`date_fin`.
|
74 |
+
- For example, as of today, the article with `id` = 'LEGIARTI000046809143' and `date_fin` set to '2025-07-01' has its upcoming version accessible at the following URL:
|
75 |
+
<https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000046809143/2025-07-01>
|
76 |
+
|
77 |
+
### Data Splits
|
78 |
+
|
79 |
+
The dataset is provided as a single split without train/validation/test partitioning.
|
80 |
+
|
81 |
+
## Dataset Creation
|
82 |
+
|
83 |
+
### Source Data
|
84 |
+
|
85 |
+
The data comes from the availability of legal texts as open data, retrieved by the [tricoteuses-legifrance](https://git.tricoteuses.fr/logiciels/tricoteuses-legifrance) project.
|
86 |
+
|
87 |
+
The dataset is created from Markdown files containing French legislative texts, each with YAML front matter metadata.
|
88 |
+
|
89 |
+
## Considerations for Using the Data
|
90 |
+
|
91 |
+
### Social Impact
|
92 |
+
|
93 |
+
- Improves accessibility to French legislative texts
|
94 |
+
- Enables computational analysis of legal documents
|
95 |
+
- Supports transparency in legal research
|
96 |
+
|
97 |
+
### Legal Considerations
|
98 |
+
|
99 |
+
- Usage should comply with Légifrance terms of service
|
100 |
+
- Attribution should be provided to the original source
|
101 |
+
- Users should verify the current validity of legal texts
|
102 |
+
|
103 |
+
## Additional Information
|
104 |
+
|
105 |
+
### Dataset Curators
|
106 |
+
|
107 |
+
This dataset is programmatically curated from official Légifrance sources.
|
108 |
+
|
109 |
+
### Licensing Information
|
110 |
+
|
111 |
+
Users should refer to Légifrance's licensing terms for the original content.
|
112 |
+
|
113 |
+
### Citation Information
|
114 |
+
|
115 |
+
When using this dataset, please cite both:
|
116 |
+
|
117 |
+
1. The original Légifrance source
|
118 |
+
2. This dataset processing implementation
|
119 |
+
|
120 |
+
### Contributions
|
121 |
+
|
122 |
Contributions to improve the dataset processing can be made through the repository's issue tracker or pull requests.
|