匿名用户2024年07月31日
32阅读
所属分类ai、gpt、Pytorch、transformer、nlp
开源地址https://modelscope.cn/models/tomatoModelScope/SQL-GPT
授权协议Apache License 2.0

作品详情

Model Card for Model ID

Model Details

Model Description

This model is a fine-tuned version based on deepseek, and after fine-tuning, it can achieve a score of 84.0 on the Spider dev leaderboard, significantly surpassing the original capabilities of the deepseek model. This model is sql-gen model, it need use result of schema linking model to get most related columns.

Data Format

{
    "data_name":"spider",
    "id":0,
    "db_id":"farm",
    "chat_rounds":[
        {
            "role":"system",
            "content":"You are a professional SQL engineer and you are writing SQL queries for data query tasks.\n",
            "chat_round_id":0
        },
        {
            "role":"human",
            "content":"Question | table1 : column1 , column2 | ... | tablen: columnn, columnn+1 | foreign_keys",
            "chat_round_id":1
        },
        {
            "role":"bot",
            "content":" sql",
            "chat_round_id":2
        }
    ]
}

Framework versions

  • PEFT 0.7.0
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论