9 Downloads Updated 2 months ago
ollama run anilkay/tsql_asistan
This model was fine-tuned on a custom T-SQL dataset using QLoRA. The goal was to adapt a Phi-4 Mini (base) model to better handle Microsoft SQL Server query generation tasks while keeping training lightweight and efficient.
The training setup was designed to improve the model’s ability to respond to schema-aware SQL prompts, generate readable T-SQL queries, and follow common query-writing patterns.
The fine-tuning dataset used instruction-response examples, typically including:
This format helps the model learn how to map structured database context and user instructions into SQL queries.