megagonlabs/magesql-spider-derived
收藏资源简介:
MageSQL 是一个基于 Spider 数据集(Yu 等人,2018)衍生和改编的文本到 SQL 数据集。该数据集由 Megagon Labs, Inc. 修改,包括合并了 Spider 的训练分割(train_spider 和 train_others),提取了数据库模式文本,映射了问题到标准 SQL,生成了问题嵌入,并训练了数据库路由分类器。所有文件遵循 CC BY-SA 4.0 许可,需注明原始作者和修改信息。数据集包含多个文件,如合并的训练数据、模式文本映射、问题-SQL 映射、预计算问题嵌入和训练好的路由模型,用于支持大型语言模型在文本到 SQL 应用中的多代理框架。
MageSQL is a Spider-derived dataset adapted from the Spider dataset (Yu et al., 2018) for text-to-SQL tasks. It is modified by Megagon Labs, Inc., including merging the Spider train splits (train_spider and train_others), extracting database schema text, mapping questions to gold SQL, generating question embeddings, and training a database-routing classifier. All files remain under CC BY-SA 4.0 license with attribution to the original authors and indication of modification. The dataset contains files such as merged training data, schema text mapping, question-SQL mapping, precomputed question embeddings, and a trained routing model, designed to support multi-agent frameworks for text-to-SQL applications with large language models.




