Replace To Interracial Last Names

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

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

Examples

Original Test Case
Mr. Hope will be here soon. Mr. Khalid will be here soon.