Downloads · 30 days
0
williach31/mistral-7b-bhc-to-avs-lora
mistral-7b-bhc-to-avs-lora is a machine learning model from williach31. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This repository contains LoRA adapter weights for a Mistral-7B-Instruct model fine-tuned to generate patient-friendly After-Visit Summaries (AVS) from Brief Hospital Course (BHC) notes. The goal is to improve clarity…
Downloads · 30 days
0
Access
Public
Updated Dec 10, 2025
Repo size
83.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors83.9 MB · 100%
From the Hugging Face model README
This repository contains LoRA adapter weights for a Mistral-7B-Instruct model fine-tuned to generate patient-friendly After-Visit Summaries (AVS) from Brief Hospital Course (BHC) notes. The goal is to improve clarity and reduce hallucinations while producing accurate, accessible summaries for patients.
Only LoRA weights are included. Load them on top of the original Mistral base model.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModelForCausalLM
base = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3")
model = PeftModelForCausalLM.from_pretrained(base, "williach31/mistral-7b-bhc-to-avs-lora")
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3")
The adapter was trained on a dataset derived from Brief Hospital Course (BHC) notes paired with patient-facing summaries, using an instruction-style prompt template and PEFT-based LoRA fine-tuning.
Research and educational purposes in clinical NLP, particularly generating simplified summaries of medical notes. Not intended for clinical decision-making or deployment without human review.
This work builds on the datasets, methodology, and evaluation frameworks introduced by:
Hegselmann, S., Shen, Z., Gierse, F., Agrawal, M., Sontag, D., & Jiang, X. (2024).
A Data-Centric Approach To Generate Faithful and High Quality Patient Summaries with Large Language Models.
Proceedings of the 5th Conference on Health, Inference, and Learning (CHIL 2024).
PMLR 248:339–379.
https://proceedings.mlr.press/v248/hegselmann24a.html
Hegselmann, S., Shen, Z., Gierse, F., Agrawal, M., Sontag, D., & Jiang, X. (2024).
Medical Expert Annotations of Unsupported Facts in Doctor-Written and LLM-Generated Patient Summaries.
PhysioNet.
https://physionet.org/content/ann-pt-summ/1.0.0/
DOI: https://doi.org/10.13026/a66y-aa53
These works informed the dataset design, hallucination mitigation strategies, and evaluation approach used in fine-tuning this model.
Released under Apache 2.0, consistent with the Mistral base model and licensing constraints of the upstream research datasets.
If you use this model, please credit the original dataset creators above and this repository as appropriate.