Team Ai
Apppublic

adelelsayed1991/fhirsql-reasoning-sql-adapters

sourceHugging Faceupdated 16d agoView on Hugging Face
0likes
App README

fhirsql-reasoning-sql

Translates a natural-language hospital question into a single DuckDB SQL statement, using a DoRA/LoRA fine-tune of Qwen2.5-Coder-14B-Instruct (adapters: adelelsayed1991/fhirsql-reasoning-sql-adapters) against the fhirsql project's FHIR-derived schema.

Runs on ZeroGPU. Returns the literal string UNANSWERABLE when the question cannot be answered from the schema shown to the model.

Reproduces the exact system prompt and chat-template format used during training (see the fhirsql project's sft_train.ipynb) so generations here match the fine-tuning distribution.