git clone https://github.com/eosphoros-ai/DB-GPT-Hub.git cd DB-GPT-Hub conda create -n dbgpt_hub python=3.10 conda activate dbgpt_hub 从源码安装 DB-GPT-NLU, cd src/dbgpt-hub-nlu pip install -e . 微调 # 假设后续使用 bge-large-zh-v1.5 作为基础模型 export base_model="/data/mode...
git clone https://github.com/eosphoros-ai/DB-GPT-Hub.git cd DB-GPT-Hub conda create -n dbgpt_hub python=3.10 conda activate dbgpt_hub pip install poetry poetry install 3.2 Quick Start Firstly, install dbgpt-hub with the following command pip install dbgpt-hub Then, set up the argume...
项目地址:DB-GPT-Hub/README.zh.md at main · eosphoros-ai/DB-GPT-Hub (github.com) 2. Text-to-SQL微调 基于大语言模型的SFT来提升Text-to-SQL的效果。 2.1 数据集 项目案例数据主要以Spider数据集为示例 : Spider: 一个跨域的复杂text2sql数据集,包含了10,181条自然语言问句、分布在200个独立数据库...
具体代码:https://github.com/eosphoros-ai/DB-GPT-Hub文章:https://arxiv.org/abs/2406.11434text2sql榜单:https://github.com/eosphoros-ai/Awesome-Text2SQL 1.DB-GPT-Hub简介 Text-to-SQL(简写为 Text2SQL,或者 NL2SQL)是一项将自然语言描述转化为对应的结构化查询语句(Structured Query Language...
昨天在使用DB-GPT-Hub时,按照GitHub上的使用方法发现存在一些坑,下面记录一下我安装的全过程。 1. 环境准备 git clone https://github.com/eosphoros-ai/DB-GPT-Hub.git cd DB-GPT-Hub conda create -n dbgpt_hub python=3.10 conda activate dbgpt_hub cd src/dbgpt-hub-sql pip install -e . 2. ...
官方链接:https://github.com/defog-ai/sqlcoder Defog组织提出的先进的Text-to-SQL的大模型,表现亮眼,效果优于GPT3.5、wizardcoder和starcoder等,仅次于GPT4。 将每个生成的问题分为6类。该表显示了每个模型正确回答问题的百分比,并按类别进行了细分。 4.modal_finetune_sql 项目基于LLaMa 2 7b模型进行Text-to...
paper:DB-GPT-Hub: Towards Open Benchmarking Text-to-SQL Empowered by Large Language Models,https://arxiv.org/abs/2406.11434 code:https://github.com/eosphoros-ai/DB-GPT-Hub text2sql benchmark:https://github.com/eosphoros-ai/Awesome-Text2SQL 本文转载自公众号...
text2sql榜单:https://github.com/eosphoros-ai/Awesome-Text2SQL 1.DB-GPT-Hub简介 Text-to-SQL(简写为 Text2SQL,或者 NL2SQL)是一项将自然语言描述转化为对应的结构化查询语句(Structured Query Language, 简写为 SQL)的技术,它能利用简洁清晰的自然语言描述,有效地辅助人们对海量的数据库进行查询,简化数据查...
geel/DB-GPT-HUB 代码Issues0Pull Requests0Wiki统计流水线 服务 标签 Tags Releases 功能基于仓库中的历史标记 建议使用类似 V1.0 的版本标记作为 Releases 点。 登录提示 该操作需登录 Gitee 帐号,请先登录后再操作。 北京奥思研工智能科技有限公司版权所有...
git clone https://github.com/eosphoros-ai/DB-GPT-Hub.git cd DB-GPT-Hub conda create -n dbgpt_hub python=3.10 conda activate dbgpt_hub pip install poetry poetry install 2.3.1 数据预处理DB-GPT-Hub使用的是信息匹配生成法进行数据准备,即结合表信息的 SQL + Repository 生成方式,这种方式结合了...