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
Downloads last month
19
GGUF
Model size
8.03B params
Architecture
llama
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.