Text Generation
PEFT
Safetensors
English
text-to-sql
clinical
fhir
healthcare
dora
lora
qlora
duckdb
Instructions to use adelelsayed1991/fhirsql-reasoning-sql-adapters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use adelelsayed1991/fhirsql-reasoning-sql-adapters with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
| This repository is dual-licensed by content type. | |
| ================================================================================ | |
| SOFTWARE -> Apache License 2.0 | |
| ================================================================================ | |
| Applies to: scripts/, *.ipynb (sft_train, rl_train, valuesets_ablation), | |
| schema/*.sql | |
| Copyright 2026 Adel Elsayed | |
| Licensed under the Apache License, Version 2.0 (the "License"); you may not use | |
| these files except in compliance with the License. You may obtain a copy of the | |
| License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software distributed | |
| under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
| CONDITIONS OF ANY KIND, either express or implied. See the License for the | |
| specific language governing permissions and limitations under the License. | |
| Full text: https://www.apache.org/licenses/LICENSE-2.0.txt | |
| Apache-2.0 is used for the code because Creative Commons licenses are not | |
| intended for software and provide no patent grant. | |
| ================================================================================ | |
| PAPER, DOCUMENTATION AND DATA -> Creative Commons Attribution 4.0 International | |
| ================================================================================ | |
| Applies to: PAPER.md, README.md, DESIGN.md, METHODOLOGY_LOG.md, MODEL_CARD.md, | |
| CITATIONS.md, data/, results/ | |
| Copyright 2026 Adel Elsayed | |
| You are free to share (copy and redistribute in any medium or format) and adapt | |
| (remix, transform, build upon) for any purpose, including commercially, provided | |
| you give appropriate credit, link to the license, and indicate if changes were | |
| made. | |
| Full legal text: https://creativecommons.org/licenses/by/4.0/legalcode | |
| ================================================================================ | |
| THIRD-PARTY | |
| ================================================================================ | |
| Third-party dependencies retain their own licenses: | |
| - Synthea (Apache-2.0) -- https://github.com/synthetichealth/synthea | |
| - Qwen2.5-Coder-14B-Instruct -- see the model's license on Hugging Face | |
| - DuckDB (MIT), Transformers (Apache-2.0), PEFT (Apache-2.0) -- see their | |
| respective repositories | |
| The corpus in data/ is generated entirely from Synthea synthetic patients and | |
| contains no real patient data. | |
| See CITATIONS.md for the full list of external works this project builds on. | |