-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
GPT-4 Turbo as judge and polar plot script #2734
Open
lionelchg
wants to merge
12
commits into
lm-sys:main
Choose a base branch
from
lionelchg:feature/gpt4_turbo_judge
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks @lionelchg! This is very useful information. We'll explore whether gpt-4-turbo as judge works better. For this PR, we may want to keep llm-judge main directory minimal. Could you create a |
I have put all the config files and scripts inside a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
Since GPT-4-Turbo is the new standard that tops GPT-4, it should be added to the list of available judges. Doing so changes the actual scores of LLMs which are lowered:
The corresponding polar plots for GPT-4 and GPT-4-Turbo are as follows:
GPT-4 Judge:
![polar_plot](https://private-user-images.githubusercontent.com/60159831/285621569-9ed078e0-a766-464e-abe9-d6063d5d48e9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjU4OTYsIm5iZiI6MTczOTQ2NTU5NiwicGF0aCI6Ii82MDE1OTgzMS8yODU2MjE1NjktOWVkMDc4ZTAtYTc2Ni00NjRlLWFiZTktZDYwNjNkNWQ0OGU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE2NTMxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxMjliOGYzZjMwODdmMWZlYzEzZTEzZjU4YWM3NmM5ODBmMDAwZjY1OTFmN2ExMmQyMDk5MGQ0ZTIzM2VkZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZLWjv2Vj9E7BSTW6JbxKKjwoo7VdER3hdm4x76xFcGA)
GPT-4-Turbo Judge:
![polar_plot](https://private-user-images.githubusercontent.com/60159831/285675434-31edf7dc-19dc-4980-8101-c6dcade8b984.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjU4OTYsIm5iZiI6MTczOTQ2NTU5NiwicGF0aCI6Ii82MDE1OTgzMS8yODU2NzU0MzQtMzFlZGY3ZGMtMTlkYy00OTgwLTgxMDEtYzZkY2FkZThiOTg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE2NTMxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2YWVjNzNjN2ExMGQzY2UzNzdjMWI0NDUzZjdhZGNjZjlhMWNjOTgyOWU0ZTI2ZjNkNGQ2ZTkzYzY4NzY0MDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vAf_jEdMYxDrUyzXT891Db0SyqDGkyxYQTDnEj0Fxi8)
A script polar_plot.py has also been added with a json configuration file to easily produce the polar plots.
Checks
format.sh
to lint the changes in this PR.