Converting XQuery to SQL with Local LLMs: Do I Need Fine-Tuning or a Better Approach? [P]
Summary
A developer seeks guidance on converting XQuery to SQL using local LLMs without sufficient training data, exploring whether fine-tuning with ~110 samples or alternative approaches like prompt engineering and parsing would be more effective for an enterprise solution.
Similar Articles
I've seen a lot of folks ask "can local LLMs actually do anything useful?"
The author shares a personal workflow using a local Qwen model to automate database evaluation, email correspondence, and document generation via Google Docs and PDF.
SQuaD-SQL: Efficient Text-to-SQL with Small Language Models via LLM-Guided Knowledge Distillation
SQuaD-SQL uses LLM-guided knowledge distillation to train small language models for Text-to-SQL, achieving 86.9% execution accuracy on WikiSQL while offering faster inference and lower memory usage.
Find Before You Fine-Tune: A Diagnostic Study of Small LLMs for Cybersecurity QA
Presents FiT, a diagnostic framework to evaluate small LLMs on cybersecurity QA capabilities before fine-tuning, showing that fine-tuning can degrade vocabulary and parametric knowledge depending on the regime. Provides guidance to avoid unnecessary fine-tuning.
Testing Local LLMs in Practice: Code Generation, Quality vs. Speed
The author built a benchmark harness to evaluate local LLMs for autonomous Go code generation, focusing on log parser generation for SIEM pipelines, and published results comparing quality vs. speed.
Is using vLLM actually worth it if you aren't serving the model to other people?
A user discusses the trade-offs between using vLLM and llama.cpp for local, single-user inference on AMD hardware, questioning if vLLM's performance benefits justify the complexity in non-enterprise settings.