Downloads · 30 days
20
1% of all-time downloads
biodatlab/ec-raft
ec-raft is a text generation model from biodatlab. Use it when you need the model to write or continue text. The card lists the license as llama3.1.
EC-RAFT is a fine-tuned Retrieval-Augmented Fine-Tuning (RAFT) model based on LLaMA-3.1-8B-Instruct architecture. It is designed to automatically generate structured, high-quality clinical trial eligibility criteria (…
Downloads · 30 days
20
1% of all-time downloads
All-time downloads
1.6K
Public
Repo size
32.1 GB
Likes
0
Public
Click a slice to open those files.
.bin16.1 GB · 50%
From the Hugging Face model README
EC-RAFT is a fine-tuned Retrieval-Augmented Fine-Tuning (RAFT) model based on LLaMA-3.1-8B-Instruct architecture.
It is designed to automatically generate structured, high-quality clinical trial eligibility criteria (EC) directly from trial titles and descriptions.
EC-RAFT integrates domain-specific retrieval with synthesized intermediate reasoning steps, enabling it to produce clinically relevant and contextually appropriate EC sets.
Evaluated on a held-out ClinicalTrials.gov test split:
| Metric | Score |
|---|---|
| BERTScore (semantic similarity) | 86.23 |
| Precision (LLM-guided evaluation) | 78.84% |
| Recall (LLM-guided evaluation) | 75.89% |
| Mean LLM-as-a-Judge Score (0–3) | 1.7150 |
| Mean Pair-BERTScore | 67.76 |
This model was developed using resources provided by:
We also acknowledge the contributions of the broader open-source community whose tools and prior works on RAFT, SciNCL, LoRA, LLaMA-3, and biomedical NLP made this project possible.