-
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
Refusal Leaderboard Revamp #3636
base: main
Are you sure you want to change the base?
Conversation
Current changes:
Generally the implementation is a bit ugly because huggingface inference doesn't mesh well with current labeling process, but verified to work. 100 battles labeled in 35 sec on CPU. Because of not fully taking advantage of huggingface multiprocessing, 2x slower than previous labeling on same CPU :\ |
@derixu Could you fix the formatting check error? |
Overall, great PR! Very clean code. A few fixes and I will poke around more here and there and we should be good to go! |
@derixu Thanks for the new changes! I found a very weird bug: when I
The final output json file has missing category tags in some rows (such as missing "creative_writing"). I am using the first 200 rows of the Here is my config file:
Btw I add some small fixes:
|
I tried a couple testing, the classifier code should be good to go now. |
@infwinston This PR is good to go! Thanks for the great work, @derixu!! |
@CodingWithTim
Why are these changes needed?
Related issue number (if applicable)
Checks
format.sh
to lint the changes in this PR.