Coder Social home page Coder Social logo

Comments (12)

yc930401 avatar yc930401 commented on May 20, 2024

image
sql都是瞎回答,咋回事?

from db-gpt.

csunny avatar csunny commented on May 20, 2024

auto_sql

from db-gpt.

csunny avatar csunny commented on May 20, 2024

嗯,原先的插件模式需要引入插件文件,我们最新的版本内置了这部分插件。 可以关注一下我们接下来的发布

from db-gpt.

CL-666666 avatar CL-666666 commented on May 20, 2024

怎么选择数据库呢,.env也写了ip和端口

from db-gpt.

yc930401 avatar yc930401 commented on May 20, 2024

啥时候发布一个成熟的呢?今天又跑了一下最新的模型,sql还是执行不了

from db-gpt.

yhjun1026 avatar yhjun1026 commented on May 20, 2024

当前版本已经内置了sql执行模式,只要模型服务正常SQL基本都可以正常执行的,线确定下你的版本,然后可以具体看下不能执行的原因,对话框是否有错误提示

from db-gpt.

yc930401 avatar yc930401 commented on May 20, 2024

image
执行不了sql呀,总是报错。今天刚刚又拉了代码。

from db-gpt.

yc930401 avatar yc930401 commented on May 20, 2024

自己debug了一下,问题多种多样的,这3个步骤任何一个步骤输出不正确都无法得到sql执行结果:

from db-gpt.

yc930401 avatar yc930401 commented on May 20, 2024

1.vicuna-13b模型不稳定,有时不能回答
2.只能生成简单的sql,复杂的sql大概率会出错,比如join表的时候经常join错key
3.对sql的解析有问题,因为模型的输出格式不一致。比如上图多了“system:”,有时候还会多“example:”,有时候有会在结尾的时候多了一些文字,导致无法解析。
对于3,在pilot/out_parser/base.py里多做一些过滤处理会好很多。

from db-gpt.

yhjun1026 avatar yhjun1026 commented on May 20, 2024

这周会对于模型推理输出做优化:1.简化输出所需要的结构. 2.对于非预期的输出结构做增强识别。 本来这里设计是模型的输出,还需要模型再进行一次优化的 但是耗时太长,这个版本会优化一些这里的稳定性和 识别率。 上周这里是第一个版本,暂时可用,测试时候稳定性还可以,就没花太多时间去处理。 等这周的版本吧

from db-gpt.

yc930401 avatar yc930401 commented on May 20, 2024

嗯呢,辛苦辛苦,做模型真是不容易。

from db-gpt.

WindFlowUpTheMoon avatar WindFlowUpTheMoon commented on May 20, 2024

怎么选择数据库呢,.env也写了ip和端口

config.py文件里面也要改

from db-gpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.