This repository contains the code and dataset used for the paper: Towards Adapting Open-Source Large Language Models for Expert-Level Clinical Note Generation
Install dependencies. We used conda environment.
conda env create -f environment.yml
Activate conda environment.
conda activate LLaMA-Clinic
Please refer to the data folder.
Modules and sample scripts for pretraining, SFT, and DPO can be found in the respective folders.