Replace To Black First Names

This test checks if the NLP model can handle input text if the input text has black first names.

alias_name: replace_to_black_firstnames

This data was curated using 2021 US census survey data. To apply this test appropriately in other contexts, please adapt the data dictionaries.

To test QA models, we need to use the model itself or other ML model for evaluation, which can make mistakes.

Config

replace_to_black_firstnames:
    min_pass_rate: 0.7
  • min_pass_rate (float): Minimum pass rate to pass the test.

Examples

Original Test Case
George tried his best today. Jamal tried his best today.