-
Notifications
You must be signed in to change notification settings - Fork 114
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
Unbiased model not returning identity labels #61
Comments
@SallyBean could you please provide a minimal reproducible example of the issue, e.g. a code snippet? |
@m13uz Sure, sorry about that! Thanks for your help in advance. :) !pip install detoxify input_text=["I hate women", "Men are idiots"] results = Detoxify('unbiased').predict(input_text) model = Detoxify('unbiased', device='cuda') import pandas as pd pd.DataFrame(results, index=input_text).round(5)) |
This is by design - the detoxify wrapper only returns the toxicity-related classes, since identity outputs are more intended for de-biasing during training. If you want them you could load the model checkpoint directly. |
Hello, how can I download and load the model checkpoint that returns identity labels? They would be very useful for my projects, thank you! |
Hello, is there any update over here? I couldn't find the checkpoints either |
Hello, that would be the
|
Thanks for the great repo!
I'm running the 'Quick prediction' code using the unbiased model, but there are no identity labels being returned - even with severe toxicity. I only get the toxicity labels.
Am I missing something?
Thanks again!
The text was updated successfully, but these errors were encountered: