Skip to main content

ehrmonize is package to abstract medical concepts using large language models.

Project description

EHRmonize

Welcome to ehrmonize, a Python package to abstract medical concepts using large language models.

Citation

TBD

Rationale

Rationale

Corpus generation from EHRs provides the data that needs categorization, across different domains and tasks, which is then fed to ehrmonize to employs LLMs to categorize the entries into predefined classes.

Current supported tasks

Type Task
Free-text get_generic_name
get_generic_route
Multiclass classify_drug
Binary one_hot_drug_classification
Custom custom

Current supported models / engines / APIs

API model_id
OpenAI gpt-3.5-turbo
gpt-4
gpt-4o
AWS Bedrock anthropic.claude-instant-v1
meta.llama3-70b-instruct-v1:0
mistral.mixtral-8x7b-instruct-v0:1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ehrmonize-0.1.0a2.tar.gz (6.5 MB view hashes)

Uploaded Source

Built Distribution

ehrmonize-0.1.0a2-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page