medplexity helps with evaluation of LLMs for medical use-cases.
Project description
Medplexity
Medplexity explorer • Frontend GitHub repository • Substack
Medplexity is a python library to help with evaluation of LLMs for medical applications.
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
Explorer
In addition to the library, we are also building a web app to explore the results of evaluations. The explorer is available at medplexityai.com. It's also open-sourced, see the frontend repository.
📜 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file medplexity-0.1.6.tar.gz.
File metadata
- Download URL: medplexity-0.1.6.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.10 Darwin/22.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92ac263cebb2f0c97de740b9041e19d661a56575519ec59a88cfd2c9cf4d4013
|
|
| MD5 |
0ee2048b7e9f90d7813d80e48fc43d26
|
|
| BLAKE2b-256 |
aab1ac5340611fe66502e5cd1c4643f904d1b0dbb6fa44196b9e24cfb17a1c82
|
File details
Details for the file medplexity-0.1.6-py3-none-any.whl.
File metadata
- Download URL: medplexity-0.1.6-py3-none-any.whl
- Upload date:
- Size: 47.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
814975636d5aaa0a39fc85322ba868c1e88f1abd0055366957164ce4efeb8bf3
|
|
| MD5 |
239028b115eb906c8c2babbf588be6db
|
|
| BLAKE2b-256 |
64377c84631d8840e4a0e5cb5525661885856ec3c3794f1b6c877e009255394e
|