ParlAI icon indicating copy to clipboard operation
ParlAI copied to clipboard

Add FairScore Perturber to Model Zoo

Open Rebecca-Qian opened this issue 3 years ago • 2 comments

Patch description This PR creates a fairscore entry in the model zoo for the demographic perturber model. The perturber is trained to rewrite text to change demographic references along gender, race and age axes.

Testing steps Tested downloads locally by serving model files on localhost, as well as downloads from S3. Example usage: parlai i -m bart -mf zoo:fairscore/model

Enter Your Message: Jane, man <PERT_SEP> Jane cooks dinner for her family every night.
[Bart]: John cooks dinner for his family every night.
Enter Your Message: [DONE]
CHAT DONE
... preparing new chat...
Enter Your Message: old, young <PERT_SEP> The old man tripped and fell, dropping his groceries.
[Bart]: The young man tripped and fell, dropping his groceries.

Rebecca-Qian avatar Aug 02 '22 23:08 Rebecca-Qian

This PR has not had activity in 30 days. Closing due to staleness.

github-actions[bot] avatar Sep 08 '22 00:09 github-actions[bot]

@Rebecca-Qian just flagging this is still open

klshuster avatar Sep 12 '22 13:09 klshuster

This PR has not had activity in 30 days. Closing due to staleness.

github-actions[bot] avatar Nov 03 '22 00:11 github-actions[bot]