Spaces:
Running on Zero
Running on Zero
File size: 731 Bytes
143f318 3434a32 143f318 3434a32 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ---
title: fhirsql-reasoning-sql-adapters
emoji: 🏥
colorFrom: blue
colorTo: green
sdk: gradio
app_file: app.py
pinned: false
---
# 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.
|