AI & ML

Fine-Tuning

The process of further training a pre-trained AI model on specific data to improve performance on a particular task.

In Depth

Fine-tuning is a transfer learning technique where a pre-trained model is additionally trained on a smaller, task-specific dataset to improve its performance on that particular task. For text-to-SQL applications, fine-tuning involves training the base LLM on pairs of natural language questions and their correct SQL translations for specific database schemas. This produces a model that better understands domain-specific terminology, schema conventions, and query patterns. Fine-tuning approaches range from full model fine-tuning (updating all parameters) to parameter-efficient methods like LoRA (Low-Rank Adaptation) that update only a small subset of parameters.

How AI for Database Helps

AI for Database continuously improves its models with anonymized query patterns to deliver better results for common database tasks.

Related Terms

Ready to try AI for Database?

Query your database in plain English. No SQL required. Start free today.