Tonic's picture
adds documentation for datasets
96e8f56
|
Raw History Blame Contribute Delete
6.56 kB

Code Monétaire et Financier Dataset

Overview

This dataset contains the French Code Monétaire et Financier (Monetary and Financial Code), providing researchers, professionals, and law students with simplified, up-to-date access to French legal texts. The dataset is enriched with comprehensive data to facilitate integration into Community and European projects.

Dataset Information

  • Dataset ID: louisbrulenaudet/code-monetaire-financier
  • Author: louisbrulenaudet
  • Downloads: 1.6K+
  • Last Updated: June 16, 2025
  • License: Apache 2.0
  • Language: French (fr)
  • Size Category: 1K-10K entries
  • Format: Parquet

Purpose and Objectives

The primary objective of this project is to provide:

  • Simplified access to French legal texts
  • Up-to-date legal information
  • Enriched data for research and development
  • Support for training sets and labeling pipelines
  • Free, open-source legal AI development

Key Features

Task Categories

This dataset supports multiple natural language processing tasks:

  • Text Generation: Generate legal text based on prompts
  • Table Question Answering: Answer questions about legal tables and structured data
  • Summarization: Create concise summaries of legal texts
  • Text Retrieval: Find relevant legal passages
  • Question Answering: Answer legal questions
  • Text Classification: Categorize legal documents

Technical Specifications

  • Modality: Text and Tabular data
  • Library Support: datasets, pandas, mlcroissant, polars
  • DOI: 10.57967/hf/1454
  • Region: US

Content

The dataset contains the complete French Code Monétaire et Financier, which covers:

  • Monetary regulations
  • Financial institutions
  • Banking operations
  • Financial markets
  • Payment systems
  • Financial supervision
  • Anti-money laundering provisions
  • Consumer protection in financial services

Dataset Structure

The dataset contains structured legal articles with the following key fields:

Core Fields

  • ref: Article reference (e.g., "L112-14")
  • title_main: Article title (e.g., "Code monétaire et financier")
  • texte: Full legal text content
  • texteHtml: HTML-formatted legal text with links
  • num: Article number (e.g., "L112-14")
  • id: Unique article identifier (e.g., "LEGIARTI000037285751")
  • cid: Content identifier
  • 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: Version number
  • ordre: Order/sequence number
  • origine: Source (e.g., "LEGI")
  • sectionParentId: Parent section ID
  • sectionParentTitre: Parent section title
  • fullSectionsTitre: Full section hierarchy

Link Fields

  • lienCitations: List of legal citations and references
  • lienAutres: List of other legal links

Example Row

{
  "ref": "L112-14",
  "title_main": "Code monétaire et financier",
  "texte": "I.-Les commerçants mentionnés à l'article L. 121-1 du code de commerce peuvent fournir des espèces à l'utilisateur de services de paiement dans le cadre d'une opération de paiement pour l'achat de biens ou de services. II.-Ce service ne peut être fourni qu'à la demande de l'utilisateur de services de paiement agissant à des fins non professionnelles formulée juste avant l'exécution d'une opération de paiement pour l'achat de biens ou de services et dans des conditions conformes à l'article L. 112-1 du code de la consommation...",
  "dateDebut": 1518537600000,
  "dateFin": 32472144000000,
  "num": "L112-14",
  "id": "LEGIARTI000037285751",
  "cid": "LEGIARTI000037285751",
  "type": "AUTONOME",
  "etat": "VIGUEUR",
  "nota": null,
  "version_article": "1.0",
  "ordre": 1073741823,
  "nature": "Article",
  "texteHtml": "<p>I.-Les commerçants mentionnés à l'article <a href=\"/affichCodeArticle.do?cidTexte=LEGITEXT000005634379&idArticle=LEGIARTI000006219167&dateTexte=&categorieLien=cid\">L. 121-1 </a>du code de commerce peuvent fournir des espèces à l'utilisateur de services de paiement dans le cadre d'une opération de paiement pour l'achat de biens ou de services...</p>",
  "origine": "LEGI",
  "sectionParentId": "LEGISCTA000037285749",
  "sectionParentTitre": "Section 6 : Fourniture d'espèces dans le cadre d'une opération de paiement",
  "fullSectionsTitre": "Partie législative > Livre Ier : La monnaie > Titre Ier : Dispositions générales > Chapitre II : Règles d'usage de la monnaie > Section 6 : Fourniture d'espèces dans le cadre d'une opération de paiement",
  "lienCitations": [
    {
      "articleId": "LEGIARTI000006219167",
      "articleNum": "L121-1",
      "linkType": "CITATION",
      "natureText": "CODE",
      "textCid": "LEGITEXT000005634379",
      "textTitle": "Code de commerce - art. L121-1"
    }
  ],
  "lienAutres": []
}

Usage

Access via Hugging Face

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("louisbrulenaudet/code-monetaire-financier")

Direct Link

Visit the dataset page: https://hf.co/datasets/louisbrulenaudet/code-monetaire-financier

Applications

This dataset is particularly useful for:

  • Legal AI Development: Training models for legal text understanding
  • Research: Academic studies in French law and financial regulations
  • Professional Use: Legal professionals seeking automated legal text processing
  • Education: Law students learning about French financial law
  • Compliance: Financial institutions needing to understand French regulations

Tags and Categories

  • Legal Domain: French law, droit français
  • Specialized: Code monétaire et financier
  • Multilingual: Monolingual French
  • Source: Original dataset
  • Use Case: Fine-tuning

Data Refresh

The dataset is refreshed daily on all legal codes to ensure:

  • Up-to-date legal information
  • Current regulatory compliance
  • Latest amendments and modifications
  • Accurate legal references

License and Usage

This dataset is released under the Apache 2.0 license, allowing for:

  • Commercial use
  • Modification and distribution
  • Integration into proprietary systems
  • Academic and research applications

For more detailed information, visit the Hugging Face dataset page.