Skip to content

dsgelab/MedicalConceptsExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedicalConceptsExplorer

Local app for the exploration of the closest medical concept given a specific text input.

Instructions:
download all the files in a directory on your computer, from the directory you now just need to:

  1. Create and activate a Python virtual environment:
python -m venv venv
source venv/bin/activate
  1. Install required libraries:
pip install --upgrade pip
pip install -r requirements.txt
  1. Initialize required components locally.

pre-calculate embeddings (GatorTron model as default)

python PreComputeEmbeddings.py

Otherwise pre-calculate embeddings from multiple or all available models, like this:

python PreComputeEmbeddings.py --model all
python PreComputeEmbeddings.py --model bridge gatortron

Note: if you have it, nmove and unzip the BRIDGE model (in ./models folder)

  1. Start the application:
streamlit run WebApp.py

Versions

Version 1

  • Embedding model: GatorTron, BRIDGE
  • Objective: Look for closest ICD-10-CM concept in the model embedding space

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages