最新版
4.7GB
一款适用于Postgres、Redshift和Snowflake的文本到SQL生成的强大语言模型,其性能与最强大的通用前沿模型相当。
8B
2,156 Pulls 更新于3个月前
3个月前更新
3个月前
521e59c60977 · 3.2GB
模型
架构llama
·
参数8.03B
·
量化Q2_K
3.2GB
参数
{"stop":["<|eot_id|>","<|end_of_text|>"],"temperature":0}
78B
说明文件
许可证:cc-by-sa-4.0
一款适用于Postgres、Redshift和Snowflake的文本到SQL生成的强大语言模型,其性能与最强大的通用前沿模型相当。
模型描述
开发者:Defog 公司
模型类型:[文本到 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
评估
此模型在 SQL-Eval 上进行了评估,SQL-Eval 是 Defog 开发的基于 PostgreSQL 的评估框架,用于测试和校准模型的性能。
您可以在这里了解更多关于 SQLEval 背后方法的信息。
联系信息
在 Twitter 上联系我们 @defogdata,或通过电子邮件 [email protected] 联系。