Aller au contenu
ModelPrésentéExterne
Télécharger

Trialmatchai Phi4 Reasoning LoRA

A LoRA adapter for microsoft/phi-4, fine-tuned for the chain-of-thought eligibility-reasoning stage of TrialMatchAI, an end-to-end system that matches patients to the clinical trials they are eligible for.

TypeOtherModèle de basemicrosoft/phi-4VersionRevision 9eaddafBClasse

Source du modèle

Type
Other
Taille du fichier
163 MB
Modèle de base
microsoft/phi-4
Version
vRevision 9eaddaf
Mis à jour
20 oct. 2026
Téléchargements
24
Source
Hugging Face

Description de la source

TrialMatchAI · phi-4 eligibility-reasoning adapter (LoRA)

A LoRA adapter for microsoft/phi-4, fine-tuned for the chain-of-thought eligibility-reasoning stage of TrialMatchAI, an end-to-end system that matches patients to the clinical trials they are eligible for.

Given a patient summary and a trial's eligibility criteria, the adapter reasons over each criterion and labels it (inclusions as Met / Not Met / Unclear / Irrelevant, exclusions as Violated / Not Violated), producing the per-criterion verdicts that drive the final trial ranking and the human-readable explanation of why a patient does or does not qualify.

Usage

TrialMatchAI loads this adapter automatically. Point the reasoning stage at it in config.json:

"cot_adapter_path": "majdabd33/trialmatchai-phi4-reasoning-lora"

It downloads on first use, so no separate model download step is needed. See the TrialMatchAI repository for the full pipeline and configuration.

Training data

Fine-tuned on FreedomIntelligence/medical-o1-reasoning-SFT, a medical chain-of-thought reasoning dataset.

Base model and license

This is an adapter of microsoft/phi-4 (MIT). For research and informational use only. It is not medical advice, not a medical device, and must not replace review by qualified healthcare professionals.

Citation

Abdallah, M. et al. TrialMatchAI: an end-to-end AI-powered clinical trial recommendation system to streamline patient-to-trial matching. Nature Communications 17, 4472 (2026). https://doi.org/10.1038/s41467-026-70509-w

Sources

1 source
Hugging FacePrincipalVersion 9eaddaf048c8d4266a291884ff89db1cf05b07fc
huggingface.co/majdabd33/trialmatchai-phi4-reasoning-lora/tree/9eaddaf048c8d4266a291884ff89db1cf05b07fc

Vérifié 20 oct.

Artefacts du modèle

1 artefact

adapter_model.safetensors

safetensors · 163 MB · SHA-256 f9665b6540cb…0b15 · Hugging Face

Download file

Extraits de sources

3 extraits

--- base_model: microsoft/phi-4 library_name: peft pipeline_tag: text-generation license: mit datasets: - FreedomIntelligence/medical-o1-reasoning-SFT tags: - clinical-trials - patient-matching - eligibility - lora - trialmatchai --- # TrialMatchAI · phi-4 eligibility-reasoning adapter (LoRA) A LoRA adapter for [microsoft/phi-4](https://huggingface.co/microsoft/phi-4), fine-tuned for the chain-of-thought **eligibility-reasoning** stage of [TrialMatchAI](https://github.com/cbib/TrialMatchAI), an end-to-end system that matches patients to the clinical trials they are eligible for. Given a patient summary and a trial's eligibility criteria, the adapter reasons over each criterion and labels it (inclusions as Met / Not Met / Unclear / Irrelevant, exclusions as Violated / Not Violated), producing the per-criterion verdicts that drive the final trial ranking and the human-readable explanation of why a patient does or does not qualify. ## Usage TrialMatchAI loads this adapter automatically. Point the reasoning stage at it in `config.json`: ```json "cot_adapter_path": "majdabd33/trialmatchai-phi4-reasoning-lora" ``` It downloads on first use, so no separate model download step is needed. See the [TrialMatchAI repository](https://github.com/cbib/TrialMatchAI) for the full pipeline and configuration. ## Training data Fine-tuned on [FreedomIntelligence/medical-o1-reasoning-SFT](https://huggingface.co/datasets/FreedomIntelligence/medical-o1-reasoning-SFT), a medical chain-of-thought reasoning dataset. ## Base model and license This is an adapter of `microsoft/phi-4` (MIT). For **research and informational use only**. It is not medical advice, not a medical device, and must not replace review by qualified healthcare professionals. ## Citation > Abdallah, M. *et al.* TrialMatchAI: an end-to-end AI-powered clinical trial recommendation system to > streamline patient-to-trial matching. *Nature Communications* **17**, 4472 (2026). > https://doi.org/10.1038/s41467-026-70509-w

Source context: 24 downloads · 1 likes · Pipeline text-generation · Library peft · Repo majdabd33/trialmatchai-phi4-reasoning-lora

Source context: 71 downloads · 0 likes · Pipeline text-generation · Library peft · Repo majdabd33/trialmatchai-phi4-reasoning-lora