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

CGI Dataset - Code Général des Impôts

Overview

The CGI (Code Général des Impôts) dataset is a specialized French legal dataset focused on tax law and practice. This dataset contains the French General Tax Code as of December 11, 2023, and is designed for fine-tuning pre-trained language models to create efficient and accurate models for tax practice.

Dataset Information

  • Dataset ID: louisbrulenaudet/cgi
  • Author: louisbrulenaudet
  • Downloads: 517+
  • Last Updated: December 11, 2023
  • License: Apache 2.0
  • Language: French (fr)
  • Size Category: 1K-10K samples

Purpose and Applications

This dataset is specifically designed for:

  • Fine-tuning Language Models: Adapting pre-trained models for tax law domain expertise
  • Text Generation: Generating tax-related legal text and responses
  • Table Question Answering: Answering questions about tax codes and regulations
  • Summarization: Creating concise summaries of complex tax documents
  • Conversational AI: Building tax law chatbots and assistants

Key Features

  • Domain-Specific: Focused on French tax law and the Code Général des Impôts
  • Legal Expertise: Contains comprehensive tax code information
  • Multilingual Support: Primarily French language content
  • Structured Format: JSON format for easy processing
  • Research-Ready: Includes DOI and proper metadata for academic use

Technical Specifications

  • Format: JSON
  • Modality: Text
  • Task Categories:
    • Text Generation
    • Table Question Answering
    • Summarization
    • Conversational AI
  • Libraries Supported: datasets, pandas, mlcroissant, polars

Use Cases

  1. Legal AI Development: Building AI assistants for tax professionals
  2. Document Analysis: Processing and understanding tax-related documents
  3. Question Answering: Creating systems that can answer tax law questions
  4. Legal Research: Supporting tax law research and analysis
  5. Compliance Tools: Developing tools for tax compliance and regulation

Dataset Link

Hugging Face Hub: https://hf.co/datasets/louisbrulenaudet/cgi

Citation

If you use this dataset in your research, please cite:

DOI: 10.57967/hf/1438

Dataset Structure

The dataset contains structured legal text with the following typical row format:

Example Row

{
  "output": "Ne constituent pas un revenu imposable du bailleur les éléments de revenus relevant du présent I ayant fait l'objet, par le bailleur, d'un abandon ou d'une renonciation au profit de l'entreprise locataire entre le 15 avril 2020 et le 31 décembre 2021 dans les conditions et limites mentionnées au 9° du 1 de l'article 39. L'application du présent article ne fait pas obstacle à la déduction des charges correspondant aux éléments de revenus ayant fait l'objet d'un abandon ou d'une renonciation. Lorsque l'entreprise locataire est exploitée par un ascendant, un descendant ou un membre du foyer fiscal du bailleur, le bénéfice des dispositions du présent article est subordonné à la condition que le bailleur puisse justifier par tous moyens des difficultés de trésorerie de l'entreprise.",
  "input": "Code général des impôts, art. 14 B",
  "instruction": "Rédigez la totalité du texte de l'article en entier."
}

Field Descriptions

  • output: The complete legal text of the article (average length: ~584 characters)
  • input: The legal reference (e.g., "Code général des impôts, art. 14 B")
  • instruction: The task instruction for generating the complete article text

Tags

  • legal - Legal domain dataset
  • tax - Tax law focus
  • fiscal - Fiscal regulations
  • cgi - Code Général des Impôts
  • finetuning - Designed for model fine-tuning
  • llm - Large Language Model applications
  • french - French language content
  • legal-ai - Legal artificial intelligence applications