最新版本
4.7GB
这是一种胜任的文本到SQL生成的语言模型,适用于Postgres、Redshift和Snowflake,其能力与最顶尖的综合前沿模型相当。
8B
2,156 拉取 更新于 3 个月前
更新于3个月前
3个月前
9a0f58456fa5 · 5.6GB
模型
架构llama
·
参数8.03B
·
量化Q5_0
5.6GB
参数
{"stop":["<|eot_id|>","<|end_of_text|>"],"temperature":0}
78B
读我
许可证: cc-by-sa-4.0
这是一种胜任的文本到SQL生成的语言模型,适用于Postgres、Redshift和Snowflake,其能力与最顶尖的综合前沿模型相当。
模型描述
开发:Defog,Inc
模型类型:[文本转换为SQL]
许可证:[CC-by-SA-4.0]
从以下模型微调:[Meta-Llama-3-8B-Instruct]
演示页面
https://defog.ai/sqlcoder-demo/
理想提示和推理参数
将温度设置为0,不要进行采样。
提示
<|begin_of_text|><|start_header_id|>user<|end_header_id|>
Generate a SQL query to answer this question: `{user_question}`
{instructions}
DDL statements:
{create_table_statements}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
The following SQL query best answers the question `{user_question}`:
```sql
评估
此模型在Defog开发的SQL-Eval上进行了评估,SQL-Eval是一个基于PostgreSQL的评估框架,用于测试和校准模型能力。
您可以在以下链接中了解更多关于SQLEval背后的方法:这里。
联系
通过X在@defogdata或通过电子邮件至[email protected]联系我们