Skip to main content

medplexity helps with evaluation of LLMs for medical use-cases.

Project description

Medplexity

Release Documentation Status Discord License: MIT Open in Colab

Medplexity is a python library to help with evaluation of LLMs for medical applications.

medplexity-logo

It is designed to help with the following tasks:

  • Evaluating performance of LLMs on existing medical datasets and benchmarks. E.g. MedQA, PubMedQA, etc.
  • Comparing performance of different prompts, models, and architectures.
  • Exporting results of evaluation for visualisation and further analysis.

The goal is to help answer questions like "How much better would GPT-4 perform given a vector database to load certain resources?".

🔧 Quick install

pip install medplexity

📖 Documentation

Documentation can be found here.

Example

See our "Getting Started" notebook for a full example with MedMCQA dataset.

Contributions

Contributions are welcome! Check out the todos below, and feel free to open a pull request. Remember to install pre-commit to be compliant with our standards:

pre-commit install

Feel free to raise any questions on Discord

Todos

Some initial todos include:

  • Multiple-Choice datasets
    • Add MedMCQA dataset
    • Add PubMedQA dataset
    • Add MedQA dataset
    • Add MMLU dataset
  • Long-form question answering datasets
    • Add HealthSearchQA dataset
    • Add MedicationQA dataset
    • Add LiveQA dataset
  • Explore datasets for multi-modality, specifically vision tasks for GPT-4V.
  • LLMs
    • Wrapper for OpenAI
    • Wrapper for deepinfra
    • Wrapper for Google PALM
    • Wrapper for HuggingFace text-gen
  • Jupyter notebook quickstart
  • Example with langchain integration
  • Visualisation of results
    • Add export of evaluations
    • Frontend for exploring exported results

📜 License

Medplexity is licensed under the MIT License. See the LICENSE file for more details.

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

medplexity-0.1.4.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medplexity-0.1.4-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file medplexity-0.1.4.tar.gz.

File metadata

  • Download URL: medplexity-0.1.4.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Darwin/22.6.0

File hashes

Hashes for medplexity-0.1.4.tar.gz
Algorithm Hash digest
SHA256 fc9d4f6beab77825e345cff342ee437831c7aec63b6eb9a89da97fa9604f3725
MD5 fde309e4e4d1551927c80756512a5f74
BLAKE2b-256 3600783cfff9aff6186d988f51cd38b95aab9883ed883fc224129b34fbd3771c

See more details on using hashes here.

File details

Details for the file medplexity-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: medplexity-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.10 Darwin/22.6.0

File hashes

Hashes for medplexity-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d0640e35a5694cff103723ebe8adbf6a375dc97951fad72cee0379276d03e72a
MD5 9e6afea014a54a811744cc863e224852
BLAKE2b-256 4b9f148d36f765623d2bfa6b9a2afe7a0aa3014ae8ba8c90dbd19bced3cd8518

See more details on using hashes here.

Supported by

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