rjiang12 commited on
Commit
aed5344
·
1 Parent(s): 60a8122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -393,6 +393,8 @@ def startBiasTest(test_sentences_df, gr1, gr2, att1, att2, model_name, progress=
393
  score_templates_df = score_templates_df[['Stereotyped','Attribute','Groups','Template']]
394
  num_sentences = score_templates_df.shape[0]
395
 
 
 
396
  interpret_msg = bt_mgr._constructInterpretationMsg(bias_spec, num_sentences,
397
  model_name, bias_stats_dict, per_attrib_bias,
398
  score_templates_df
 
393
  score_templates_df = score_templates_df[['Stereotyped','Attribute','Groups','Template']]
394
  num_sentences = score_templates_df.shape[0]
395
 
396
+ print(f"score_templates_df: {score_templates_df}")
397
+
398
  interpret_msg = bt_mgr._constructInterpretationMsg(bias_spec, num_sentences,
399
  model_name, bias_stats_dict, per_attrib_bias,
400
  score_templates_df