code-transports / README.md
louisbrulenaudet's picture
Upload README.md with huggingface_hub
d65271d verified
metadata
license: apache-2.0
language:
  - fr
multilinguality:
  - monolingual
tags:
  - finetuning
  - legal
  - french law
  - droit français
  - Code des transports
source_datasets:
  - original
pretty_name: Code des transports
task_categories:
  - text-generation
  - table-question-answering
  - summarization
  - text-retrieval
  - question-answering
  - text-classification
size_categories:
  - 1K<n<10K

Code des transports, non-instruct (2024-11-04)

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.

Normally, the data is refreshed daily on all legal codes, and aims to simplify the production of training sets and labeling pipelines for the development of free, open-source language models based on open data accessible to all.

Concurrent reading of the LegalKit

Built with RAGoon

To use all the legal data published on LegalKit, you can use RAGoon:

pip3 install ragoon

Then, you can load multiple datasets using this code snippet:

# -*- coding: utf-8 -*-
from ragoon import load_datasets

req = [
    "louisbrulenaudet/code-artisanat",
    "louisbrulenaudet/code-action-sociale-familles",
    # ...
]

datasets_list = load_datasets(
    req=req,
    streaming=False
)

dataset = datasets.concatenate_datasets(
    datasets_list
)

Data Structure for Article Information

This section provides a detailed overview of the elements contained within the item dictionary. Each key represents a specific attribute of the legal article, with its associated value providing detailed information.

  1. Basic Information

    • ref (string): Reference - A reference to the article, combining the title_main and the article number (e.g., "Code Général des Impôts, art. 123").
    • texte (string): Text Content - The textual content of the article.
    • dateDebut (string): Start Date - The date when the article came into effect.
    • dateFin (string): End Date - The date when the article was terminated or superseded.
    • num (string): Article Number - The number assigned to the article.
    • id (string): Article ID - Unique identifier for the article.
    • cid (string): Chronical ID - Chronical identifier for the article.
    • type (string): Type - The type or classification of the document (e.g., "AUTONOME").
    • etat (string): Legal Status - The current legal status of the article (e.g., "MODIFIE_MORT_NE").
  2. Content and Notes

    • nota (string): Notes - Additional notes or remarks associated with the article.
    • version_article (string): Article Version - The version number of the article.
    • ordre (integer): Order Number - A numerical value used to sort articles within their parent section.
  3. Additional Metadata

    • conditionDiffere (string): Deferred Condition - Specific conditions related to collective agreements.
    • infosComplementaires (string): Additional Information - Extra information pertinent to the article.
    • surtitre (string): Subtitle - A subtitle or additional title information related to collective agreements.
    • nature (string): Nature - The nature or category of the document (e.g., "Article").
    • texteHtml (string): HTML Content - The article's content in HTML format.
  4. Versioning and Extensions

    • dateFinExtension (string): End Date of Extension - The end date if the article has an extension.
    • versionPrecedente (string): Previous Version - Identifier for the previous version of the article.
    • refInjection (string): Injection Reference - Technical reference to identify the date of injection.
    • idTexte (string): Text ID - Identifier for the legal text to which the article belongs.
    • idTechInjection (string): Technical Injection ID - Technical identifier for the injected element.
  5. Origin and Relationships

    • origine (string): Origin - The origin of the document (e.g., "LEGI").
    • dateDebutExtension (string): Start Date of Extension - The start date if the article has an extension.
    • idEliAlias (string): ELI Alias - Alias for the European Legislation Identifier (ELI).
    • cidTexte (string): Text Chronical ID - Chronical identifier of the text.
  6. Hierarchical Relationships

    • sectionParentId (string): Parent Section ID - Technical identifier of the parent section.
    • multipleVersions (boolean): Multiple Versions - Indicates if the article has multiple versions.
    • comporteLiensSP (boolean): Contains Public Service Links - Indicates if the article contains links to public services.
    • sectionParentTitre (string): Parent Section Title - Title of the parent section (e.g., "I : Revenu imposable").
    • infosRestructurationBranche (string): Branch Restructuring Information - Information about branch restructuring.
    • idEli (string): ELI ID - European Legislation Identifier (ELI) for the article.
    • sectionParentCid (string): Parent Section Chronical ID - Chronical identifier of the parent section.
  7. Additional Content and History

    • numeroBo (string): Official Bulletin Number - Number of the official bulletin where the article was published.
    • infosRestructurationBrancheHtml (string): Branch Restructuring Information (HTML) - Branch restructuring information in HTML format.
    • historique (string): History - Historical context or changes specific to collective agreements.
    • infosComplementairesHtml (string): Additional Information (HTML) - Additional information in HTML format.
    • renvoi (string): Reference - References to content within the article (e.g., "(1)").
    • fullSectionsTitre (string): Full Section Titles - Concatenation of all titles in the parent chain.
    • notaHtml (string): Notes (HTML) - Additional notes or remarks in HTML format.
    • inap (string): INAP - A placeholder for INAP-specific information.

Feedback

If you have any feedback, please reach out at louisbrulenaudet@icloud.com.