Adding CrowsPairs task for English and French #25
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.
I can successfully run the CrowS-Pairs (multilingual) tasks for the prompts we have written.
For
python main.py --model gpt2 --device cpu --tasks crows_pairs_englishI get:There are no official implementations of the CrowS-Pairs benchmark that work for autoregressive models like GPT-2.
For another implementation of CrowS-Pairs (older version though), I get a bias score of
0.593501326259947for GPT-2; So quite a bit higher---but that doesn't say too much since the operationalization of the measures is so different.For
python main.py --model gpt2 --device cpu --tasks crows_pairs_frenchI get: