Files
ModelHub XC b351f95d3a 初始化项目,由ModelHub XC社区提供模型
Model: cahaj/Phi-3.5-mini-instruct-text2sql-GGUF
Source: Original Platform
2026-06-26 16:33:21 +08:00

763 B

base_model, language, license, tags, datasets
base_model language license tags datasets
microsoft/Phi-3.5-mini-instruct
en
apache-2.0
text-generation-inference
transformers
unsloth
llama
trl
ollama
text2sql
Clinton/Text-to-sql-v1

Phi3.5 text2sql

  • Developed by: cahaj
  • License: apache-2.0
  • Finetuned from model: microsoft/Phi-3.5-mini-instruct
  • Dataset: Clinton/Text-to-sql-v1
  • LoRa: 64/64

Training template

prompt = """<|system|>
You are a SQL database query generator. User provides you with sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables.<|end|>
<|user|>
{}
SQL table schema: {}<|end|>
<|assistant|>
{}<|end|>"""