cahaj's picture
Update README.md
f254203 verified
metadata
base_model: microsoft/Phi-3.5-mini-instruct
language:
  - en
license: apache-2.0
tags:
  - text-generation-inference
  - transformers
  - unsloth
  - llama
  - trl
  - ollama
  - text2sql
datasets:
  - 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|>"""