Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compute scores after USMLE evaluation? #40

Closed
anonymoususerr1 opened this issue Aug 8, 2023 · 3 comments
Closed

How to compute scores after USMLE evaluation? #40

anonymoususerr1 opened this issue Aug 8, 2023 · 3 comments

Comments

@anonymoususerr1
Copy link

Hi, can you share the script to compute the scores after evaluating each model on USMLE data via eval_usmle.py?

@kbressem
Copy link
Owner

I used this notebook. JSON files were created with eval_usmle.py.

eval_usmle.ipynb.zip

@anonymoususerr1
Copy link
Author

anonymoususerr1 commented Aug 15, 2023

Using the notebook you shared, I always get nan as the scores for every model including your pretrained models such as medalpaca-lora-7b-8bit. Do you have any idea why this happens?

@kbressem
Copy link
Owner

Does the model fail on some scores and produces nan? I believe if one nan is in the list, numpy will return nan for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants