Pull down to go back
Converting XQuery to SQL with Local LLMs: Do I Need Fine-Tuning or a Better Approach? [P]

Converting XQuery to SQL with Local LLMs: Do I Need Fine-Tuning or a Better Approach? [P]

使用本地大語言模型將XQuery轉換為SQL:需要微調還是有更好的方法?[P]

​ I am trying to convert XQuery statements into SQL queries within an enterprise context, with the constraint that the solution must rely on locally run LLMs. A key challenge is the limited availability of training data (pairs of XQueries and their corresponding SQL queries), especially with enough diversity to cover different patterns. I initially experimented with a parsing-based approach. The idea was to extract elements such as table names, columns, and conditions from the XQuery (using