Ontology highlight
ABSTRACT: Background
Considering the rapid expansion of hospital operations and the increasing digitisation of medical data, there is a pressing need for efficient and intelligent methods to process and analyse large-scale medical data.Methods
We integrated the QLoRA algorithm with ChatGLM2-6b, Llama2-7b, and Llama2-13b models, fine-tuning them on a local SQL dataset to optimise query performance. Prompt-Engineering with ChatGPT was further applied for effective SQL execution.Results
Original open-source models showed almost no SQL generation capability (overall EX ≈ 0 for ChatGLM2-6B and Llama2-7B; 0.04 for Llama2-13B). QLoRA fine-tuning substantially improved performance, with QLoRA-Llama2-13B achieving the best results among open-source models (overall EX 0.41 ± 0.030). Pr
SUBMITTER: Li J
PROVIDER: S-EPMC13730248 | biostudies-literature | 2026 Dec
REPOSITORIES: biostudies-literature