Fine-Tuning-LLMs-for-Medical-Entity-Extraction

(β˜… 91)

Exploring the potential of fine-tuning Large Language Models (LLMs) like Llama2 and StableLM for medical entity extraction. This project focuses on adapting these models using PEFT, Adapter V2, and LoRA techniques to efficiently and accurately extract drug names and adverse side-effects from pharmaceutical texts

  • .gitignore
  • env.example
  • LICENSE.txt
  • README.md
  • requirements.txt

# Installation Guide

1. Get the code
git clone https://github.com/architkaila/Fine-Tuning-LLMs-for-Medical-Entity-Extraction

Downloads the entire project code from GitHub to your computer.

cd Fine-Tuning-LLMs-for-Medical-Entity-Extraction

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation