Replace To White Last Names

This test checks if the NLP model can handle input text if the input text has white last names.

alias_name: replace_to_white_lastnames

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_white_lastnames:
    min_pass_rate: 0.7
  • min_pass_rate (float): Minimum pass rate to pass the test.

Examples

Original Test Case
Ms. Yao will be here soon. Ms. Hope will be here soon.