Spider-1C / README.md
kavlab's picture
Update README.md
674dcdd verified
metadata
dataset_info:
  features:
    - name: schema
      dtype: string
    - name: query
      dtype: string
    - name: question
      dtype: string
  splits:
    - name: train
      num_bytes: 8626651
      num_examples: 4809
  download_size: 408992
  dataset_size: 8626651
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

Spider-1C: A Text-to-SQL Dataset Adapted for 1C:Enterprise

Spider-1C is a specialized adaptation of the well-known Spider dataset designed specifically for the task of Text-to-SQL within the context of 1C:Enterprise, a widely used ERP platform in Russia and other countries. This dataset facilitates the training and evaluation of large language models (LLMs) aimed at converting natural language queries (primarily in Russian) into 1C-specific SQL queries (1C Query Language).

Dataset Overview

Spider-1C extends the original Spider dataset by:

  • Translating and adapting questions into Russian.
  • Modifying database schemas to match the unique architecture and syntax of 1C:Enterprise.
  • Generating corresponding SQL queries that follow the 1C-specific SQL dialect.

The dataset aims to bridge the gap between general SQL query generation and the particularities of 1C's query language, addressing the unique challenges posed by 1C's data model and query syntax.

Data Format

Each record in Spider-1C contains:

  • Database schema: Customized to reflect 1C:Enterprise data storage patterns.
  • Natural language question: Presented in Russian.
  • SQL query: Written using the 1C Query Language syntax.

Dataset Statistics

  • Total examples: 4809

Intended Use

Spider-1C can be utilized for:

  • Fine-tuning LLMs for generating accurate and efficient SQL queries tailored to 1C:Enterprise.
  • Benchmarking model performance in real-world ERP querying scenarios.
  • Supporting research in specialized Text-to-SQL methodologies adapted to niche business platforms.

Citation

Please cite this dataset if you use it in your work:

@misc{spider1c2025,
  title={Spider-1C: A Text-to-SQL Dataset Adapted for 1C:Enterprise},
  author={kavlab},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/kavlab/Spider-1C}}
}

License

Spider-1C is released under the CC BY-SA 4.0 license. Please see the LICENSE file for details.