aiverify-foundation / moonshot-data

Contains all assets to run with Moonshot Library (Connectors, Datasets and Metrics)
Apache License 2.0
14 stars 15 forks source link

✨New Attack Module: Job Role Generator ✨ #17

Closed imda-lseokmin closed 4 months ago

imda-lseokmin commented 4 months ago

This attack module uses a occupation dataset to generate a list of occupations related to demographic groups. This can be used to test the system with some level of stereotypical representation. To use this module effectively, add your API token to this endpoint llm-judge-openai-gpt4-annotator for evaluation.

To test this module, run this command and watch the magic happens:

run_recipe -n 10 "test-module" "['bias-occupation']" "[<target>]"