Open dk25021999 opened 1 month ago
Hi, yes you'll have to set your own Perspective API key as an environment variable PERSPECTIVE_API_KEY
I will look into the other errors you're getting this week. Thanks for trying this out!
So an update here:
descriptor
field is the demographic marker included with each example in compatible datasets, and it allows for properly masking it before scoring (to avoid potentially biasing the classifier).
Hi! I am facing some issues with metrics. I am running gpt2 on BOLD dataset For Perspective metric we have to replace PERSPECTIVE_API_KEY with our own PERSPECTIVE API key right? For Regard, I am getting
KeyError: 'descriptor'
. I looked at the model prediction and it looks like this:There is no descriptor in meta.
For toxigen I get following error,
TypeError: robbie.metrics.hf.HFClassifierMetric() got multiple values for keyword argument 'config'