遇见数据集

Cognipeer/synthetic-text-to-sql-tr

收藏
Hugging Face2024-10-11 更新2025-04-26 收录
官方服务:

资源简介:

--- dataset_info: features: - name: id dtype: int32 - name: domain dtype: string - name: domain_description dtype: string - name: sql_complexity dtype: string - name: sql_complexity_description dtype: string - name: sql_task_type dtype: string - name: sql_task_type_description dtype: string - name: sql_prompt dtype: string - name: sql_context dtype: string - name: sql dtype: string - name: sql_explanation dtype: string - name: tr_prompt dtype: string splits: - name: train num_bytes: 110563267 num_examples: 100000 download_size: 39716519 dataset_size: 110563267 configs: - config_name: default data_files: - split: train path: data/train-* license: apache-2.0 task_categories: - question-answering - table-question-answering - text-generation language: - tr size_categories: - 100K<n<1M --- # Cognipeer/synthetic-text-to-sql-tr ## Overview **Cognipeer/synthetic-text-to-sql-tr** is a Turkish translation of the [gretelai/synthetic_text_to_sql](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql) dataset. gretelai/synthetic_text_to_sql is a rich dataset of high quality synthetic Text-to-SQL samples, designed and generated using Gretel Navigator, and released under Apache 2.0. - **Dataset Features**: The dataset includes 12 main feature: - **id (int32)** - **domain (string)** - **domain_description (string)** - **sql_complexity (string)** - **sql_complexity_description (string)** - **sql_task_type (string)** - **sql_task_type_description (string)** - **sql_prompt (string)** - **sql_context (string)** - **sql (string)** - **sql_explanation (string)** - **tr_prompt (string)** - **Language**: The dataset is in Turkish (tr). - **License**: This is translated dataset. The original dataset belongs to [gretelai/synthetic_text_to_sql](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql) ## Dataset Structure The dataset is divided into a single split: - **train**: - **Number of rows**: 100000 - **Total dataset size**: 397.1 MB - **Number of features**: 12 ### Loading the dataset ```python from datasets import load_dataset dataset = load_dataset("Cognipeer/synthetic-text-to-sql-tr") print(dataset['train'][0]) ``` ## Citation ``` @dataset{Cognipeer/synthetic-text-to-sql-tr, title = {Cognipeer/synthetic-text-to-sql-tr}, author = {Cognipeer}, month = {August}, year = {2024}, url = {https://huggingface.co/datasets/Cognipeer/synthetic-text-to-sql-tr} } ```

--- ## 数据集信息 features: - 特征项:编号(id),数据类型:32位整型(int32) - 特征项:领域(domain),数据类型:字符串型(string) - 特征项:领域描述(domain_description),数据类型:字符串型(string) - 特征项:结构化查询语言(SQL)复杂度(sql_complexity),数据类型:字符串型(string) - 特征项:SQL复杂度描述(sql_complexity_description),数据类型:字符串型(string) - 特征项:SQL任务类型(sql_task_type),数据类型:字符串型(string) - 特征项:SQL任务类型描述(sql_task_type_description),数据类型:字符串型(string) - 特征项:SQL提示词(sql_prompt),数据类型:字符串型(string) - 特征项:SQL上下文(sql_context),数据类型:字符串型(string) - 特征项:SQL代码(sql),数据类型:字符串型(string) - 特征项:SQL代码解释(sql_explanation),数据类型:字符串型(string) - 特征项:土耳其语提示词(tr_prompt),数据类型:字符串型(string) splits: - 拆分名称:训练集(train),占用字节数:110563267,样本数量:100000 下载总大小:39716519,数据集解压后占用大小:110563267 configs: - 配置名称:默认配置(default),数据文件: - 拆分:训练集(train),文件路径:data/train-* 许可证:Apache 2.0 任务类别: - 问答任务(question-answering) - 表格问答任务(table-question-answering) - 文本生成任务(text-generation) 语言:土耳其语(tr) 样本规模:10万 < 样本数 < 100万 --- # Cognipeer/合成文本转SQL-土耳其语版(synthetic-text-to-sql-tr) ## 概览 **Cognipeer/合成文本转SQL-土耳其语版** 是[gretelai/synthetic_text_to_sql](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql)数据集的土耳其语翻译版本。原数据集gretelai/synthetic_text_to_sql是一款高质量合成文本转SQL样本富集数据集,由Gretel Navigator设计并生成,采用Apache 2.0许可证开源。 - **数据集特征**:该数据集包含12项核心特征: - **编号(id)**:32位整型 - **领域(domain)**:字符串型 - **领域描述(domain_description)**:字符串型 - **SQL复杂度(sql_complexity)**:字符串型 - **SQL复杂度描述(sql_complexity_description)**:字符串型 - **SQL任务类型(sql_task_type)**:字符串型 - **SQL任务类型描述(sql_task_type_description)**:字符串型 - **SQL提示词(sql_prompt)**:字符串型 - **SQL上下文(sql_context)**:字符串型 - **SQL代码(sql)**:字符串型 - **SQL代码解释(sql_explanation)**:字符串型 - **土耳其语提示词(tr_prompt)**:字符串型 - **语言**:本数据集采用土耳其语(tr)编写。 - **许可证**:本为翻译衍生数据集,原始数据集版权归[gretelai/synthetic_text_to_sql](https://huggingface.co/datasets/gretelai/synthetic_text_to_sql)所有。 ## 数据集结构 该数据集仅包含一个拆分: - **训练集(train)**: - **样本行数**:100000 - **总数据集大小**:397.1 MB - **特征总数**:12 ### 数据集加载 python from datasets import load_dataset dataset = load_dataset("Cognipeer/synthetic-text-to-sql-tr") print(dataset['train'][0]) ## 引用格式 bibtex @dataset{Cognipeer/synthetic-text-to-sql-tr, title = {Cognipeer/synthetic-text-to-sql-tr}, author = {Cognipeer}, month = {August}, year = {2024}, url = {https://huggingface.co/datasets/Cognipeer/synthetic-text-to-sql-tr} }

提供机构:
Cognipeer
二维码
社区交流群
二维码
科研交流群
商业服务