dusensen's picture
Update README.md
5c05e08 verified
metadata
license: apache-2.0
language:
  - zh
metrics:
  - accuracy
tags:
  - text-generation-inference

image/png

Model Description

Developed by: SenSen

增加模型对于中文语义理解 增加中文文本转sql数据集

项目简介

微调模型: [llama-3-8b-sqlcorder] 项目地址:(https://github.com/dusens/llama-3-8B-Instruct-text2sql)

理想的推理和提示参数

Set temperature to 0, and do not do sampling.

Prompt

<|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